JavaScript Mobile App Detection: Detect of mobile app is installed and open it

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 131 All time: 366 This week: 5Up
Version License JavaScript version Categories
app-detector 1.0BSD License1.0Browser
Description Author

This object can detect of mobile app is installed and open it.

It can detect the current OS that the browser is running and try to determine if a given mobile application is installed in the device.

If the application is installed the object will try to open the application. Otherwise it will redirect the browser to the URL of the respective App store.

Currently it supports detecting applications on Android and iOS. For other systems the object will redirect the browser to a default URL.

Innovation Award
JavaScript Programming Innovation award nominee
July 2015
Number 4
Many sites provide a native mobile application to let their mobile users enjoy a better user experience.

If the users do not yet have the mobile application installed, it is useful to redirect the users to the respective app store, so they can install the application.

This object can detect if a given Android or iOS application is installed, and if not redirect the users to install the application from the app store.

Manuel Lemos
Picture of Arturs Sosins
  Performance   Level  
Name: Arturs Sosins <contact>
Classes: 51 packages by
Country: Latvia Latvia
Age: 35
All time rank: 1
Week rank: 6 Down1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 8x

Winner: 6x

  Files folder image Files  
File Role Description
Plain text file AppDetector.js Class Main class source
Accessible without login Plain text file example.html Example Example file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:131
This week:0
All time:366
This week:5Up