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
To use FirebaseUI to authenticate users we need to do a few things:
42
+
43
+
1. Add our Facebook/Twitter/Google keys to strings.xml
44
+
2. Add our activities to our AndroidManifest.xml
45
+
3. Inherit from FirebaseLoginBaseActivity
46
+
4. Call showFirebaseLoginDialog();
47
+
48
+
### Add our Facebook/Twitter/Google keys to strings.xml
49
+
50
+
Open your `res/values/strings.xml` file and add the following lines, replacing `[VALUE]` with your key.
51
+
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.
53
+
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).
0 commit comments