Ionic 2 storage is not cleaning up on uninstall -

2019-07-11 22:56发布

I am using Ionic 2 storage for storing user credentials. On uninstalling the App, storage is not clearing so after re-installing, the App is picking up the user credential of the previous user.

This issue is occurring only in signed APKs. Tested on samsung on7 and lenova vibe models.

How to clear the storage on uninstall? what I am doing wrong?

2条回答
仙女界的扛把子
2楼-- · 2019-07-11 23:37

you should not need to do anything for this to happen. This looks like a bug in ionic 2

Ionic forum discussion

查看更多
祖国的老花朵
3楼-- · 2019-07-11 23:51

Set android:allowBackup to false in AndroidManifest to XML

查看更多
登录 后发表回答