‫Hello, my friends.
‫Now let's continue building the sign up activity and test the application if the creation of the users
‫is done.
‫In a good way.
‫I will create this update function that took in parameter the user firebase user Alt+ enter to import
‫this package and reload Alt+ enter to create this reload function so I will create public function reload.
‫It's not.
‫Anything but an empty function.
‫Later on we will see it when we need to reload the functionality.
‫So here I will use.
‫This import to import the package.
‫Now let me move it to the main activity.
‫I changed the layout to this tag because I'm going to use the binding and here I will create a late
‫initiate binding activity main binding and this binding I'm using the data binding util that set content
‫or the activity because I'm going to use the uh, the button create account button, dot set on click
‫listener.
‫And here what I need to do, I'm going to go to another intent.
‫So Val intent, it's of type intent.
‫I'm going from this activity to sign up activity class dot Java.
‫Start activity intact.
‫Let me run the application and see.
‫And here we go.
‫This is our application.
‫Let me let me click on the Create account button.
‫And here I will enter the credentials.
‫So the email I will use Jack at gmail.com.
‫The password is one, two, three, four.
‫The username is Jack.
‫Okay.
‫Now if I click on sign up I expect to create a new user here.
‫Click sign up.
‫So authentication failed.
‫Why?
‫It's failed.
‫Let me check.
‫If I go to the logcat, I can see this error that create user with email is failed because the given
‫password is invalid.
‫Password should be at least six characters.
‫So again, I will go to the.
‫Password.
‫I will enter.
‫One, two, three, four, five, six.
‫And let me click on sign up.
‫Let me see if there is any problem.
‫I think that there is no no errors and the account is working fine.
‫And there we go.
‫This is our first account.
‫You can see guys that we have created this account Jack, at gmail.com and everything is working fine.
‫And this is the user ID and signed in one February 20th, 23 and created 1st February 2023.
‫So congratulations guys.
‫You can reset the password, disable account, delete account, sign in methods, you can add more methods,
‫but I prefer you can.
‫You can use the one time password, SMS verification, and so on.
‫So congratulations guys.
‫It's our pleasure to see how to create a the authentication and bind firebase with our accounts and
‫our applications.
‫So.
‫Let's continue in the next video.