June 2018
Beginner to intermediate
394 pages
9h 2m
English
Now, let's write the code for Sign in or Sign up using an Email provider. Already signed up users can enter the email ID and password to start using the application. In the case of new account creation, users should be able to enter the necessary information in the form to create an account. When we use the FirebaseUI library, the bare minimum UI is taken care of. The following code dictates the steps for creating email onboarding:
// Add this in global scopeprivate static final int REQUEST_CODE = 101;private void Authenticate() { startActivityForResult( AuthUI.getInstance().createSignInIntentBuilder() .setAvailableProviders(getAuthProviderList()) .setIsSmartLockEnabled(false) .build(), REQUEST_CODE);}private List<AuthUI.IdpConfig> ...
Read now
Unlock full access