Error 1700 when calling StoreDeviceToken()

0 votes
I'm getting error 1700, "user <id> already registered with the device" when calling StoreDeviceToken().  I understand why this error is being generated -- the user has already been registered for that device.  But my question is whether or not there is an API that I can use to find out at runtime whether the user's device has already been registered so as to avoid this error, or if calling StoreDeviceToken() is basically just the way to do this, and I should just ignore the error?

What is the best practice for registering device tokens with a user account?  Do I just call StoreDeviceToken() no matter what, or should I query some other API first to determine if StoreDeviceToken() needs to be called?

Thanks.
asked Jun 24, 2014 in App42PaaS & BPaaS by Brady Wright (35 points)

1 Answer

0 votes
Hi,

Thanks for writing us.

We have taken your request and we provide a function in future release so that you can use and work with your use case.

Right now you can continue with your development by applying try-catch.

We let you know when it will update on SDK.

Also if you can share that which SDK you are working on.

Thanks.
answered Jun 25, 2014 by hs00105 (517 points)
I'm using the latest SDK for Unity.
Hi Brady,
I will let you know when the feature is updated in App42 Unity SDK.
Thanks.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...