Open usamaabutt opened 7 months ago
Hello @usamaabutt thank you for your patience! I see in the stack trace that the method addTriggers
is mentioned. When/where are you calling this method in your code? Would you be able to provide the full logs reproducing this crash so we can take a closer look?
Appreciate it!
I'm having the same problem after updating from react-native-onesignal 4.5.0 to react-native-onesignal 5.2.2.
I'm not calling addTriggers anywhere in my code. And the OneSignal.initialize(ONESIGNAL_APP_KEY); is being called on the top of App.tsx
Its happening everytime i try to start the app, even when running development mode.
What happened?
I am using the latest version of "OneSignal SDK 11" and "RN lib version 5.1.1". My Android release APK is crashing and throwing this error catch through
adb logcat '*:W'.
Error:
Steps to reproduce?
What did you expect to happen?
I expect the release APK of Android will not crash and will work without crashing.
React Native OneSignal SDK version
Release 5.1.1
Which platform(s) are affected?
Relevant log output
Code of Conduct