Pushwoosh / pushwoosh-react-native-plugin

Other
57 stars 43 forks source link

Can not completely clear the badge number on iOS #148

Open kjirou opened 1 year ago

kjirou commented 1 year ago

I am having trouble with unexpected behavior and would appreciate any help.

Details of the unexpected behavior

For example, the following behavior.

  1. The iOS app (created using pushwoosh-react-native-plugin and already registered the device using Pushwoosh.register()) is inactive.
  2. Send a One Time Push of +1 from the app.pushwoosh.com.
  3. A badge of 1 is displayed on an app.
  4. Start the application and call Pushwoosh.setApplicationIconBadgeNumber(0). As a result, the app badge disappeared from the iOS home screen.
  5. Task kill the app and make it inactive.
  6. Again, send +1 One Time Push from the app.pushwoosh.com.
  7. The app badge now shows 2.

I expect to see a 1 on my badge at the end.

I would be grateful for your advice if there is anything I might be doing wrong.

Environments

enginseer-dev commented 1 year ago

@kjirou We apologize for the delay in addressing this issue. We experienced some difficulties with our GitHub integration, and as a result, some tickets including this one were overlooked.

Could you please confirm whether this issue is still occurring for you?