push notification - APNS or GCM Device Token Validation -
does apns or gcm device tokens have special characters in them? trying server side validation of tokens , need know if should check a-z0-9 , eliminate else?
apns device tokens 32 bytes in binary format. if choose represent them 64 hexadecimal characters, contain hexadecimal characters (0 9 , f).
as gcm registration ids, though google don't give rules regarding possible characters, observed, use 64 characters - z, z, 0 9, '-' , '_'.
Comments
Post a Comment