[x] I acknowledge that all my contributions will be made under the project's license.
The iOS SDK that comes with Xcode 11 beta is updating the data structure of the PushKit device token. This PR updates the way of decoding the device token data returned from the pushRegistry:didUpdatePushCredentials:forType: callback. The same decoding implementation works for both iOS 13 SDK (Xcode 11) and earlier (Xcode 10 and iOS 12)
Note that with the coming release of iOS 13, using PushKit without CallKit (the ObjCVoiceQuickstart project) will cause runtime exception and application crash.
The iOS SDK that comes with Xcode 11 beta is updating the data structure of the PushKit device token. This PR updates the way of decoding the device token data returned from the
pushRegistry:didUpdatePushCredentials:forType:
callback. The same decoding implementation works for both iOS 13 SDK (Xcode 11) and earlier (Xcode 10 and iOS 12)Note that with the coming release of iOS 13, using PushKit without CallKit (the
ObjCVoiceQuickstart
project) will cause runtime exception and application crash.