I am having issue with cleaning my local data store after uninstalling or clear the app from settings. Can you tell me what I doing wrong ?
I want local data store to empty, once I clear the app or uninstall the app completely.
my application class:
public void onCreate() {
super.onCreate();
// ParseObject.registerSubclass(test.class);
Parse.enableLocalDatastore(this);
Parse.initialize(this, "xyz", "abc");
// ParseUser.enableAutomaticUser();
/* Parse.initialize(new Parse.Configuration.Builder(this)
.applicationId("myappkey")
.clientKey("myclientkey")
.server("http://100.100.100.100:1000/parse/") // The trailing slash is important.
.enableLocalDataStore().build()
);*/
ParseACL defaultACL = new ParseACL();
defaultACL.setPublicReadAccess(true);
ParseACL.setDefaultACL(defaultACL, true);
}