Giter Site home page Giter Site logo

fjguipen / react-native-nfc-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from revtel/react-native-nfc-manager

0.0 1.0 0.0 373 KB

React Native NFC module for Android & iOS

License: Apache License 2.0

JavaScript 50.44% Java 38.10% Objective-C 11.19% Ruby 0.28%

react-native-nfc-manager's Introduction

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!

iOS 13 development is ongoing!

Ndef writing, get UID, send mifare command, and APDU exchange... Lots features come into iOS13!

Currently this work will be published in npm beta channel.

Install

# RN >= 0.60, XCode 11 (for all fancy iOS 13 core nfc features!)
npm i --save react-native-nfc-manager@beta
# RN >= 0.60, XCode 10
npm i --save [email protected]
# RN < 0.60, XCode 10
npm i --save [email protected]

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

react-native-nfc-manager's People

Contributors

april-ayres avatar changtimwu avatar christianchown avatar christophebelpaire avatar clickclickonsal avatar guck111 avatar hblab-nghianh avatar jlkalberer avatar matzielab avatar mharj avatar nedroden avatar nicholasbertazzon avatar ntbosscher avatar pheromonez avatar poison avatar robwalkerco avatar rrrasti avatar spedy avatar symous avatar troelsh avatar whitedogg13 avatar zamfi99 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.