I've implemented a custom url scheme. It works fine if I use the scheme in an tag in html, but I want to send it in a text/plain SMS message. The scheme does not get parsed by any of the standard apps. Is there any way I can persuade apps to parse my new scheme to a link from plain text?
The scheme is "appname://go/something"
Phil
Overview. Custom URL schemes provide a way to reference resources inside your app. Users tapping a custom URL in an email, for example, launch your app in a specified context. Other apps can also trigger your app to launch with specific context data; for example, a photo library app might display a specified image.
SMS links are links that when clicked on a mobile device, prompt a user to send an SMS text message to a predefined number.
I've looked into this.
The only solution is to declare "android.permission.READ_SMS" in your manifest and register a receiver to process SMS messages as they come in and parse for your custom scheme.
There is a good example of that here
That being said, please also see the response by @hackbod to this question in which she makes it clear that custom scheme's should be avoided.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With