Skip to content

Commit 1b1cdb5

Browse files
authored
Merge pull request #624 from puilp0502/facebook-without-email
Support Facebook Login without email
2 parents 812ff23 + fa832d4 commit 1b1cdb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auth/src/main/java/com/firebase/ui/auth/provider/FacebookProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ public void onCompleted(JSONObject object, GraphResponse response) {
146146
String email = object.getString("email");
147147
onSuccess(email, loginResult);
148148
} catch (JSONException e) {
149-
Log.e(TAG, "JSON Exception reading from Facebook GraphRequest", e);
150-
onFailure(new Bundle());
149+
Log.e(TAG, "Failure retrieving Facebook email", e);
150+
onSuccess(null, loginResult);
151151
}
152152
}
153153
}

0 commit comments

Comments
 (0)