Closed donrowlett closed 7 years ago
@donrowlett Android does not actually support badging as a core feature. Some manufacturers added support for badging, but its per manufacture and per home screen app. Usually you can set the badge independently of notifications. Our plugin has zero support for badging ATM.
It might be left over data from a different plugin you were using. What device are you using? Could you post a screenshot?
Thanks Ryan,
I suspected it was outside the phonegap-ua-push plugin, now I'll focus my efforts on the other plugins I tested before settling on yours.
How funny... I was just preparing to send a screen shot and went to move the icon to the center of my screen so it would be clearer, and as I dragged the icon a pop-up menu appeared with 'Clear Badge' as a choice. It worked! Which is good for me, but bad for you because now I no longer have a badged icon I can send you. Oh well.
I hope you at least feel good in knowing that your suggestion enabled me to solve my problem, even if not in the way we expected.
I'll close the incident.
Have a great day!
On Mon, Jun 19, 2017 at 11:09 AM, Ryan Lepinski notifications@github.com wrote:
@donrowlett https://github.com/donrowlett Android does not actually support badging as a core feature. Some manufacturers added support for badging, but its per manufacture and per home screen app. Usually you can set the badge independently of notifications. Our plugin has zero support for badging ATM.
It might be left over data from a different plugin you were using. What device are you using? Could you post a screenshot?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/urbanairship/phonegap-ua-push/issues/185#issuecomment-309520794, or mute the thread https://github.com/notifications/unsubscribe-auth/AQsY_2vYgnmxJu5GRYbqLno6hEROaQYFks5sFrlSgaJpZM4N-icX .
Don Rowlett, Project A 5350 Highway 66, Ashland OR 97520 541-488-1702 (w) 541-531-9090 (m) All text and attachments Copyright 2017, Project A
I'm not sure this is even an issue with the plugin, but I know there are experts here that might be able to help me. And if this is not a plug-in issue, go ahead and close this incident.
I've got this plugin working via PhoneGap Build on both Android and iOS platforms. All is good except that on my Android, the orange 'notification count' bubble that appears with the app icon won't clear. It is stuck at '2'. I've tried reboot, uninstall/reinstall, send/clear lots of push notifications, nothing works so far... it is always stuck at '2'.
There are no issues with badge numbers on iOS.
I suspect a couple of things, but wanted to get some feedback before I started messing with code.
I switched Urban Airship accounts mid-stream. I originally had an account set up under my own email address, and had prod and dev projects within that account. I then set up a UA account under my client's email, and set up prod and dev projects there also. Is it possible that the notification count is associated with the old account?
I am not using Message Center, but does it update the notification count? I could have accidentally put messages in there during earlier testing.
I am not finding anything in the plugin docs that explains how to adjust the notification count on Android, other than a 'clearNotifications' method. When I try using that method I'm getting a "no such method" error message. Sorry I don't have exact message, but I can recreate it if necessary.
Any other suggestions?