I’ve encountered issue with cache clearing on iOS.
User can login to their BIM360 account from our app to browse and download files from it.
The InAppWebBrowser is only used to handle the login to the user account. It is composed of four screens: 1) email address; 2) password; 3) right permission; 4) auth callback local url.
Then, we use the token given as parameter in the local url to perform BIM360 requests.
What we want:
When the user decide to logout, or if the token is expired, the user has to log again to access online files.
If we do not clear the cache and the user try to log in again, they are directly at step 3 (they do not have to enter their email/password).
By clearing the cache (InAppBrowser.ClearCache()) on browser close, everything is ok. On iOS, however, it does not work.
Is it a known problem ? I’ve seen several posts that were either about the opposite (they did not wanted the cache to be cleared) or about Android (and from 2017/2018).
This topic was modified 3 months ago by kfournier. Reason: wrong html tags
I noticed that one of my sentence was incomplete in my first message:
By clearing the cache (InAppBrowser.ClearCache()) on browser close, everything is ok on Android. On iOS, however, it does not work.
Clearing the cache works well on Android so we do not have the problem on this plateform. That’s why I created this thread in the first place.