Issue with Push notification Icon - Android
Push notifications.icon displays incorrectly on Android 8.1.0. This occurs when the application is built by including the notification_icon.svg.
Steps to Reproduce
If the notification_icon.svg is not present in the Branding assets, all the icons (for Android 8.0 and Android 8.1) work correctly.
The Branding icons used were incorrect and the uploaded assets.zip in the server had missing drawable-xxhdpi directory. Hence, all assets for this use case's screen resolution, were retrieved from the default that was included in the mobile client (Pega icons).
Notification icons should meet the requirements as below:
- Ensure that the Status bar icons are 32-bit PNGs with an Alpha Channel for transparency.
- Ensure that the Status bar icons are flat, pictured face on, and must be white on a transparent background
For more information on Preparing custom branding assets, refer to: https://community.pega.com/sites/default/files/help_v82/procomhelpmain.htm#mobile/tasks/mob-preparing-branding-assets-tsk.htm
When there is one notification_icon.svg (basic branding) and five icon_android.png files for different screen sizes (advanced branding), and if both are attached in assets.zip, the icon_android.png is accepted while the notification_icon.svg is ignored.
To provide correct Branding icons as per the Android Developer documentation, use the below
0% found this useful