Deprecated notification methods


From iOS 10, all the UIUserNotifications are deprecated and are replaced to UNUserNotification. For example, WonderPush.enableNotification(true) will call [[UIApplication sharedApplication] registerForRemoteNotifications] which is deprecated. And it will call which is also deprecated.

This pattern is replaced to use which has a callback closure instead of delegate method in ApplicationDelegate.

This case is not the only one in the WonderPush iOS SDK. The whole SDK is based on the deprecated methods. (Well there is UserNotificationCenter delegate forwarding at least)

Do you have any plan to adopt UNUserNotification?



The code from the master branch is already updated, and we plan on releasing a v3 of the SDK this month.
Make sure to follow the announcements.