How can we help?
Bug Report
SDK Version
- onesignal_flutter: 5.5.4
- Flutter: (your flutter version)
- Android: (your target SDK)
Description
The app receives repeated ANRs in production (Google Play Console) caused by
OneSignalUser.lifecycleInit blocking the main thread via runBlocking inside
waitForInit. This happens automatically when the Flutter method channel is
registered — before any user Dart code calls OneSignal.initialize().
The ANR is NOT caused by user code. It is triggered internally by the plugin
itself via lifecycleInit on onMethodCall.
ANR Stack Trace
Code of Conduct
How can we help?
Bug Report
SDK Version
Description
The app receives repeated ANRs in production (Google Play Console) caused by
OneSignalUser.lifecycleInitblocking the main thread viarunBlockinginsidewaitForInit. This happens automatically when the Flutter method channel isregistered — before any user Dart code calls
OneSignal.initialize().The ANR is NOT caused by user code. It is triggered internally by the plugin
itself via
lifecycleInitononMethodCall.ANR Stack Trace
Code of Conduct