Comments (7)
The docs suggest that App Links are still a thing: https://developer.android.com/training/app-links. The only API levels mentioned there is 23 (which is the minimum we support). But there is perhaps a new verification system: https://developer.android.com/training/app-links/verify-android-applinks. That suggest that we need to host e.g. "https://camcops.org/.well-known/assetlinks.json". The challenge for that might be the HTTPS and the redirection involved to camcops.readthedocs.io. We could shift to using the readthedocs domain, I suppose.
from camcops.
It's possible also that we could use deep links instead where the scheme could be "camcops" instead of http. This is effectively what happens on iOS. The disadvantage of this is that email clients won't treat these as hyperlinks so they can't be followed. You can still copy and paste into a browser though.
from camcops.
It's possible also that we could use deep links instead where the scheme could be "camcops" instead of http. This is effectively what happens on iOS. The disadvantage of this is that email clients won't treat these as hyperlinks so they can't be followed. You can still copy and paste into a browser though.
Actually this is next to useless because browsers won't recognise non-http schemes even with copy and paste. The only way I could get this to work was using adb
from a connected Ubuntu machine:
./adb shell am start -a android.intent.action.VIEW -d custom://example.org/register/?label=Hello org.example.urlhandler/.CustomActivity
Experiments at https://github.com/martinburchell/qt-android-url-handler
I think the only way forward would be use the HTTP scheme and host the necessary files at camcops.org. The advantage of this is that we should be able to direct users to the app store if the app isn't already installed. Alternatively seek another way to make registration easier such as scanning a QR code.
from camcops.
OK. The slight concern I have about camcops.org is its nature as a redirection site. Currently, http://camcops.org/ redirects to http://camcops.readthedocs.io (it's a Network Solutions redirection domain) but https://camcops.org/ doesn't work. In general, even if that did, there might be some risks associated with a redirection, i.e. not all software might accept it (and it requires the software to accept the redirection and then the certificate associated with the second site name). Is there an option to go direct to the ReadTheDocs or GitHub site?
from camcops.
From https://developer.android.com/training/app-links/verify-android-applinks:
Declare the association between your website and your intent filters by hosting a Digital Asset Links JSON file at the following location:
https://domain.name/.well-known/assetlinks.json
We wouldn't be able to do that on GitHub or ReadTheDocs.
It wouldn't have to be camcops.org but we'd need a domain plus some hosting space and all of the costs that entails (or access to someone else's).
from camcops.
Yes, fiddly. Currently the routing DNS service is just one I pay for personally. Could we use GitHub Pages?
- https://pages.github.com/ (a site for the University, and can have multiple project pages);
- then with some fiddling the ".well-known" folder can be hosted: https://github.com/orgs/community/discussions/22227
from camcops.
Yes, fiddly. Currently the routing DNS service is just one I pay for personally. Could we use GitHub Pages?
* https://pages.github.com/ (a site for the University, and can have multiple project pages); * then with some fiddling the ".well-known" folder can be hosted: https://github.com/orgs/community/discussions/22227
Ah, of course so it would be on a subdomain. I'll investigate.
from camcops.
Related Issues (20)
- Reminders or notifications for tasks in single-user mode HOT 1
- Add the name of the task schedule to the email or PDF
- Potential client icon distortion under Linux, sometimes HOT 1
- qhelpgenerator tool is not created by the Qt build script on Linux
- Make clearer how to obtain verbose output upon network error HOT 1
- BoxLayoutHfw for PySide6 HOT 6
- In single user mode the upload icon disappears when the network activity log is closed HOT 1
- EQ-5D-5L approval process (?site-specific) HOT 1
- The forgotten password workflow can end up going round in circles
- Patient reports no text on the new password dialog iPhone 14 HOT 2
- Incorrect questionnaires are being displayed during task chains HOT 3
- Impossible to enter a correct password, having followed the forgotten password workflow HOT 1
- Possible memory leak in Qt's QScroller
- Different behaviour parsing policy syntax the first time under valgrind/memcheck HOT 2
- It is possible to enter zero height in the BMI task HOT 3
- 2 patients with clashing ID numbers in single user mode HOT 1
- StrictDoubleValidator rejecting certain valid values HOT 2
- Debian 10 has reached end of life
- Allow a patient to opt out of completing a task
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camcops.