I have created an application which is similar to the website. When a user visits the website on their iOS or Android device I want to output a link which lets them open or download the application.
For example when you visit Youtube on your mobile device a popup appears saying Open this page in "YouTube":
If you click this popup it opens the YouTube app on my phone.
I want to do this with my website and application. The app is created using Cordova. Does anyone know how to do this? I found this question which is similar, but it is for native iOS. I need a cross platform Cordova solution.