Closed Tayfun74 closed 5 years ago
In the documentation of APNS it says:
IMPORTANT APNs device tokens are of variable length. Do not hard-code their size.
So we should not check on the length of this token, as this can go wrong. The documentation of APNS: https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html#//apple_ref/doc/uid/TP40008194-CH8-SW14
In the documentation of APNS it says:
So we should not check on the length of this token, as this can go wrong. The documentation of APNS: https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html#//apple_ref/doc/uid/TP40008194-CH8-SW14