react-native-nfc-manager 4.0.0-beta.1 → 4.0.0-beta.2

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.
@@ -798,7 +798,7 @@ class NfcManager extends NativeNfcManagerSpec implements ActivityEventListener,
798
798
  public void connect(ReadableArray techs, Callback callback){
799
799
  synchronized(this) {
800
800
  try {
801
- techRequest = new TagTechnologyRequest(techs.toArrayList(), callback);
801
+ techRequest = new TagTechnologyRequest(techs.toArrayList(), null);
802
802
  techRequest.connect(this.tag);
803
803
  callback.invoke(null, null);
804
804
  } catch (Exception ex) {
package/ios/NfcManager.h CHANGED
@@ -15,8 +15,7 @@
15
15
 
16
16
  #ifdef RCT_NEW_ARCH_ENABLED
17
17
  #import <NativeNfcManagerSpec/NativeNfcManagerSpec.h>
18
- // @interface NfcManager : NSObject <NativeNfcManagerSpec, NFCNDEFReaderSessionDelegate, NFCTagReaderSessionDelegate> {
19
- @interface NfcManager : RCTEventEmitter <NativeNfcManagerSpec, RCTBridgeModule, NFCNDEFReaderSessionDelegate, NFCTagReaderSessionDelegate> {
18
+ @interface NfcManager : RCTEventEmitter <NativeNfcManagerSpec, NFCNDEFReaderSessionDelegate, NFCTagReaderSessionDelegate> {
20
19
 
21
20
  }
22
21
  #else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-nfc-manager",
3
- "version": "4.0.0-beta.1",
3
+ "version": "4.0.0-beta.2",
4
4
  "description": "A NFC module for react native.",
5
5
  "main": "src/index.js",
6
6
  "repository": {
@@ -50,6 +50,7 @@
50
50
  "@babel/plugin-transform-runtime": "^7.12.10",
51
51
  "@babel/preset-env": "^7.12.11",
52
52
  "@babel/preset-react": "^7.12.10",
53
+ "@expo/config-plugins": "~10.0.0",
53
54
  "@react-native-community/eslint-config": "^3.2.0",
54
55
  "@release-it/conventional-changelog": "^8.0.1",
55
56
  "dotenv-cli": "^7.4.2",
@@ -60,11 +61,10 @@
60
61
  "react": "^16.13.1",
61
62
  "react-native": "^0.63.0",
62
63
  "release-it": "^17.5.0",
63
- "typescript": "^4.1.3",
64
- "@expo/config-plugins": "~9.0.0"
64
+ "typescript": "^4.1.3"
65
65
  },
66
66
  "peerDependencies": {
67
- "@expo/config-plugins": "8 || 9"
67
+ "@expo/config-plugins": "9 || 10"
68
68
  },
69
69
  "peerDependenciesMeta": {
70
70
  "@expo/config-plugins": {