You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lots of crash reports in analytics with such stack trace:
Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.DgnGames.AndroidNotifications.UnityNotificationManager: java.lang.IllegalArgumentException: Invalid notification (no valid small icon)
Mostly on Samsung, but there are some other devices present (Amazon, Motorolla)
Different Android versions
Steps to reproduce?
We can not reproduce this on any of our test devices. Pushes are received successfully, and no crashes are found.
What did you expect to happen?
Try to understand the reason of crashes
Unity version
2021.3.4f1
OneSignal Unity SDK version
3.0.2
Platform
Android
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
@MaxBaranuk Thanks for reporting, based on the error you submitted it looks be an issue with your com.DgnGames.AndroidNotifications.UnityNotificationManager Java class:
Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.DgnGames.AndroidNotifications.UnityNotificationManager: java.lang.IllegalArgumentException: Invalid notification (no valid small icon)
OneSignal has its own push handler for Android so you don't need your own. If you don't need to process pushes from any other source than OneSignal you can remove push handling from your DgnGames.AndroidNotifications.UnityNotificationManager class. If you do remove it make sure to remove your AndroidManifest.xml entry too.
What happened?
Lots of crash reports in analytics with such stack trace:
Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.DgnGames.AndroidNotifications.UnityNotificationManager: java.lang.IllegalArgumentException: Invalid notification (no valid small icon)
Mostly on Samsung, but there are some other devices present (Amazon, Motorolla)
Different Android versions
Steps to reproduce?
What did you expect to happen?
Try to understand the reason of crashes
Unity version
2021.3.4f1
OneSignal Unity SDK version
3.0.2
Platform
Android
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: