Skip to content

Commit

Permalink
fcm push notification icon
Browse files Browse the repository at this point in the history
  • Loading branch information
rastajpa committed Apr 6, 2021
1 parent cf1d372 commit 1612f76
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app-template/config-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
<preference name="android-manifest/application/@android:allowBackup" value="false" />

<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:icon="@mipmap/ic_launcher" />
<application android:icon="@mipmap/ic_launcher" android:resource="@drawable/fcm_push_icon"/>
</edit-config>
<!-- Adaptive Icons -->
<icon background="resources/*PACKAGENAME*/android/icon/new/mipmap-mdpi/ic_launcher_background.png" density="mdpi" foreground="resources/*PACKAGENAME*/android/icon/new/mipmap-mdpi/ic_launcher_foreground.png" />
Expand All @@ -165,6 +165,13 @@
<icon background="resources/*PACKAGENAME*/android/icon/new/mipmap-xxhdpi/ic_launcher_background.png" density="xxhdpi" foreground="resources/*PACKAGENAME*/android/icon/new/mipmap-xxhdpi/ic_launcher_foreground.png" />
<icon background="resources/*PACKAGENAME*/android/icon/new/mipmap-xxxhdpi/ic_launcher_background.png" density="xxxhdpi" foreground="resources/*PACKAGENAME*/android/icon/new/mipmap-xxxhdpi/ic_launcher_foreground.png" />

<!-- Push Notifications Icons -->
<resource-file src="resources/*PACKAGENAME*/android/icon/new/drawable-mdpi/fcm_push_icon.png" density="mdpi" target="app/src/main/res/drawable-mdpi/fcm_push_icon.png"/>
<resource-file src="resources/*PACKAGENAME*/android/icon/new/drawable-hdpi/fcm_push_icon.png" density="hdpi" target="app/src/main/res/drawable-hdpi/fcm_push_icon.png"/>
<resource-file src="resources/*PACKAGENAME*/android/icon/new/drawable-xhdpi/fcm_push_icon.png" density="xhdpi" target="app/src/main/res/drawable-xhdpi/fcm_push_icon.png"/>
<resource-file src="resources/*PACKAGENAME*/android/icon/new/drawable-xxhdpi/fcm_push_icon.png" density="xxhdpi" target="app/src/main/res/drawable-xxhdpi/fcm_push_icon.png"/>
<resource-file src="resources/*PACKAGENAME*/android/icon/new/drawable-xxxhdpi/fcm_push_icon.png" density="xxxhdpi" target="app/src/main/res/drawable-xxhdpi/fcm_push_icon.png"/>

<!-- Splash -->
<splash src="resources/*PACKAGENAME*/android/splash/drawable-land-hdpi-screen.png" density="land-hdpi"/>
<splash src="resources/*PACKAGENAME*/android/splash/drawable-land-ldpi-screen.png" density="land-ldpi"/>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 1612f76

Please sign in to comment.