Hi I have developed POS application using Swift in which I have used Square SDK. While doing transaction I'm checking with Square Auth Key and Proceed the transaction. But now I'm getting error code of "sdkNotAuthorized" i.e. Reader SDK is not currently authorized. So what will be the reason behind this error.
I'm fetching mobile authorization code from Mobile Authorization API and saving it in Userdefault and use it for authorization.
Any idea about why this is happening suddenly?
Hey there @ragib! Were you able to get this answered by one of our API team members yesterday?
No, Not Yet
Hey @ragib-
Thanks for posting in the Seller Community! 🌟
We went ahead and reached out to the API Team here at Square. They said that you will need to go through the ReaderSDK authorization flow again (generate a new mobile auth code and authorize it). Essentially ReaderSDK deauthorizes after payments are not taken for 90 days, which apparently is applicable to your situation.
I hope this helps! They also mentioned that they may have reached out to you via email a while back, so please refer to that email as well. Thanks again for following up.
Square Community