for a cordova plugin, i need an additional android notification icon (alpha-transparent), which needs to be in android resource folders (as a drawable)
Meteor allows to specify icon and splashscreen, but no other resource. Is there any way to add this icon?
You can add them in your project forlder: cordova-build-override/platforms/android/res/<you_drawable_forlder_dpi>/pushicon.png
If you are using raix/push
package you have isntructions here
You have to configure push package as specified in that package.
Push.Configure
android:
...
icon: 'pushicon'
...
In addition, you can use Android Asset Studio to generate your Android notification icon.
2 Likes
thx, @violeta
didn’t know this feature exists! thx, will try that out!