Pushwoosh / pushwoosh-phonegap-plugin

Pushwoosh PhoneGap Build Plugin
Other
110 stars 139 forks source link

Badge missing on iOS 9, plugin version 3.6.16 #154

Closed dashkaLimashka closed 8 years ago

dashkaLimashka commented 8 years ago

For fixing twice alerts issue #125, I upgraded plugin to version 3.6.16. Alerts work nice but the problem is with badge on iOS9. It is absent and pushNotification.setApplicationIconBadgeNumber(number) is not working without any errors. Everything works good with the same build on iOS8.

valyefimov commented 8 years ago

It seems like badge number was broken after fix on android (starting from version 3.6.11). On 3.6.10 everything works well.

valyefimov commented 8 years ago

Any update on this ?

DimanAM commented 8 years ago

I cannot reproduce this problem. There is nothing related to iOS in 3.6.11 changeset and there is nothing specific in iOS9 regarding badge number. Did you accidentially disable "Badge App Icon" in notification settings?

shaders commented 8 years ago

@vefimov Do you mean you cannot set the badge from Javascript API or from push notification?

valyefimov commented 8 years ago

@shaders I can't set badge number from Javascript API as well as from server (by server I mean POST request on /createMessage)

shaders commented 8 years ago

I can't reproduce this, can you share a simple sample? Are you sure the app is closed when you receive push with badge?

shaders commented 8 years ago

closing dead thread