Hello Biren,
There are different reasons behind getting unauthorized exception and are explained below:
- Either your API Key & Secret Key is not correct
- Or the device time is not correct on which app is running,
If above things are correct then please share the complete logs of StoreDeviceToken method. It will help us to provide better support to you.
To print the internal logs of App42 StoreDeviceToken method, please use below line of code just after the key initialization:
App42Log.SetDebug(true);
Regards,
Himanshu Sharma