You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
const pushObject: PushObject = this.push.init(options);
pushObject.on('registration').subscribe((registration: any) => {
console.log('Device registered', JSON.stringify(registration));
// send registration.registrationId with device info to backend server.
}
Expected Behaviour
Get a 64-character hexadecimal string as the following:
Device registered
{"registrationId": "ff37d7e6a223f0014d5409de0b42ffeb16e3059dedcb425b2546f1ada14cd71d",
"registrationType":"APNS"}
Expected Behaviour
Get a 64-character hexadecimal string as the following:
Device registered
{"registrationId": "ff37d7e6a223f0014d5409de0b42ffeb16e3059dedcb425b2546f1ada14cd71d",
"registrationType":"APNS"}
Actual Behaviour on iOS 13 and above:
{"registrationId":"{length=32,bytes=0x1f4a86af45959a8947c460dc00262c89...5d57ad5e31d7f9b9}","registrationType":"APNS"}
We need correct registrationIds to save to our Push Server.
Refer to https://nshipster.com/apns-device-tokens/
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version ( iOS 13 + )
Cordova CLI version and cordova platform version
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.1.1
Plugin version
The text was updated successfully, but these errors were encountered: