Hi every one. Today I've trying to find out why my Samsung Galaxy S6 was unable to clear the badge over the app icon. Let's start saying that I set the badge when my S6 was running Android 6, then I upgraded my S6 to Android 7 and now setBadgeNumber is not working anymore.

I'm using titanium 3.3.2 module for titanium platform (latest version as of writing). The exception that is shown in logcat when trying to set badge is:

[ERROR] Pushwoosh: [ShortcutBadger] Unable to execute badge [ERROR] Pushwoosh: com.pushwoosh.thirdparty.a.b: Unable to execute badge

So I've realized that PushWoosh is using ShortcutBadger library to set badges in android devices. I've installed ShortcutBadger tester (https://play.google.com/store/apps/details?id=me.leolin.isbadgeworking) and it works like a charm. I've tested on Galaxy J3 (android 5.1.1), S6 (android 7) and S8 (android 7), getting successful results. But my app, which relies on PushWoosh module is not working S6 and S8 (both with android 7). As far as I can guess, PW module is using an older version of ShorcutBadger library.

Latest PushWoosh Android SDK (as of writing) is 5.0.4 while appcelerator-titanium module uses 4.12.2. Reading PW android SDK doc I see that there're breaking changes from 4.12.2 to 5.x. Could we have a new PW titanium module version (3.3.3) using a 4.12.3 version with this issue fixed??

Is there any thing I'm missing that could fix this issue without using any newer version?

Thanks in advance for your support.

asked 14 Sep, 17:32
phobeous's gravatar image

phobeous
111

Ok, I registered an issue in github for titanium module. Anyone interested can track it in the following link

https://github.com/Pushwoosh/pushwoosh-appcelerator-titanium/issues/48

permanent link
answered 18 Sep, 17:25
phobeous's gravatar image

phobeous
111

Hey,

Thank you for the detailed information provided!

Actually, as far as I know, Pushwoosh developers are already aware of this issue and it will be fixed in the nearest time.

Thank you for the report on GitHub!

Stay tuned!

Regards, Alex.

(20 Sep, 05:42) Alex Alex'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:

×431
×30
×18

question asked: 14 Sep, 17:32

question was seen: 121 times

last updated: 20 Sep, 05:42