Hello

After using <preference name="phonegap-version" value="cli-7.0.1"/>

also we are using <plugin name="pushwoosh-cordova-plugin" source="npm" version="7.0.4"> <variable name="ANDROID_FOREGROUND_PUSH" value="true"/> <variable name="IOS_FOREGROUND_ALERT_TYPE" value="ALERT"/> </plugin>

We are not able to see notification icon in android.

like see

http://prntscr.com/ghc005.

If we follow google rules and make icon based alpha rules then it also not working for other android device. So if any one have solutions then kindly share with us.

Regards

asked 05 Sep, 11:52
himanshuipe's gravatar image

himanshuipe
113

Hello,

The following documentation explains the behaviour you've described:

http://docs.pushwoosh.com/docs/android-faq#how-to-set-a-notification-icon-in-android-lollipop

You can also use "android_custom_icon" parameter in order to replace the default icon.

Regards, Ivan

permanent link
answered 07 Sep, 05:43
iskoritzky's gravatar image

iskoritzky
3528

Name the icon as pw_notification.png and put it in res/drawable folder. Pushwoosh SDK will use this icon as default for notifications.

I see one line . so i have one question like how to put icon manually in res drawable folder ?

We are creating build using phonegap build site.

(11 Sep, 04:30) himanshuipe himanshuipe's gravatar image

You can also use "android_custom_icon" parameter in order to replace the default icon.

is that remote url or from app ?

(19 Sep, 06:32) himanshuipe himanshuipe's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×434
×91
×15

question asked: 05 Sep, 11:52

question was seen: 199 times

last updated: 19 Sep, 06:33