mac-cain13 / notificato

Takes care of Apple push notifications (APNS) in your PHP projects.
MIT License
224 stars 44 forks source link

Remove check on device token length #65

Closed Tayfun74 closed 5 years ago

Tayfun74 commented 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