+ Start a Discussion
HGBHGB 

SmartStore: deleting all tables

Hi,

 

When I synchronise the SmartStore with the online database I drop all soups (smartStore.dropAllSoups()) and then recreate them. This seems to make new tables in the SQLite database. However, the previous tables seem to remain and the memory load increases.

 

Is there a way to delete all the 'old' SQLite tables via SmartStore? Alternatively,  what is the location of the SQLite file SmartStore used, so that the database can be cleaned without using SmartStore?

 

Thanks,

 

Hugh

bhariharanbhariharan
What version of the Mobile SDK are you using? We fixed a bug around this
recently.

--
Sent from my iPhone
HGBHGB
Hi,

Sorry for the long time in getting back to you - I've had to work on something else and haven't been able to look back at this (and shouldn't be doing so even now).
The SalesForce plugin version is 29.0.0.201310181333
The forcedroid version is 2.0.6
The Android SDK is 4.3.

Thanks for taking a look,

Hugh
bhariharanbhariharan
Please upgrade to the latest version - forcedroid 2.1.0. We have fixed a bug around this, and you shouldn't see it in 2.1.0.