Open my App from a link sent via email

Asked

Viewed 726 times

6

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

  • Install this plugin. I believe it will help you https://github.com/EddyVerbruggen/Custom-URL-scheme

1 answer

0

You could use the Custom URL Scheme Cordova/Phonegap Plugin plugin, as cited by the colleague.

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

Using your url’s this way:

ionicapp://

And in the app to use the url:

var handleOpenURL = function(url) {
    alert("RECEIVED URL: " + url);
};
  • sorry ignorance, I found very interesting the question of our colleague, to do this the app must be in the cloud?

  • Speaking of app, it wouldn’t necessarily be cloud, because we have several Sos, android, Ios among others.

  • I found it interesting, but how the guy gets the link of something that is not available on a server for example. If anyone has any material on this to pass me on, I’m doing some research here too, but I didn’t find anything.

  • @i9oni9on search for deep link or deep linking, has a subject here explaining how it works for web and mobile devices.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.