EddyVerbruggen / Custom-URL-scheme

:link: Launch your Cordova/PhoneGap app by a Custom URL scheme like mycoolapp://
1.03k stars 367 forks source link

how to open the app from an email app? #189

Open sunilsk opened 8 years ago

sunilsk commented 8 years ago

Suppose I want to send a customurl (ionicapp://) to the user to open the cordova app from his email app. Since the custom url doesnt start with http, the email app doesn't treat it as a valid URL. so email app wont able open my cordova app. Any solution? It is working if I put the custom URL (ionicapp://) in a webpage.

jskidd3 commented 8 years ago

Do you have access to a web server? You could point the URL to http://yourserver.com and then the server could redirect to ionicapp://.

sunilsk commented 8 years ago

okay @jskidd3 Thanks for the idea.

stefan-chiforiuc commented 8 years ago

Hi. I discovered recently if the URL (ionicapp://...) is too long, some mail app will just crash silently! The same URL was working correctly from a web browser, but from a mail app it don't. The solution was to make the URL smaller.