Nan
Nan
Hi @pedropga, Thanks for sharing. I have a follow-up question. 1. Was this a crash you experienced only in production? 2. Or were you able to reproduce it before adding...
Hi everyone, I apologize for the delay. We didn't understand why this crash is happening as the error message " You have explicitly disabled WorkManagerInitializer in your manifest..." is misleading....
Hi @selected-pixel-jameson, Try calling `complete` within the `setNotificationWillShowInForegroundHandler` like this: ```js window.plugins.OneSignal.setNotificationWillShowInForegroundHandler(function(notificationReceivedEvent) { notificationReceivedEvent.complete(notificationReceivedEvent.getNotification()); }); ``` Documentation [Here](https://documentation.onesignal.com/docs/sdk-notification-event-handlers#setnotificationwillshowinforegroundhandler-method)
Hi @selected-pixel-jameson, Thank you for reporting this crash. Do you have more information on what the `IllegalStateException` is? There ideally should be a message about what it is.
Seeing that this `IllegalStateException` is coming from `WorkManagerImpl.getInstance` The error message is probably this: > "WorkManager is not initialized properly. You have explicitly disabled WorkManagerInitializer in your manifest, have not...
Hi @andutoptal, Thank you for reporting and I apologize for the delayed response. Is this still an issue for you? If so, there are some things you can begin by...
Hi @amouzigh, to confirm, is the error on step 4? > 4- The app is closed by Android. If so, can you share a screenshot of the error displayed? >...
Thank you for reporting this @dmitry-salnikov, We are making some typescript changes and this definition will be fixed.
@ludufre Thank you, we will update this. In the meantime, does `OneSignal.getDeviceState((state) => { .. })` work for you?
Closing due to no response