Closed Marabushka closed 2 months ago
in our service extended from INotificationServiceExtension we called the addObserver method, the solution was to call this method in the main thread
Handler(Looper.getMainLooper()).post { ProcessLifecycleOwner.get().lifecycle.addObserver(this) }
What happened?
I updated to 5.2.3 version of oneSignal and the app started to crash
Steps to reproduce?
What did you expect to happen?
not crash
OneSignal Flutter SDK version
5.2.3
Which platform(s) are affected?
Relevant log output
Code of Conduct