How to remove local storage as app get uninstall

Any Updates on this Issue ??

Unfortunately, I could not find any solution

1 Like

Found a workaround, check if it helps you,
Go to Platform/Android/AndroidMainfest.xml
Replace two tags with the following

<manifest android:hardwareAccelerated="true" android:versionCode="30740" android:versionName="3.0.740" package="com.locationguru.teampilot" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">

<application android:allowBackup="false" android:fullBackupContent="false" android:hardwareAccelerated="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:supportsRtl="true" tools:replace="android:allowBackup">

As per reference from here.

7 Likes

I will try this. Thanks for the tip!

:slight_smile: thank you so much. It works!

@sahildaga95 Thanks! it worked. I am struggling with this for long time :slight_smile:

I know this method but can we do it programmatically. because may users donā€™t know this method

Thanks @sahildaga95. Works perfectly fine :smiley:

Hi muhammadFaizanKhan
just do like this
this.nativestorage.remove(ā€œkeyā€).then(()=>{ // go to the login page or where you want})

cheers!!

:slight_smile: thank you so much. It works!