Android: Notification Icons
Last updated
Last updated
If you operate an Android app, you can change the notification icon. To change the notification icon for your Android app, you don't need to add any extra code. Just make sure to set the resource name of the icon according to the naming conventions, and the FlareLane SDK will recognize the notification icon automatically.
This guide will demonstrate how to create the icon using Android Studio.
If it's a regular Android project, it should be recognized as such, as shown below.
Right click root project, click New -> Image Asset
To comply with the Android policy, the notification icon should have a transparent background.
a. Choose "Notification Icons" for Icon Type
b. Input "ic_stat_flarelane_default" for Name (Important!)
c. Select "Image" for Asset Type and attach the image you wish to use as an icon
To confirm that the icon has been successfully changed, rebuild the app and send a push notification to see the updated icon.