Closed wuchengyu closed 3 years ago
@wuchengyu Thanks for providing steps to reproduce the issue. This is a symptom of something not correct with your App Groups setup in Xcode.
Please double check you have the same App Group setup for both your targets noted in all parts of the steps under 4.4: https://documentation.onesignal.com/docs/react-native-sdk-setup#step-4-install-for-ios-using-cocoapods-for-ios-apps
More details with troubleshooting for App Groups below: https://documentation.onesignal.com/docs/ios-sdk-app-groups-setup
@jkasten2 Thank you so much, it solved.
We forgot to add different environment bundle id to App group.
Description:
I want to clear badge at specific page instead of open App and auto increase badge.
I push notification from website and set iOS badge
increase by 1
many timesSteps:
PushNotification.setApplicationIconBadgeNumber(0)
Environment
OneSignal_disable_badge_clearing=true
I try to upgrade
react-native-onesignal
to 4.2.0 but it still occur.Steps to Reproduce Issue:
Set to 1
is working