Is there any way on clearing the app data like on the settings when the app is updated?
I don’t think there is a native integration to
ActivityManager#clearApplicationUserData or the iOS equivalent.
You can however use the
Constants.manifest to determine if an app was updated. For example:
when app starts -> load last manifest.revisionId from "storage" -> get current manifest.revisionId from Constants.manifest.revisionId when these don't match -> manually clear storage -> store new Constants.manifest.revisionId
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.