[BREAKGLASS] Append-only mirror of github.com/bluewallet/react-native-nfc-manager
Go to file
2019-11-05 21:51:24 +08:00
android android: .getTag() should contain NDEF message if possible 2019-10-28 21:13:38 +08:00
example add more examples 2019-11-05 20:58:46 +08:00
ios ios15693: getSystemInfoWithRequestFlag 2019-11-05 21:51:24 +08:00
ndef-lib ndef-util: handle UTF-8 encoded special characters 2019-10-28 20:13:15 +01:00
.babelrc jest integration, currently testing NdefParser only 2018-04-15 14:55:21 +08:00
.gitignore ignore ctags stuff 2018-04-15 15:07:09 +08:00
.travis.yml add .travis.yml 2018-04-15 15:03:52 +08:00
APIv1.md restructure README 2019-09-10 22:46:04 +08:00
APIv2.md restructure README 2019-09-10 22:46:04 +08:00
ByteParser.js changed the MifareClassic code to work with number[] instead of casted strings (because UInt8Array is not really supported, but it mimics it) 2018-10-05 21:49:08 +02:00
ByteParser.test.js changed the MifareClassic code to work with number[] instead of casted strings (because UInt8Array is not really supported, but it mimics it) 2018-10-05 21:49:08 +02:00
index.d.ts update type def for invalidateSessionWithErrorIOS 2019-10-24 23:05:20 +08:00
LICENSE initial commit 2017-06-21 11:37:21 +08:00
NativeNfcManager.js first commit for ios13, support requestTechnology 2019-08-18 18:28:10 +08:00
ndef.test.js intergrate the ndef-lib into NdefManager, update examples 2018-09-17 15:17:33 +08:00
NdefParser.js intergrate the ndef-lib into NdefManager, update examples 2018-09-17 15:17:33 +08:00
NdefParser.test.js jest integration, currently testing NdefParser only 2018-04-15 14:55:21 +08:00
NfcManager.js ios15693: getSystemInfoWithRequestFlag 2019-11-05 21:51:24 +08:00
package.json 2.0.1 2019-10-29 13:16:14 +08:00
react-native-nfc-manager.podspec Remade podspec 2018-04-14 09:35:16 +01:00
README.md 2.0.0 2019-10-28 21:16:42 +08:00

react-native-nfc-manager

npm version build issues

Bring NFC feature to React Native. Inspired by phonegap-nfc and react-native-ble-manager

Contributions are welcome!

Install

# RN >= 0.60
npm i --save react-native-nfc-manager
# RN < 0.60 (without the latest iOS 13 feature)
npm i --save react-native-nfc-manager@1.2.2

Setup

# RN >= 0.60, iOS
cd ios && pod install && cd ..
# ...then open ios/xxx.xcworkspace...
# RN >= 0.60, Android
# This module leverages autolink, so no extra steps are required

(see here for more info about autolink)

# RN < 0.60, both platforms
react-native link react-native-nfc-manager

Extra iOS setup is required

You will need to setup some capabilities / entitlement / plist stuff to enable NFC development on your device, this repo explains these requirements very well:

Example

Look into example for the features you need.

v2 examples

v1 examples

API Document