Skip to content
This repository was archived by the owner on Feb 14, 2020. It is now read-only.

Facebook login error with enablelocaldatastore #17

Open
rochadaniel opened this issue Jan 16, 2016 · 0 comments
Open

Facebook login error with enablelocaldatastore #17

rochadaniel opened this issue Jan 16, 2016 · 0 comments

Comments

@rochadaniel
Copy link

Facebook user login doesn't work as expected when I use Parse.enableLocalDatastore, but without Parse.enableLocalDatastore it works perfectly.
I'm currently using com.parse:parse-android:1.11.0 and com.parse:parsefacebookutils-v4-android:1.10.3@aar.
Below is the code i'm trying to execute in production.

public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        Parse.enableLocalDatastore(this);
        if ( BuildConfig.DEBUG ) {
            Parse.initialize(this, "xx", "xx");
        } else {
            Parse.initialize(this, "xx", "xx");
        }
        ParseConfig.getInBackground();
        ParseUser.enableAutomaticUser();
        ParseInstallation.getCurrentInstallation().saveInBackground();
        ParseFacebookUtils.initialize(this);
    }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant