IONIC PUSH error

I am using the ionic push notification and getting an error reported in the logs. We’ve had this working. some of the devices may have been registered previously.

I actually see the notifications set in the notification center but the callback “onRegister” is not being called.

Here is my push setup.

   push = new Ionic.Push({
        "debug": true,
        "onNotification": function (notification) {
            var payload = notification.payload;
            console.log(notification, payload);
        },
        "onRegister": function (data) {
            console.log(data.token);
         },
        "pluginConfig": {
            "ios": {
                "clearBadge": true,
                "badge": true,
                "sound": true
            },
            "android": {
                "iconColor": "#343434"
            }
        }
    });
    push.register();

Here is what’s shown in the xcode console.

2016-04-26 12:01:54.865 miTRAX[849:276517] Push Plugin register called
2016-04-26 12:01:54.866 miTRAX[849:276517] PushPlugin.register: setting badge to false
2016-04-26 12:01:54.866 miTRAX[849:276517] PushPlugin.register: clear badge is set to 0
2016-04-26 12:01:54.866 miTRAX[849:276517] PushPlugin.register: better button setup
2016-04-26 12:01:54.912 miTRAX[849:276497] Push Plugin register failed
2016-04-26 12:01:54.913 miTRAX[849:276517] GCM Sender ID (null)
2016-04-26 12:01:54.913 miTRAX[849:276517] Using APNS Notification

I have the same problem