Skip to content

Commit b8e4c39

Browse files
committed
Set default FCM icon
Change-Id: Icebe6dfdb07d9649667f1c59beb157249f8f8445
1 parent 1dbde0f commit b8e4c39

File tree

11 files changed

+8
-0
lines changed

11 files changed

+8
-0
lines changed

messaging/app/src/main/AndroidManifest.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
android:icon="@mipmap/ic_launcher"
88
android:label="@string/app_name"
99
android:theme="@style/AppTheme">
10+
<!-- [START fcm_default_icon] -->
11+
<meta-data
12+
android:name="com.google.firebase.messaging.default_notification_icon"
13+
android:resource="@drawable/ic_stat_ic_notification" />
14+
<meta-data
15+
android:name="com.google.firebase.messaging.default_notification_color"
16+
android:resource="@color/colorAccent" />
17+
<!-- [END fcm_default_icon] -->
1018
<activity
1119
android:name="com.google.firebase.quickstart.fcm.MainActivity"
1220
android:label="@string/app_name">
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)