Google login for Android and iOS devices

Trying to create a new username and password for each app can be difficult to remember. Thankfully, most apps use social login features like Google login to make logging in easier and faster. Get the Google login feature for your app too and increase your user acquisition.

Follow the steps below to configure the Google login feature in your Android and iOS device.

Step 1: Setup Push Notifications for Android and iOS apps and Firebase analytics. Follow the steps mentioned in the link and set up push notification and Firebase to proceed further.

Step 2: a) Go to your Appmaker dashboard. Click on ‘Update App’.

Appmaker Dashboard

b) Go to Add-ons. Enable Google login. And click on ‘Submit’.

Google login enable button

Step 3: Go to https://firebase.google.com/ and login to your app account.

Google Firebase project tabs

Step 4: a) Click on ‘Project Overview’, then click on ‘Project Settings’.

Google Firebase project overview

b) Copy the project ID. This needs to be done for security reasons.

c) Go to your Appmaker dashboard and click on ‘Settings’. Go to ‘Social login’ and paste the project ID in the ‘Firebase Project ID’ field. Click on ‘save’.

Step 5: a) Click on ‘Project Overview’, then click on ‘Project Settings’.

b) Scroll down and you will find an option to add fingerprint for Android. Click on that

Adding fingerprint on firebase

c) Add the below SHA-1 key as a fingerprint

ed:34:3a:18:65:11:42:b5:44:7f:0d:c3:41:67:08:68:ab:9a:05:dc

Step 6: a) Next, go to ‘Authentication’. Click on ‘Sign-in method’ and Enable Google.

b) Click on edit for Google. Enable the button. Enter your app name without space. Enter your support email id and click on ‘save’.

You are now good to go. To test the Google login in the app, download the latest apk version from your Appmaker dashboard and test the app.

Note:

The Google login feature will now work for both Android and iOS devices. You can now publish the app or release an updated version of the app in Apple appstore and Google playstore. The app will now work properly with Google login feature in iOS devices. However, for Android, there is an additional step that needs to be implemented after the app is published in Google playstore.

Additional step after you release the app to the Google playstore

Step 1: Publish the app in Google playstore.

Step 2: Once the app is published, go to your Google play console.

Step 3: Go to ‘Release management’. Click on ‘App signing’. Copy the content after ‘SHA1:’.

Step 4: Go to https://firebase.google.com/

Step 5: Click on the gear symbol of ‘Project Overview’. Then click on ‘Project Settings’.

Step 6: Scroll down the page and click on ‘Add fingerprint’ for your android app.

Step 7: Paste the SHA1 content here.

You are good to go now. Get your users to login to your app using this easy-to-go Google login feature!

———- END ———-