lube / nfc-react-native

69 stars 35 forks source link

Does this support Activity launch using NFC? #7

Open aditya2592 opened 7 years ago

aditya2592 commented 7 years ago

Hi,

Does this library support auto-launching an app on detection of a given NFC tag as mentioned in the Android documentation ?

lube commented 7 years ago

Nope, is there any interest for adding something like this?

joostmakaay commented 7 years ago

@aditya2592 @Lube isn't this being done by the AndroidManifest? use the ACTION_TECH_DISCOVERED action to get this working.

aditya2592 commented 7 years ago

Hi. Yes I saw that its being done in the manifest file. Tested it out with a few phones also and it works. However is there anyway to do this directly though react? Or we need to edit the manifest file only?

lube commented 7 years ago

You need to edit the manifest afaik.