Saturday, December 29, 2018

Android : launch app from browser automatically if installed

Android launch app from browser automatically if installed

script type = “text/javascript”
    setTimeout function () { window.location = "https://itunes.apple.com/appdir"; }, 25);
    window.location = " myapp:// ";
    For IOS:              https://itunes.apple.com/appdir/  *
    For ANDROID:  https://play.google.com/store/apps/ *
/script

references:
http://findnerd.com/list/view/How-to-Detect-if-an-app-is-installed-in-iOS-or-Android-Using-Javascript-and-Deep-Linking/4287/

No comments:

Post a Comment