Kotlin Firebase Authentication – How to Sign Up, Sign In, Sign Out, Verify Email | Android
kotin
3
firebase
39
authentication
21
android
87
Male avatar

loveprogramming viết ngày 22/05/2021

https://grokonez.com/android/kotlin-firebase-authentication-how-to-sign-up-sign-in-sign-out-verify-email-android

Kotlin Firebase Authentication – How to Sign Up, Sign In, Sign Out, Verify Email | Android

Firebase Authentication provides backend services, easy-to-use SDKs, and ready-made UI libraries to authenticate users to your app. In this tutorial, we're gonna build a simple register/login Android App using Firebase Email & Password authentication with Kotlin language.

More Practice:

I. Way to do

1. Add Firebase to Android Project

1.1 Step by step

  • Create new Android App including Kotlin support.
  • From menu bar, Tool -> Firebase:
    kotlin-firebase-auth-setup-tool

  • Assistant window will be shown. Choose Authentication, then click on Email and password authentication:
    kotlin-firebase-auth-setup-0

  • At the step 1, click on Connect to Firebase:
    kotlin-firebase-auth-setup-1

  • In new Window, choose Create new Project and fill in the name of Firebase Project:
    kotlin-firebase-auth-setup-2

  • Click on Connect to Firebase, the Browser will show new Firebase Project that has just been created:
    kotlin-firebase-auth-setup-5

  • Come back to Android Studio, at the step 2, click on Add Firebase Authentication to your app:
    kotlin-firebase-auth-setup-3

  • You will see a new window that shows the code will be add to build.gradle files. Click on Accept Changes:
    kotlin-firebase-auth-setup-4

  • Now view your Project under Project type, you can see google-services.json file:
    kotlin-firebase-auth-setup-json

    1.2 Check dependencies

    Open Gradle file to check what happens, we can see that some code has been added:

  • build.gradle (project-level):

    
    buildscript {
    // ...
    dependencies {
        // ...
        classpath 'com.google.gms:google-services:3.1.0'
    }
    }
    

More at:

https://grokonez.com/android/kotlin-firebase-authentication-how-to-sign-up-sign-in-sign-out-verify-email-android

Kotlin Firebase Authentication – How to Sign Up, Sign In, Sign Out, Verify Email | Android

Bình luận


White
{{ comment.user.name }}
Bỏ hay Hay
{{comment.like_count}}
Male avatar
{{ comment_error }}
Hủy
   

Hiển thị thử

Chỉnh sửa

Male avatar

loveprogramming

545 bài viết.
98 người follow
Kipalog
{{userFollowed ? 'Following' : 'Follow'}}
Cùng một tác giả
Male avatar
1 0
Tutorial Link: (Link) (Ảnh) Django is a Pythonbased free and opensource web framework that follows the modeltemplateview architectural pattern. A...
loveprogramming viết hơn 1 năm trước
1 0
Male avatar
1 0
https://loizenai.com/angular11nodejspostgresqlcrudexample/ Angular 11 Node.js PostgreSQL Crud Example (Ảnh) Tutorial: “Angular 11 Node.js Postg...
loveprogramming viết hơn 1 năm trước
1 0
Male avatar
1 0
Angular Spring Boot jwt Authentication Example Github https://loizenai.com/angularspringbootjwt/ (Ảnh) Tutorial: ” Angular Spring Boot jwt Authe...
loveprogramming viết hơn 1 năm trước
1 0
Bài viết liên quan
Male avatar
0 0
https://grokonez.com/frontend/angular/angular4firebaseauthemailpasswordauthenticationwithangularfire2emaillogin Angular Firebase Auth Email/Passwo...
loveprogramming viết 1 năm trước
0 0
{{like_count}}

kipalog

{{ comment_count }}

bình luận

{{liked ? "Đã kipalog" : "Kipalog"}}


Male avatar
{{userFollowed ? 'Following' : 'Follow'}}
545 bài viết.
98 người follow

 Đầu mục bài viết

Vẫn còn nữa! x

Kipalog vẫn còn rất nhiều bài viết hay và chủ đề thú vị chờ bạn khám phá!