Skip to content

Commit c66b209

Browse files
author
Aaron Mandle
committed
Fix facebook_permissions resource check
1 parent f9c002f commit c66b209

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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
@@ -58,10 +58,10 @@ public FacebookProvider(Context appContext, IdpConfig idpConfig) {
5858
mCallbackManager = CallbackManager.Factory.create();
5959

6060
if (appContext.getResources().getIdentifier(
61-
"google_permissions", "array", appContext.getPackageName()) != 0) {
61+
"facebook_permissions", "array", appContext.getPackageName()) != 0) {
6262
Log.w(TAG, "DEVELOPER WARNING: You have defined R.array.facebook_permissions but that"
6363
+ " is no longer respected as of FirebaseUI 1.0.0. Please see README for IDP"
64-
+ " scope configuraton instructions.");
64+
+ " scope configuration instructions.");
6565
}
6666

6767
List<String> scopes = idpConfig.getScopes();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public GoogleProvider(FragmentActivity activity, @Nullable String email, IdpConf
6666
"google_permissions", "array", activity.getPackageName()) != 0){
6767
Log.w(TAG, "DEVELOPER WARNING: You have defined R.array.google_permissions but that is"
6868
+ " no longer respected as of FirebaseUI 1.0.0. Please see README for IDP scope"
69-
+ " configuraton instructions.");
69+
+ " configuration instructions.");
7070
}
7171

7272
// Add additional scopes

0 commit comments

Comments
 (0)