Skip to main content

Google Login for Android/iOS

Overview

This doc will help you to integrate google login in your android and iOS app.

Prerequisites

  1. You must have Push notification configured through appmaker dashboard.
  2. You must have enabled Multipass login in shopify store, and get the Multipass secret key from shopify store.
  3. Enable Shopify Multipass extension in appmaker dashboard, and add the Multipass secret key in the extension Admin settings.

Steps

  1. Make sure you have activated Google login extension in your appmaker dashboard
  2. Go to the Firebase dashboard, click Project Overview
  3. Select Project Settings, the settings page appears
App Screenshot
  1. Scroll down and click on the Add fingerprint for Android apps
App Screenshot
  1. 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
App Screenshot
  1. Next, go to Authentication and click Get Started
App Screenshot
  1. Click on Google to edit and enable the button
App Screenshot
App Screenshot
  1. Enter your app name without space in the Project public-facing name field

  2. Enter email id in the Project support email field and click Save to complete the process

App Screenshot

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 the Apple app store and Google Play Store. The app will now work properly with the Google login feature on iOS devices. However, for Android, there is an additional step that needs to be implemented after the app is published in Google Play Store.

Additional step after you release the app to Google Play Store

After you release the app to Google Play Store, you need to add the SHA-1 key of the Google Play Store to the Firebase console. This is required to make the Google login feature work on Android devices.

  1. Publish the app in Google Play Store
  2. Once the app is published, go to your Google Play Console
  3. Click Release management and select App signing, the App signing page appears
  4. Go to App signing certificate and copy the text after SHA1 from the SHA-1 certificate fingerprint
note

Do not include the text SHA1 while copying

App Screenshot
  1. Go to Firebase
  2. Click on Project Overview and select Project Settings
App Screenshot
  1. Scroll down and click on Add Fingerprint for Android apps
App Screenshot
  1. Paste the SHA1 text in the box under the SHA certificate fingerprints to complete the process
App Screenshot

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