Hello,I’ve been trying to implement and handle relogin after session timeout but came to strange issue.
I’ve setuped session timeout to 60 secs and in my code in iOS app after getting 3048 error code will do relogin with username and password
when I start app, it works fine, getting error 3048 and after relogin requests are working fine if i don’t wait too long and session expires
but when I wait 60 secs and make request, I’ll get 9999 error - ‘License is not found’, ‘A license is needed to use a library. Contact Midnight Coders Sales to purchase the license’.
All following requests on persistenceService will fail with same error till the moment I check [userService isValidUserToken:] - with that I’ll get proper 3048 error code
Almost, just in second case, after 60secs I’ll get 9999 when doing query on backendless.presistenceService, but when calling [backenless.userService isValidToken:error:] I’ll get correct error.
Can you substitute users credentials and “Foo” to yours and try it? If it works for you - provide please a short snippet of your code so we can reproduce it on our side.
Thanks!
Alex