jonataslaw / get_storage

A fast, extra light and synchronous key-value storage to Get framework
MIT License
342 stars 81 forks source link

Cache persist even after uninstalling the app and installing it again #112

Open AdelKanso opened 1 year ago

AdelKanso commented 1 year ago

I've noticed a strange problem, that cache isn't cleared after uninstalling the app and installing it again from playstore, even if I wipe the cache. I'm still debugging the problem, is this problem related to the phone, or it may be a bug in this package? Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.0.4, on Microsoft Windows [Version 10.0.19043.1826], locale en-US) [√] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [√] Chrome - develop for the web [!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.2) X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components: MSVC v142 - VS 2019 C++ x64/x86 build tools

Phone details: oneplus 7 pro android 11 GM1917

Note: am working on android studio, no need to worry about flutter doctor issue regarding visual studio

AbhijithKonnayil commented 1 year ago

facing the same issue.

felipecastrosales commented 1 year ago

i have this same problem.

gibbsvjy007 commented 1 year ago

any updates on this issue?

felipecastrosales commented 1 year ago

@jonataslaw, any idea how to reverse this behaviour?

sinnoorc commented 1 year ago

facing same issue after calling the erase method

guozhigq commented 1 year ago

maybe you need mod android > app > src > main > AndroidManifest.xml

<application android:label="vvex" android:name="${applicationName}" android:icon="@mipmap/ic_launcher" android:allowBackup="false" android:fullBackupOnly="false"

https://developer.android.com/guide/topics/manifest/application-element?hl=zh-cn

jonataslaw commented 1 year ago

You can disable backup as suggested by @guozhigq

sinnoorc commented 1 year ago

@guozhigq thank you now its working fine