Open Pramodaexonic opened 7 years ago
Upon Android 5.0 your icon must be white and without background.
means i should change the icon in white or what in drawable so that it will work
You should make an image with no background and the icon should be white.
ok I understood.
i am adding those images in moblile.config.json and as icon,
ex: // Android 'android_ldpi': 'resources/icons/icon-36x36.png', 'android_mdpi': 'resources/icons/icon-48x48.png', 'android_hdpi': 'resources/icons/icon-72x72.png', 'android_xhdpi': 'resources/icons/icon-96x96.png' }); same image are used for notification and those are icon image, and when we build meteor those image are added in drawable-ldpi/hdpi etc.
so where should i add the new icons of white background.
I also had the same problem as you. Ive made a custom plugin that copies the icon to android res folder. You should do the same.
can you share any link coz i have not made any custom plugins
before making a plugin to this for you, copy the icon yourself to .meteor/local/cordova-build/platforms/android/res/
, and test if everything is ok.
Because drawable-mdpi image folder was showing empty/missing after build, so i thought this might be the problem
so i added icon manually in that folder but after build it again vanishes.
all aother drawable are visible except the mdpi one
just place it outside the mdpi hdpi xxhdpi folders. On the root of res/ folder. And call It a different name, like notification.png. Don't do meteor reset
or else the files are going to be erased.
ok i will try this,
se first i clone the project from heroku that time there is no no.meteor folder, so when i buld drawable are added
then i will paste it on res/ root ok
then still i will again require to build then the chages will reflect,
or then there is no need to buld again then i should test
Why build ? Copy the icon to res folder , and then do meteor run android-device
ok fine thanks.. i will try this and conform.
Meteor Push is working fine icon is also displayed when we scrool down only in bar icon is dispayed white for Micromax Canvas P290 tab: android version 5.0.1
please provice any solution to solve this issue
for more info pfa screenshot also