This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Small icon not working #316
Comments
I don't know if it would matter, but all examples I know specify the var push = PushNotification.init({
"android": {
"senderID": "###",
"icon" : 'ic_message_white_24dp',
"iconColor" : "blue"
},
"ios": {},
"windows": {}
}); |
You are correct, that was it. I created a pull request to add that to the documentation. Thank you very much. |
This thread has been automatically locked. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello.
Push plugin has been working great for me until i recently updated cordova to 5.2 and the pushplugin to 1.4.2.
After my upgrade, my push notifications and large icons still worked, but my small icon is always just a white square.
var push = PushNotification.init({
"android": {"senderID": "###", "icon" : 'ic_message_white_24dp.png', "iconColor" : "blue"},
"ios": {},
"windows": {}
});
I have the ic_message_white_24dp.png in my platform/res/drawables folder and still get nothing. The small icon background color is working correctly with "blue"
The text was updated successfully, but these errors were encountered: