Firebase Firestore Chat App: Sign-In & Setup (Ep 1) – Kotlin Android Tutorial



Firebase provides a bunch of awesome services such as Firestore, Auth, Cloud Storage, Cloud Functions and Cloud Messaging. Learn how to use them in this tutorial course in which we’re making a fully fledged real-time chat app with everything you’d expect like sending images and getting notifications when we receive a new message.

In this part you will learn how to set everything up in the Firebase Console and we will also sign our users in with Firebase UI Auth. We will also create a splash…

28 thoughts on “Firebase Firestore Chat App: Sign-In & Setup (Ep 1) – Kotlin Android Tutorial

  1. i got forced close and got error message like this java.lang.NoClassDefFoundError: com.google.android.gms.auth.api.credentials.PasswordSpecification
    at com.google.android.gms.auth.api.Auth$AuthCredentialsOptions$Builder.<init>(Unknown Source)
    at com.google.android.gms.auth.api.credentials.CredentialsOptions$Builder.<init>(Unknown Source)
    at com.firebase.ui.auth.util.GoogleApiUtils.getCredentialsClient(GoogleApiUtils.java:20)
    at com.firebase.ui.auth.util.signincontainer.SignInDelegate.onCreate(SignInDelegate.java:122)
    at androidx.fragment.app.Fragment.performCreate(Fragment.java:2414)
    at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1418)
    at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
    at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
    at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:802)
    at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)
    at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)
    at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)
    at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2273)
    at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3273)
    at androidx.fragment.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:3229)
    at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:201)
    at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:620)
    at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:178)
    at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1242)
    at android.app.Activity.performStart(Activity.java:6090)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2367)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2466)
    at android.app.ActivityThread.access$900(ActivityThread.java:175)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1369)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:135)

  2. i need functions like whatsapp in this FireMessage app….. can you please do this for us….we are developing a real app… i am a student of BS computer science ,,,and i like your videos ,,,,so help full

  3. I have downloaded and used the code that you shared, but when I run it I face this ERROR:

    Folder C:UsersXXXXXDesktopfirebase-firestore-chat-app-masterfirebase-firestore-chat-app-masterappbuildgeneratedsourcekaptKotlindebug

    Folder C:UsersXXXXXDesktopfirebase-firestore-chat-app-masterfirebase-firestore-chat-app-masterappbuildgeneratedsourcekaptKotlinrelease

    3rd-party Gradle plug-ins may be the cause

    Please, tell me what to do.

  4. What is that
    Error:FAILURE: Build failed with an exception.

    * What went wrong:
    A problem occurred configuring root project 'myappchat'.
    > Error snapshotting jar [fastutil-7.2.0.jar]

    * Try:
    Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.

    * Get more help at https://help.gradle.org

    BUILD FAILED in 2s

Leave a Reply to Hey Subscriber Cancel reply

Your email address will not be published. Required fields are marked *