how frequently should authorization code can be generated using Mobile Authorization API

Hi,

 

I'm using the Square Reader SDK (Swift Version) in the application. In the application, I'm getting Randomly Authorisation SDK (sdk not authorized) problem, so to overcome on that problem I have generated Authorisation code when the app goes into the background and comes in Foreground.

So How frequently can I generate authorization code using Mobile Authorization API.

Will, it gives the problem If I generate it every hour.

708 Views
Message 1 of 2
Report
1 REPLY 1
Admin

Hey @ragib!

 

Thanks for posting in the Seller Community.

 

It should only become unauthorized when either:

 

  1. You uninstall the app (or clear the cache of the app)
  2. You haven’t had any payment activity for 90+ days
  3. You manually call unauthorize in ReaderSDK

Note that authorization is a per-installation level, so this also means that any time you install on a new device, you’ll need to authorize. Does that help? Let us know! 🤓

Square Champions Logo
Isabelle
Square Community Manager
Learn about the Square Champions program here.
642 Views
Message 2 of 2
Report