EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 442 forks source link

What am I missing for the icon? #1430

Open rnmhdn opened 5 years ago

rnmhdn commented 5 years ago
            <meta-data android:name="com.google.firebase.messaging.default_notification_icon"
                android:resource="@drawable/logo" />
            <meta-data android:name="com.google.firebase.messaging.default_notification_color"
                android:resource="@color/ns_primary" />

I have this within the application tag of my manifest. Also:

$ ls App_Resources/Android/src/main/res/drawable-hdpi 
background.png  icon.png  logo.png

I'm using icon and logo for my splash screen. But the notification icon is still a white square. If there is anything other than this that I need to do please let me know. otherwise don't spend time on this untill I verify it one more time.

rnmhdn commented 5 years ago
Christopher[10:43]0 app$ file App_Resources/Android/src/main/res/drawable-hdpi/icon.png 
App_Resources/Android/src/main/res/drawable-hdpi/icon.png: PNG image data, 72 x 72, 8-bit/color RGBA, non-interlaced
Christopher[10:44]0 app$ file App_Resources/Android/src/main/res/drawable-hdpi/logo.png
App_Resources/Android/src/main/res/drawable-hdpi/logo.png: PNG image data, 281 x 207, 8-bit/color RGBA, non-interlaced

icon works but logo doesn't. can you tell me what are my choices to put instead of @color/ns_primary?