I am trying to open an instant application through NFC.
I have something like below in my AndroidManifest.xml
<intent-filter android:autoVerify="true"> <action android:name="android.intent.action.VIEW" /> <action android:name="android.nfc.action.NDEF_DISCOVERED" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="https" /> <data android:scheme="http" /> <data android:host="example-refresh.herokuapp.com" /> </intent-filter>
When you go to https://example-refresh.herokuapp.com (for example, a link to a link) from a link, click so that the application instantly loads correctly. When you open this link from the nfc tag, the browser simply loads. I also tried to open nfc AAR ( https://developer.android.com/guide/topics/connectivity/nfc/nfc.html#aar ), this leads to the opening of the link in the playback store when the application is not installed and the application opens correctly from nfc when it is installed. If I have something else on nfc, so it shows uncompromising options, then I can choose the instant application for the browser option, but I would like it to be the default for the instant application.
Is there something I am missing to get the nfc tag to download an instant application? I also tried using a branch, but no luck.
Ryan c
source share