Refresh Access token using Poynt android idk

Hi Dennis,

I could I refresht the expired access token in poynt android ask. I tried to call below API of AccountManager but I it is not refreshing the token.

accountManager.invalidateAuthToken(currentAccount.type, accessToken); accountManager.getAuthToken(currentAccount, Constants.Accounts.POYNT_AUTH_TOKEN, null, SplashActivity.this, new OnTokenAcquired(), null);

Best
Sandeep`

Hi Sandeep, what is your use case for invalidating the token?

Hi dennis,

I am running poynt register app and my own app on poynt simulator but from yesterday , it is giving me "Invalid access token " error while accessing any thing so I assume my token has expired and I need to refresh the token . All SDK api are returning error while calling them.

I am using android sdk in my app.

Best
Sandeep

could be an issue with the emulator, can you just create a new emulator instance and see if this is still happening?

It was issue from poynt side. It is resolved automatically.