ManishSB
ManishSB

Reputation: 767

Why is devicetoken not getting generated for other device?

I am trying to generate device token for 1 device , but why isn't it getting generated for other device. I am storing that value in parse, Second device token is missing.

Device token

What is the solution for generating device token for other Device?

Upvotes: 1

Views: 625

Answers (1)

Tushski
Tushski

Reputation: 242

If you are referring to GCM device token, then you should know that it takes time for an Android device to generate device token. This process takes place in another thread. So when the device is uploading the data on to your server, the device token might not have generated by your device.

Upvotes: 2

Related Questions