Push notification: registering iOS device with ionic returns "saved: false"

ionic info:

Your system information:

Cordova CLI: 6.4.0
Ionic CLI Version: 2.1.13
Ionic App Lib Version: 2.1.7
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: OS X El Capitan
Node Version: v5.12.0
Xcode version: Xcode 8.2.1 Build version 8C1002

Installed platforms:
android 6.1.0
ios 4.3.0

ionic plugins ls
bundle-cordova-webintent 1.0.0 "WebIntent"
com.synconset.imagepicker 2.1.7 "ImagePicker"
cordova-media-with-compression 2.1.1 "Media With Compression: Alpha Software Edition"
cordova-plugin-android-permissions 0.10.0 "Permissions"
cordova-plugin-calendar 4.5.5 "Calendar"
cordova-plugin-camera 2.3.1 "Camera"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-console 1.0.1 "Console"
cordova-plugin-crosswalk-webview 2.2.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.0.1 "Device"
cordova-plugin-dialogs 1.1.1 "Notification"
cordova-plugin-file 4.3.2 "File"
cordova-plugin-filepath 1.0.2 "FilePath"
cordova-plugin-inappbrowser 1.1.1 "InAppBrowser"
cordova-plugin-network-information 1.3.1 "Network Information"
cordova-plugin-spinner 1.0.0 "Spinner Plugin"
cordova-plugin-splashscreen 2.1.0 "Splashscreen"
cordova-plugin-statusbar 2.2.1 "StatusBar"
cordova-plugin-whitelist 1.0.0 "Whitelist"
cordova-plugin-x-socialsharing 5.1.3 "SocialSharing"
cordova-plugin-x-toast 2.5.2 "Toast"
cordova-universal-clipboard 0.1.0 "Clipboard"
cordova-universal-links-plugin 1.2.1 "Universal Links Plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"
phonegap-plugin-push 1.9.4 “PushPlugin”

Problem description:
We are currently facing problems registering iOS devices for push notifications. Earlier in the project, we had successfully registered devices and sent notifications via ionic push services and did not change any credentials/certificates as far as we can see, but as of late, the devices receive no incoming notifications. Android devices are working fine with the same registration process, so we looked for differences and saw a suspicious response when registering:

$ionicPush.register().then((response: PushToken) => {
					this.Logger.debug("SubscriptionServiceRunner", "registerAndSavePushToken",
						"ionic push registered and received token: ", {response: response});
					this.Preferences.ionicPushToken = response.token;

					$ionicPush.saveToken(response);

This is the relevant part of the device registration, and we receive the following response from $ionicPush.register:

[SubscriptionServiceRunner.registerAndSavePushToken] ionic push registered and received token: – {response: {token: “some_tokenid”, registered: true, saved: false}}

The saved:false might indicate as if there might be an issue, but we have a hard time figuring out what it is.

Any help is appreciated :slight_smile:

We were able to resolve the issue after all.

For any party interested, the culprit seemed to be multiple dev APNS certificates for the AppID - once we removed the second one, we were able to send notfications again to the iOS devices.

Sorry for bothering :wink: