| Last Updated: 02-Jun-15
Here I will show you how to open application using url schema from any link that comes in mail or text message. For this we need to install cordova plugin name "Custom-URL-scheme". You can check this plugin from below link.
To install this plugin you need to follow below instructions:
Where mycoolapp is the url schema for your app
Below are the methods to detect whether application is opened from url schema or not
This function have to be in timeout. It will automatically call when device ready event calls.
If you receive any url then you can get your data present in query string and you can do your code.
Server Side code to open app via Intent
In your HTML page add the below script in between script tags
where view?id=123 is the data received from url scheme