Documentation
Website
  • Getting Started
  • Customer Journey
    • Creating a Customer Journey
    • Understanding the Journey
    • Performance Dashboard
    • Pre-built Templates
  • Cross-Channel Messages
    • Mobile Push
    • Web Push
    • In-App Message
    • SMS/LMS
    • Webhook
  • Data Integration
    • User ID
    • Events
    • Tags
    • Integrating Amplitude
    • Integrating Mixpanel
  • Audience
    • Segments
    • Device Management
  • Engagement Tools
    • Message Personalization
    • Template
  • Analytics & Insights
    • Dashboard
    • Real-time Analytics
  • Guide for Developers
    • Mobile SDK Setup
      • Android SDK Setup
      • iOS SDK Setup
      • React Native SDK Setup
      • Flutter SDK Setup
      • Additional Setup
        • Android: FCM Setup (v1)
        • Android: Notification Icons
        • iOS: APNS Setup
        • iOS: Disable Swizzling
    • Web SDK Setup
    • REST API Reference
    • Mobile SDK Reference
    • Web SDK Reference
Powered by GitBook
On this page
  • 1. Open the Project with Android Studio
  • 2. Open Image Asset creation window
  • 3. Create Notification Icon
  • 4. Confirm Changed Icon
  1. Guide for Developers
  2. Mobile SDK Setup
  3. Additional Setup

Android: Notification Icons

PreviousAndroid: FCM Setup (v1)NextiOS: APNS Setup

Last updated 1 year ago

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.

1. Open the Project with Android Studio

If it's a regular Android project, it should be recognized as such, as shown below.

2. Open Image Asset creation window

Right click root project, click New -> Image Asset

3. Create Notification Icon

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

4. Confirm Changed Icon

To confirm that the icon has been successfully changed, rebuild the app and send a push notification to see the updated icon.