We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a75cf28 commit d751527Copy full SHA for d751527
_drafts/2019-03-25-authentication.md
@@ -28,12 +28,15 @@ class FirebaseUIActivity : AppCompatActivity() {
28
super.onCreate(savedInstanceState)
29
setContentView(R.layout.activity_firebase_ui)
30
31
+ //check if user is already signed in
32
+ //if not then show sign in screen
33
+
34
//add available providers
35
val providers = arrayListOf(
36
AuthUI.IdpConfig.EmailBuilder().build(),
37
AuthUI.IdpConfig.PhoneBuilder().build(),
- AuthUI.IdpConfig.GoogleBuilder().build(),
- AuthUI.IdpConfig.TwitterBuilder().build())
38
+ AuthUI.IdpConfig.GoogleBuilder().build())
39
+ //add more like Twitter, Facebook etc
40
41
//start sign in screen and optional customize by logo, theme and urls
42
val intent = AuthUI.getInstance()
0 commit comments