You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invariant Violations on iOS ("new NativeEventEmitter() requires a non-null argument", and "Module AppRegistry is not a registered callable module")
#145
I'm trying to use this package on iOS. If I just import SystemSetting from "react-native-system-setting" without using it, it runs fine, but when calling any of the SystemSetting methods, I get the following breaking errors:
ERROR Invariant Violation: `new NativeEventEmitter()` requires a non-null argument.
ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
I've tried SystemSetting.getVolume(), SystemSetting.setVolume() and SystemSetting.getBrightness() and all fail.
I've tried applying the fix from #140 but it doesn't resolve the errors.
I'm trying to use this package on iOS. If I just
import SystemSetting from "react-native-system-setting"
without using it, it runs fine, but when calling any of theSystemSetting
methods, I get the following breaking errors:I've tried
SystemSetting.getVolume()
,SystemSetting.setVolume()
andSystemSetting.getBrightness()
and all fail.I've tried applying the fix from #140 but it doesn't resolve the errors.
=============
react-native-system-setting Version: 1.7.6
iOS Version: 14.8.1
Installation Steps:
Code:
The text was updated successfully, but these errors were encountered: