-
Notifications
You must be signed in to change notification settings - Fork 292
cancelAllLocalNotifications has been deprecated from iOS 10 #201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@Dallas62 thanks for the information! |
I'll also work on other deprecated methods as well |
@Dallas62 I've added new methods that uses UNNotification instead of UILocalNotification in v1.7.0 🎉 |
Thanks for this changes! |
Hi, @Dallas62 @Naturalclar thanks for your works. I have a question, when I build my app, I get warnings in file 'RNCPushNotificationIOS.h', is this ok?
"@react-native-community/push-notification-ios": "^1.8.0" |
Hi,
This issue refer to: zo0r/react-native-push-notification#1716
Here the replacement method:
https://developer.apple.com/documentation/usernotifications/unusernotificationcenter/1649509-removeallpendingnotificationrequ
This is also probably the case for:
https://developer.apple.com/documentation/uikit/uiapplication?language=objc
scheduleLocalNotification
:presentLocalNotificationNow
cancelLocalNotification
cancelAllLocalNotifications
scheduledLocalNotifications
cc @Naturalclar
The text was updated successfully, but these errors were encountered: