Philip Pearl
Philip Pearl

Reputation: 1533

Custom scheme in SMS text

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

Upvotes: 8

Views: 3945

Answers (3)

user2786743
user2786743

Reputation: 21

you can use tapstream / deeplink.me to do that.. it will also redirect the user to the relevant app store if he doesn't have the app installed. That's what we are doing in paybox and it works great

Upvotes: 2

Philip Pearl
Philip Pearl

Reputation: 1533

I think the answer is that this isn't possible. We ended up using an http: link instead

Upvotes: 1

Jerry Brady
Jerry Brady

Reputation: 3079

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.

Upvotes: 3

Related Questions