0

My requirement is to check if iOS application is installed on iOS device or not by JavaScript.

Is there any way to check this?

Dharman
  • 30,962
  • 25
  • 85
  • 135
Sagar Joshi
  • 574
  • 3
  • 10
  • 25

2 Answers2

0

You can do this if the app you want to check against has a custom URL scheme.

This answer even provides a javascript function: https://stackoverflow.com/a/7886755/1691231

Here is a list of custom URL schemes of popular apps: http://wiki.akosma.com/IPhone_URL_Schemes#Registering_your_own_URL_schemes

And here is how you can implement a custom URL scheme if you are the developer of the app: http://mobiledevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html

Community
  • 1
  • 1
FD_
  • 12,947
  • 4
  • 35
  • 62
0

Just to excute this script : ideviceinstaller -u "udid" -l will be list out all bundlesID in your phone then compare it with your app "bundleId", if matched App had installed