I\'m trying to set up a way to receive a url from another app. Like, you are in browser, click share, and send the link to another app (my app). I found this cordova plugin, and
I've been working on something similar. I was able to get the url by using this plugin by Initsogar
The plugin can be found here https://github.com/Initsogar/cordova-webintent
You can get the incoming url as follows:
var incomingURL
window.plugins.webintent.getExtra(window.plugins.webintent.EXTRA_TEXT,
function(url) {
incomingURL = url
console.log(incomingURL);
}, function() {
incomingURL = false;
}
);
Hope this helps, and good luck on the app! Ionic is awesome :)
For general help and recent developments I want to add an answer to this.
There is a cordova plugin called Custom URL scheme. For the documentation of plugin is solid I don't add any further information.