/Users/vallemar/workspaces/myAwesomeApp/node_modules/react-native-nfc-manager/android/src/main/java/community/revteltech/nfc/NfcManager.java:17: error: cannot find symbol
import com.facebook.react.modules.core.RCTNativeAppEventEmitter;
^
symbol: class RCTNativeAppEventEmitter
location: package com.facebook.react.modules.core
/Users/vallemar/workspaces/myAwesomeApp/node_modules/react-native-nfc-manager/android/src/main/java/community/revteltech/nfc/NfcManager.java:1249: error: cannot find symbol
.getJSModule(RCTNativeAppEventEmitter.class)
^
symbol: class RCTNativeAppEventEmitter
location: class NfcManager
Note: /Users/vallemar/workspaces/myAwesomeApp/node_modules/react-native-nfc-manager/android/src/main/java/community/revteltech/nfc/NfcManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
Execution failed for task ':react-native-nfc-manager:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
EDIT, it doesn't work on ios either. here I have this error:
1 warning generated.
In file included from /Users/vallemar/workspaces/myAwesomeApp/node_modules/@open-native/core/platforms/ios/lib_community/RNPodspecs.m:1:
/Users/vallemar/workspaces/myAwesomeApp/node_modules/@open-native/core/platforms/ios/lib_community/RNPodspecs.h:5:9: fatal error: 'react_native_nfc_manager/NfcManager+Felica.h' file not found
#import <react_native_nfc_manager/NfcManager+Felica.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vallemar/workspaces/myAwesomeApp/node_modules/@open-native/core/platforms/ios/lib_community/RNPodspecs.h:5:9: note: did not find header 'NfcManager+Felica.h' in framework 'react_native_nfc_manager' (loaded from
'/Users/vallemar/workspaces/myAwesomeApp/platforms/ios/build/Debug-iphonesimulator/react-native-nfc-manager')
I am trying to use this plugin and I have this error. I imagine that import was missing. https://github.com/revtel/react-native-nfc-manager
EDIT, it doesn't work on ios either. here I have this error: