We have a Cordova app and are upgrading from Cordova 4 straight to version 6.1.1. In the original project we have the plugin com.pushwoosh.plugins.pushwoosh (version 3.4.2) and this has been redirected to pushwoosh-cordova-plugin (version 4.2.2).
The upgrade has gone OK except that we are receiving deprecation warnings such as:
/Users/JeremyB/engage-ui-cordova-upgrade/platforms/ios/Workplace/Plugins/pushwoosh-cordova-plugin/ios/PushNotification.m:279:45: warning: 'enabledRemoteNotificationTypes' is deprecated: first deprecated in iOS 8.0 - Please use -[UIApplication isRegisteredForRemoteNotifications], or -[UIApplication currentUserNotificationSettings] to retrieve user-enabled remote notification and user notification settings [-Wdeprecated-declarations] type = [[UIApplication sharedApplication] enabledRemoteNotificationTypes]; ^ In module 'UIKit' imported from /Users/JeremyB/engage-ui-cordova-upgrade/platforms/ios/build/emulator/include/Cordova/CDVAvailabilityDeprecated.h:20: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:193:1: note: 'enabledRemoteNotificationTypes' has been explicitly marked deprecated here - (UIRemoteNotificationType)enabledRemoteNotificationTypes NS_DEPRECATED_IOS(3_0, 8_0, "Please use -[UIApplication isRegisteredForRemoteNotification...
I can't relate this back to any of our code in the app - seems to be in the plugin's code. We do seem to receive notifications but with no sound on IOS devices which have previously registered with the old app, but no registrations on new devices. Are there any breaking changes between 3.4.2 and 4.2.2 of pushwoosh that would require code changes, config changes, or build changes?
Please sign in to leave a comment.