to focus on crafting fantastic user experiences. You don’t need to manage servers. You don’t need to write APIs. Firebase is your server, your API and your datastore, all written so generically that you can modify it to suit most needs. Some firebase features: 1. Realtime Database 2. File Storage 3. Authentication 4. Hosting
build tools for API version 26 ◆ Android SDK Manager-> SDK Tools • Google Play Services rev 30 or newer • Google Repository rev 26 or newer ➔ DevFest App Repo Link http://bit.ly/2jv1HZX
Create a new project. ◆ Add Firebase to your android app. ◆ Android Package name -> build.gradle/applicationId ◆ SHA1 hash of your debug key. (Process in next slide) ◆ Download google-services.json file
a new branch name devfest-codelab • Open build.gradle located in project's home directory, add firebase dependency and Google's Maven repository: ◦ DevFestFirebaseApp/build.gradle • Add INTERNET Permissions in Manifest file to enable us make network calls. • Add Google Services file to app folder of your project. ◦ The project will not build without this file.
◦ compile 'com.google.firebase:firebase-auth:11.6.0' • At the bottom of the file apply the plugin: ▪ apply plugin: 'com.google.gms.google-services' ▪ This plugin reads google-services.json file & injects some of its values into your build
new user with email and password data. • Use the link below to access the solution source code of SignUpActivity.java: ◦ Exercise: http://bit.ly/2AUmvyf ◦ Solution: http://bit.ly/2AIVug9