external-nfc-api icon indicating copy to clipboard operation
external-nfc-api copied to clipboard

How to use with React Native?

Open brampauwelyn opened this issue 6 years ago • 4 comments

Is it possible to access this API from React Native?

brampauwelyn avatar Nov 15 '19 08:11 brampauwelyn

I don't know. It works via Intents, so quite possible, with a custom adapter perhaps.

skjolber avatar Nov 15 '19 08:11 skjolber

@skjolber Thx! I will try some things out. When looking into the react-native docs, maybe this could work: https://facebook.github.io/react-native/docs/native-modules-android#sending-events-to-javascript

brampauwelyn avatar Nov 15 '19 09:11 brampauwelyn

Perhaps; if you get hold of an existing (built-in) NFC integration plugin, it is just 'more of the same'.

skjolber avatar Nov 15 '19 09:11 skjolber

@brampauwelyn did you get this to work? I am considering something similar.

halindrome avatar Aug 27 '21 16:08 halindrome