I am experiencing a critical crash after publishing an app update built using the Niotron platform. The app crashes during initialization due to missing coroutine dependencies, specifically related to the OneSignal.
Here is a snippet from the crash log:
Caused by java.lang.IllegalStateException: Module with the Main dispatcher is missing.
Add dependency providing the Main dispatcher, e.g. 'kotlinx-coroutines-android'
and ensure it has the same version as 'kotlinx-coroutines-core'
It appears that the kotlinx-coroutines-android library is not bundled with the OneSignal extension or there’s a version mismatch with kotlinx-coroutines-core. Since the extension uses Dispatchers.Main, this is causing ExceptionInInitializerError.
Could you please update the OneSignal extension or the base SDK to include the proper coroutine dependencies?
Looking forward to a prompt fix as this is impacting app stability on Google Play.
Thank you so much, @abhijith .I really appreciate your quick support and effort in resolving the issues. Glad to see the update live and running smoothly on the Play Store now. A big thanks to you and the entire Niotron team for the continued support!