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
Description:
I am on a fresh install of React Native (0.67.1). I've configured and imported a fresh install of react-native-onesignal (4.3.6).
The moment I import the react-native-onesignal package, regardless of any method from the OneSignal package, I get the following error while running on iOS:
Invariant Violation: `new NativeEventEmitter()` requires a non-null argument.
Environment
React Native 0.67.1
react-native-onesignal 4.3.6 (installed w/ yarn)
Running into error while running on iOS emulator (haven't tried Android yet)
Welp, I deleted OneSignalNotificationServiceExtension and re-added it and that resolved the issue. Not sure what I did wrong there. Closing this topic.
Description:
I am on a fresh install of React Native (0.67.1). I've configured and imported a fresh install of react-native-onesignal (4.3.6).
The moment I import the react-native-onesignal package, regardless of any method from the OneSignal package, I get the following error while running on iOS:
Environment
React Native 0.67.1
react-native-onesignal 4.3.6 (installed w/ yarn)
Running into error while running on iOS emulator (haven't tried Android yet)
Steps to Reproduce Issue:
yarn add react-native-onesignal
OneSignal.setAppId
)Anything else:
Call stack points to
react-native-onesignal/dist/index.js
L50:The text was updated successfully, but these errors were encountered: