Skip to content

White square in notification bar instead of app icon on Android 5 #65

Closed

Activity

AndreiMisiukevich

AndreiMisiukevich commented on Mar 3, 2018

@AndreiMisiukevich
Author

Hm, several topics said me, that I would use white icons with transparent background for Android 5 and above.. Why Is it working for me on Android 6+.. I can't undestand

jkasten2

jkasten2 commented on Mar 3, 2018

@jkasten2
Member

@AndreiMisiukevich I recommend using the Android Asset Studio to generate your small notification icon. If it is a white square there it will look this way on the device.

You are correct about the transparently, you will need to edit your icon to be transparent in the shape you would like it to show before uploading it though.

Xiaomi or Huawei devices have custom UIs that don't always follow this rule for Android small icons. Let us know the device model if it isn't one of these devices.

For those looking for details on the file name and other icons see the link below.
https://documentation.onesignal.com/docs/customize-notification-icons#section-1-generate-icons

AndreiMisiukevich

AndreiMisiukevich commented on Mar 3, 2018

@AndreiMisiukevich
Author

@jkasten2 thanks for quick response, colleague!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @jkasten2@AndreiMisiukevich

        Issue actions

          White square in notification bar instead of app icon on Android 5 · Issue #65 · OneSignal/OneSignal-Xamarin-SDK