ACCESS the FULL COURSE here: https://academy.zenva.com/product/and...
TRANSCRIPT
The first thing which we need to do is to create a new Android project and then also to pair it up with Firebase. So let's open up Android Studio. I'm using the version 3.4.1, but this should work with any subsequent versions as well. We wanna click here, start a new Android Studio Project and we wanna select Basic Activity to be our main activity. So select this Basic, just make sure it's selected. And let's call it Firebase Course. Language should be Kotlin and we are going to use AndroidX artifacts, so make sure you tick this bottom most check box. And once I've changed the location, we're going to say Finish. Once everything is properly configured because we have selected the blank activity template as we were creating this project, we are going to have three files which we are interested in and those are inside res, layout, we have content_main, but also activity_main which contains a floating action button which we will use to add new pets later one and then also we have the MainActivity Kotlin class itself. But let's not bother with these Android classes and layouts for now because we also have to set up a Firebase project in addition to an Android project. When you go to firebase.google.com and link is also in the lesson summaries, we wanna go to Console, so that URL is console.firebase.google.com and let's add a new project, so let's call it Zenva Firebase Course. Let's leave analytics location to be United States. I accept all the terms and conditions obviously, make sure you read them though and we're going to say Create project. It's gonna take some time, so let's just wait for a while. Awesome, once this project is created, we wanna go over to it. It's actually gonna take us there automatically and immediately we are prompted with the fact that we should add our app to the Firebase project, actually link our app with Firebase, so we are operating with Android. So, let's select this Android icon and now we have to input our data. The first thing which we should add here is Android package name. This is the one which you have selected as you were creating the project. If you do not know your package name for some reason, you can find it over inside Gradle Scrips, then build.gradle for the module app and over here is applicationId, so we wanna copy this. This is where we want to paste this Android package name. Then the app nickname here is only optional, so we can leave it blank. What we want to add though is this debug signing certificate SHA-1. It also writes here that it's optional but if you want to use Google Sign In, you need to provide this debug signing certificate. But what is actually this signing certificate? Every Android app needs to be signed with a KeyStore. When you upload an app onto Google Play, you sign it with your own KeyStore with your own password. If you're only debugging your app, so you are only running them from within Android Studio by clicking on this run icon, you are not applying your own KeyStore, you're only signing this app with a temporary so to say debug signing certificate and certain services, for example, Google Auth is one of them, require that you provide this debug signing certificate because they use it somehow to check whether or not the user who is trying to sign in with their Google account is actually using an app which is authorized by the Google Authentication to use it, right?
Watch video Android Dev Tutorial - How to Create a Firebase Project online without registration, duration hours minute second in high quality. This video was added by user Zenva 13 October 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,457 once and liked it 6 people.