Skip to content

[Bug]: Invalid notification (no valid small icon) on some devices #550

@MaxBaranuk

Description

@MaxBaranuk

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?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions