[NFC Plugin] 'New Tag scanned' on specific device

Forge Component
(3)
Published on 28 Aug (3 weeks ago) by Experts
3 votes
Published on 28 Aug (3 weeks ago) by Experts

Hi,

I'm building an Android mobile application using NFC Plugin to read a NFC tag.

In my device - Nokia 6 and Sony Xperia, it works.

But somehow, in Samsung device like Galaxy Tab, S10, and Note 9, when tag read by my app, it open another app - could be default app for NFC for Samsung - with name "New Tag Scanned" and my data in it.

Is there any way to change this behaviour in Samsung? Because i need to store the data read in my app for further need. Samsung Galaxy tab is the device that will be used for this app.

I've read some forum about this, this behaviour caused by intent filter after NFC tag read. And in this plugin i saw a js (phonegap-nfc.js) there's a method to handle this, but looks like it doesn't work.

All of device i used is in Android 9 Version.
I'm using NFC tools to inject data (text/plain) to my tag (NXP MIFARE Ultralight).


Thanks

Solution

The problem is solved.


I've add extensibility configurations to the plugin in my app too, not just in referenced web block plugin.
So, in start up of app, if needed (any pop up showing), grant all permission. 

Solution