Forum Xamarin.Android

Open app with custom scheme URI by email link

TopherJohnsonTopherJohnson USMember ✭✭
edited July 2016 in Xamarin.Android

I would like to include a link in an email that will open the app when users click on it.

I've come across a few problems while testing in the emulator:

1) Gmail and possibly outlook strip custom scheme URL links, so even including the link in the email is a problem
2) I tried a work around, but including a link to a website that redirects the user to the custom scheme URI, but the browser displays an error when I do this:

Webpage not available

The webpage at customscheme://openapp/?data=data could not be loaded because:

net::ERR_UNKNOWN_URL_SCHEME

--

If I click a [a] link on a webpage to the custom scheme, it will open the app. It's only the redirect that seems to be not working. Is there another action I need to filter the intent by? Is there a good way to do this?

Tagged:
Sign In or Register to comment.