Closed
Description
Current Code
//Enable Local Datastore
Parse.enableLocalDatastore(this);
//initialize Parse with Parse Server
Parse.initialize(this, getResources().getString(R.string.parse_app_id), getResources().getString(R.string.parse_client_id));
Personal Server Code
//Enable Local Datastore
Parse.enableLocalDatastore(this);
//initialize Parse with Heroku Server
Parse.initialize(new Parse.Configuration.Builder(this)
.applicationId(getResources().getString(R.string.parse_app_id))
.clientKey(getResources().getString(R.string.parse_client_id))
.server(getResources().getString(R.string.parse_server_url)).build()
);
App works fine till I replace it with the personal server code, the app crashes while querying from local datastore which is odd. crashes at the code below:
localQuery.fromLocalDatastore();
Metadata
Metadata
Assignees
Labels
No labels