Skip to main content
Add the small icon to the Android resources of your app. The same Android resource works in native Android, Flutter, and React Native projects.

Create the icon

  1. In Android Studio, right-click the app module’s res folder and select New > Image Asset.
  2. Set Icon Type to Notification Icons. Enter ic_stat_notifly_default in Name.
  3. Select your image and check the preview. Use a white silhouette on a transparent background.
  4. Click Next, then Finish. Android Studio creates the resource under src/main/res/drawable-*.
For details, see Create a notification icon in Android Developers.

Add the resource to your project

Use app/src/main/res/drawable-*. If your app module has a different name, use that module’s src/main/res directory.

Test the icon

Rebuild and install the Android app. Send a test push notification from Notifly to check the icon. The SDK looks for ic_stat_notifly_default in the drawable resources. If it cannot find that resource, it uses the app launcher icon. If the launcher icon is also unavailable, it uses the SDK’s default icon.
Notifications displayed by the Notifly SDK use the drawable resource described here. FCM’s com.google.firebase.messaging.default_notification_icon manifest setting applies to FCM-managed notifications.