Jean de Lavarene
Jean de Lavarene

Reputation: 3773

What's the size of the Expo push notification token?

With Expo Push Notification the token associated with the user must be stored in the backend where notifications are then being generated. This token is typically stored in a database. I couldn't find in the Expo doc any mention of the size of the token. So here is my question: what's the size of the Expo Push Notification token?

Upvotes: 2

Views: 1391

Answers (1)

ide
ide

Reputation: 20838

The token size is unspecified so a VARCHAR field or similar would work well in standard databases. If you need a fixed size, 1KB would likely work but it's not guaranteed and a variable-width field is safest.

Upvotes: 1

Related Questions