react-native-nfc-manager icon indicating copy to clipboard operation
react-native-nfc-manager copied to clipboard

How can I open my application and get tag information when app is in kill state or in background?

Open krushalikevadiya opened this issue 3 years ago • 2 comments

I need to open my iOS app when user scan NFC tag.Also i need tag id which is scanned by user. Library verison : "react-native-nfc-manager": "3.9.0" React native version : "react-native": "0.64.2",

krushalikevadiya avatar Jul 25 '22 12:07 krushalikevadiya

It's totally possible, and in my opinion the simplest way to achieve that is to use custom scheme & deep link with NDEF RTD_URI.

  • Define your custom scheme, and support deep linking for your app using this scheme.
  • Write your deep link with custom scheme into NFC tag with RTD_URI, which are supported by both Android / iOS

whitedogg13 avatar Aug 02 '22 14:08 whitedogg13

Thanks for your reply I'll try this.

krushalikevadiya avatar Aug 03 '22 04:08 krushalikevadiya

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Nov 02 '22 02:11 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Nov 18 '22 02:11 github-actions[bot]

Yes indeed it's the good way and it works well. But how to read tag data, in particulary tag id ?

gigeos avatar Jan 06 '23 10:01 gigeos