The error message is descriptive and correct. If you are attempting to use Expo Go or similar you must be aware, as a developer using that system, what the limitations of that system are. In other words, it won't work because it's a custom native module. Expo Go does not work with ...
然后尝试使用您用来启动应用程序react-native run-android或react-native run-ios的命令再次运行项目,或者...
Invariant Violation: new NativeEventEmitter() requires a non-null argument. at node_modules/expo/build/environment/react-native-logs.fx.js:27:4 in error at node_modules/react-native/Libraries/Core/ExceptionsManager.js:95:4 in reportException at node_modules/react-native/Libraries/Core/ExceptionsMan...
xuhow mentioned this issue Feb 8, 2023 [expo-application] Application.androidId constant do not comply with the privacy policies of app markets such as Huawei and Xiaomi. expo/expo#21110 Closed Sign up for free to join this conversation on GitHub. Already have an account? Sign in to co...
com.facebook.react.common.JavascriptException: Error: react-native-device-info: NativeModule.RNDeviceInfo is null. To fix this issue try these steps: • For react-native <= 0.59: Run `react-native link react-native-device-info` in the project root. • Rebuild and re-run the app. •...