Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

In 2016, [device tokens] may be growing up to 100 bytes. #13

Open
nathany opened this issue Jan 9, 2016 · 3 comments
Open

In 2016, [device tokens] may be growing up to 100 bytes. #13

nathany opened this issue Jan 9, 2016 · 3 comments

Comments

@nathany
Copy link
Contributor

nathany commented Jan 9, 2016

This was mentioned at WWDC but is not yet mentioned in Apple's documentation.

Device tokens are currently 32 bytes (64 hexadecimal digits). Will they be either 64 or 200 digits? Will they be anywhere in between? It also said "may be growing", so maybe it won't even happen.

https://developer.apple.com/news/

nathany added a commit that referenced this issue Jan 9, 2016
@nathany
Copy link
Contributor Author

nathany commented Jan 12, 2016

This isn't needed for the current version of iOS (9.2).

When it changes, it only impacts validations in Buford, but something to keep in mind if you are storing device tokens in a database.

@nathany
Copy link
Contributor Author

nathany commented Jan 12, 2016

The validation could be changed to not validate length or just have a minimum length.

nathany added a commit that referenced this issue Jan 12, 2016
don't know specifics yet #13
@nathany
Copy link
Contributor Author

nathany commented Jun 15, 2016

they are now saying they are “variable length"

maybe this validation isn't that useful

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant