paco
paco copied to clipboard
Mobile Apps: Make experiment links open in PACO and ask to join (download JSON)
Mobile Apps: Make experiment links open in PACO and ask to join (download JSON).
For android: The current Android Manifest uses a custom mime type to do that. (for ExperimentDetailActivity)
Should we just make it work with a custom URI scheme, like pacoapp://experiment/12345678 (reference http://stackoverflow.com/questions/18102528/android-how-to-create-custom-url-scheme-with-the-given-format-myapp-http )? (It will require slight changes to the intent-filter to handle the custom URI scheme)
For iOS: This will make the Custom URI scheme compatible with iOS devices ( http://www.idev101.com/code/Objective-C/custom_url_schemes.html ), and in turn a very easily shareable URI.
This mime type is used by the system for other things, so we should add another intent filter to handle the new uri scheme that we want to capture, especially if it will allow us to match the iOS scheme.
On Oct 5, 2015, at 12:00 AM, Marios Hadjimichael [email protected] wrote:
The current Android Manifest uses a custom mime type to do that. (for ExperimentDetailActivity)
Should we just make it work with a custom URI scheme, like pacoapp://experiment/12345678 (reference http://stackoverflow.com/questions/18102528/android-how-to-create-custom-url-scheme-with-the-given-format-myapp-http )? (It will require slight changes to the intent-filter to handle the custom URI scheme)
This will make the Custom URI scheme compatible with iOS devices ( http://www.idev101.com/code/Objective-C/custom_url_schemes.html ), and in turn a very easily shareable URI.
— Reply to this email directly or view it on GitHub.
Does this custom URI scheme work in Android currently? How am I supposed to deliver the URI to other participants? The link does not seem to work in chrome on android.