mirror of
https://github.com/status-im/nfc-react-native.git
synced 2026-08-27 09:51:10 +00:00
Merge branch 'master' of https://github.com/Lube/nfc-react-native
This commit is contained in:
@@ -14,7 +14,7 @@ nfc-react-native is a react-native module for android to write/read Mifare Class
|
||||
|
||||
#### Android
|
||||
|
||||
1. Open up `android/app/src/main/java/[...]/MainActivity.java`
|
||||
1. Open up `android/app/src/main/java/[...]/MainApplication.java`
|
||||
- Add `import es.tiarg.nfcreactnative.NfcReactNativePackage;` to the imports at the top of the file
|
||||
- Add `new NfcReactNativePackage()` to the list returned by the `getPackages()` method
|
||||
2. Append the following lines to `android/settings.gradle`:
|
||||
@@ -84,4 +84,4 @@ Add a xml file in res folder with the following:
|
||||
Contributions are welcome :raised_hands:
|
||||
|
||||
## License
|
||||
This repository is distributed under [MIT license](https://github.com/Lube/nfc-react-native/blob/master/LICENSE)
|
||||
This repository is distributed under [MIT license](https://github.com/Lube/nfc-react-native/blob/master/LICENSE)
|
||||
|
||||
Reference in New Issue
Block a user