-
Notifications
You must be signed in to change notification settings - Fork 0
Large app icon
Nate River edited this page Oct 29, 2018
·
4 revisions
Starting from Android 8 (API 26) adaptive icons were introduced: https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive
This means that there is no app icon inside APK with Unity 2018 anymore, so you can't use it from notification. It is combined from Foreground and Background parts now. Moreover, as Google says, using app icon as large app icon is bad design.
Note, that this issue doesn't affect Unity 5 and Unity 2017.
In plugin version 2.6 I've implemented this workaround to show app icon on Android 8: https://stackoverflow.com/questions/44447056/convert-adaptiveicondrawable-to-bitmap-in-android-o-preview/46018816#46018816