Posts

Showing posts with the label android

Authenticate Using Google Sign-In on Android with Firebase

Image
Authentication is a key step in developing Android applications. There are several approaches to do authentication. Letting users authenticate with Firebase using their Google Accounts by integrating Google Sign-in to our applications is one approach. Other than using Google Sign-in, Firebase facilitates to sign in using Email-Password, Facebook, Twitter, Github and by Phone. In here I will explain on how to authenticate using Google Sign-in. There are few steps to follow. Adding Firebase to the Android Project. Following are some prerequisites for it. Device with Android 4.0 (Ice Cream Sandwich) or above. Google Play Services from the Google Repository Available in the Android SDK Manager. Android studio 1.5 or higher. Android Studio latest version ( 2.2 or above) provide inbuilt support for Firebase. It has Firebase assistant which is really helpful to connect our apps with Firebase and install necessary Gradle dependencies. Let’s start from the begining and will first create the and...