Deprecated notification methods

ios
#1

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 https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623022-application which is also deprecated.

This pattern is replaced to use https://developer.apple.com/documentation/usernotifications/unusernotificationcenter/1649527-requestauthorization 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?

#2

Hi,

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.

Best,