HI I can’t register device when I get token from the app and sent it to AmityCoreClient.registerdevice
but it works fine when get Token from Postman
HI I can’t register device when I get token from the app and sent it to AmityCoreClient.registerdevice
but it works fine when get Token from Postman
Hi @naphat , may you specify the error please?
from my observation, the error would be caused by the thread switching in your Rx-pipeline not the SDK itself.
Ok, I call https://api.amity.co/api/v3/authentication/token to get token
then pass that token to AmityCoreClient.registerdevice but I can’t log in the response is 401
but when I get token by using postman it work it’s the same token that I get in the app.
Hello @naphat, please make sure that the API key matches with the network that you setup when calling AmityCoreClient.setup( apiKey:String)