-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
isRemoteNotificationsEnabled always returns false on iOS 10 #121
Comments
+1 |
iOS 10 has made some fundamental changes to user notifications. I need to update this plugin to handle them. So this is a bug in the sense that the plugin doesn't yet support the new methods introduced in iOS 10. |
Fix published in v3.2.0 to npm |
I tried making a new build using this update, but I am being greeted with this error: .../cordova_project/platforms/ios/vImmune/Plugins/cordova.plugins.diagnostic/Diagnostic.m:13:9: fatal error: 'UserNotifications/UserNotifications.h' file not found I am using Cordova 6.2.0. Any ideas why this is happening? |
@vivekpd15 This error is being raised because the new UserNotifications framework (added in XCode 8 / iOS 10) is not being found. |
was working a charm on iOS 8 & 9, but always false on iOS 10, regardless of what the user has accepted.
The text was updated successfully, but these errors were encountered: