Kumar
Kumar

Reputation: 153

How to store device tokens in database

I need to store device tokens for all the devices which have been registered with APNs for a particular application. What is the recommended table structure to store device tokens?

Upvotes: 0

Views: 1204

Answers (1)

ANUP
ANUP

Reputation: 185

I don't think there is any such recommended table structure for storing it, it all depends upon ur application server usage. But you can store it against the device IMEI so that it can be uniquely identified. Fields could be likewise: IMEI | PUSH token | Last sent msg | TimeStamp etc

Upvotes: 1

Related Questions