You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -43,15 +43,18 @@ To use FirebaseUI to authenticate users we need to do a few things:
43
43
1. Add our Facebook/Twitter/Google keys to strings.xml
44
44
2. Add our activities to our AndroidManifest.xml
45
45
3. Inherit from FirebaseLoginBaseActivity
46
-
4. Call showFirebaseLoginDialog();
46
+
4. Enable authentication providers
47
+
5. Call showFirebaseLoginDialog();
48
+
49
+
We'll go into each of these steps below.
47
50
48
51
### Add our Facebook/Twitter/Google keys to strings.xml
49
52
50
53
Open your `res/values/strings.xml` file and add the following lines, replacing `[VALUE]` with your key.
51
54
52
-
Keep in mind, these are all optional. If you don't plan to use Twitter/Facebook/Google login, you can leave those values empty or remove the string definition entirely.
55
+
Keep in mind, these are all optional. You only have to provide values for the providers you plan to use.
53
56
54
-
*Note:* If you're not using *all* available providers, you'll need to manually create and manage your `FirebaseLoginDialog` and specify the enabled providers as demonstrated in[`FirebaseLoginBaseActivity.java`](library/src/main/java/com/firebase/ui/auth/core/FirebaseLoginBaseActivity.java).
Now that our activity is set up, we can enable authentication providers. The FirebaseUI login prompt will only display providers you enable here, so don't worry if you don't want to use them all!
0 commit comments