Pushwoosh / pushwoosh-react-native-plugin

Other
57 stars 43 forks source link

iOS: iPhone 11: Invalid Token #85

Closed nicholasc closed 4 years ago

nicholasc commented 4 years ago

The register method does not seem to work on the new iPhone 11. Everytime we attempt to register a device we get the following error:

Invalid token: {length=32,bytes=0x20d221c1af57f1b5165c8089fbb07090...d78f0b081ea5bfd0}.

Pushwoosh's native code might be using something to register the device that is different on an iPhone 11 and may be causing the token to break?

Other devices have been tested and function properly. We're using the latest version of this library.

wfhm commented 4 years ago

Hi @nicholasc,

May I ask you to let me know the version of Pushwoosh SDK you are using in your application?

nicholasc commented 4 years ago

pushwoosh-react-native-plugin: 5.18.1 Pushwoosh/Core: 5.13.0 PushwooshInboxUI: 5.8.6

wfhm commented 4 years ago

@nicholasc,

The issue is already fixed with 5.16.0 release. It looks like your pods are not properly updated with the plugin update, so may I ask you to remove the pods and the plugin and reinstall it in your project?

nicholasc commented 4 years ago

Updating the pods to the latest version of the core library worked. Thank you.