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?
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?
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);
};