So there is this app already in production, now I need to create a webpage which will detect if the app is present. If so, it will launch the app, if not, it will redirect to the app store.
The problem is, since the app is already in production, I cannot make any changes to the manifest.xml to add any extra intents.
How do I go about this using javascript?
I have checked the manifest.xml file of the app. This is an excerpt from there if it is helpful :
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="@string/CFBundleURLSchemes" />
</intent-filter>