Open my App from a link sent via email

5

I'm trying to make the user, by clicking on the link received via email, be redirected to a specific view of my app. It would be something like: 'myapp: // app-custom-path'. I'm using Ionic. Could someone give me a light?

    
asked by anonymous 29.04.2016 / 21:06

1 answer

0

You could use the Custom URL scheme Cordova / PhoneGap Plugin plugin as mentioned by your colleague.

cordova plugin add cordova-plugin-customurlscheme --variable URL_SCHEME=ionicapp

Using your url's this way:

ionicapp://

And in the application to use the url:

var handleOpenURL = function(url) {
    alert("RECEIVED URL: " + url);
};
    
30.11.2016 / 12:32