Hello, I am working on an app in which I want the user to be also able to use the app with no internet connection.
Therefor I want the user to also be able to logout.
Calling the normal .logout() method simply throws an exception ‘Internal Client exepction’.
Calling the the .logout() with a callback will end up in a fault saying that the app was unable to connect to api.backendless.com.
I would like to know how to logout offline, or remove local data from the device.
Thanks
Our API implementation is not aware (does not check) the state of the internet connection. If there is not one, you will get a fault (as you have).
You can try checking if there is a connection and if not, remember in the app that user has logged out. Then upon the restart (or when the connection is back), issue the logout API call.