e-imaxina / cordova-plugin-deeplinks

Cordova plugin to support Universal/Deep Links for iOS/Android.
MIT License
33 stars 68 forks source link

Not working with NFC Android #25

Open loama opened 4 years ago

loama commented 4 years ago

Hi, I've got the plugin to work perfectly in iOS with both links and NFC but in Android the NFC wasn't working.

I added in AndroidManifest

<intent-filter android:autoVerify="true" android:label="DeepLinkNFC">     
    <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
    <category android:name="android.intent.category.DEFAULT"/>
    <category android:name="android.intent.category.BROWSABLE"/>
    <data android:host="mylink.com" android:scheme="https"/>
 </intent-filter>

And now the app opens with NFC but the action is not being read.

Do you know how I can fix that?