react-native-nfc-manager 3.16.2 → 3.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -12,6 +12,11 @@ Made with ❤️ by [whitedogg13](https://github.com/whitedogg13) and [revteltec
|
|
|
12
12
|
|
|
13
13
|
> Special thanks to [javix64](https://github.com/javix64) for restructuring the documentation!
|
|
14
14
|
|
|
15
|
+
## Version Notes
|
|
16
|
+
|
|
17
|
+
- `v3` only supports legacy architecture (latest release is `v3.16.2`).
|
|
18
|
+
- `v4` supports new architecture (still in beta, latest release is `v4.0.0-beta.3`) .
|
|
19
|
+
|
|
15
20
|
## Table of Contents
|
|
16
21
|
|
|
17
22
|
1. [Installation](#installation)
|
|
@@ -1151,9 +1151,9 @@ class NfcManager extends ReactContextBaseJavaModule implements ActivityEventList
|
|
|
1151
1151
|
try {
|
|
1152
1152
|
if (isReaderModeEnabled) {
|
|
1153
1153
|
if (enable) {
|
|
1154
|
-
Log.i(LOG_TAG, "enableReaderMode: "
|
|
1154
|
+
Log.i(LOG_TAG, String.format("enableReaderMode, flags: %d, delay: %d ms", readerModeFlags, readerModeDelay));
|
|
1155
1155
|
Bundle readerModeExtras = new Bundle();
|
|
1156
|
-
readerModeExtras.putInt(NfcAdapter.EXTRA_READER_PRESENCE_CHECK_DELAY, readerModeDelay
|
|
1156
|
+
readerModeExtras.putInt(NfcAdapter.EXTRA_READER_PRESENCE_CHECK_DELAY, readerModeDelay);
|
|
1157
1157
|
nfcAdapter.enableReaderMode(currentActivity, new NfcAdapter.ReaderCallback() {
|
|
1158
1158
|
@Override
|
|
1159
1159
|
public void onTagDiscovered(Tag tag) {
|
package/package.json
CHANGED