Helpcenter +918010117117 https://cdn.storehippo.com/s/573db3149f0d58741f0cc63b/ms.settings/5256837ccc4abf1d39000001/57614ef64256dc6851749879-480x480.png" [email protected] https://www.facebook.com/StoreHippohttps://twitter.com/StoreHippohttps://www.linkedin.com/company/hippoinnovations/https://plus.google.com/+Storehippo/posts
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India
call to replace anchor tags contains '/admin' in href

Set up Google Login for mobile app

Before you can integrate Google Sign-In into your website, you are required to have the Web client ID and Web client secret. For that, you must create a Google Firebase Console project. 

Follow these steps to integrate the Google sign-in to your store:

  1. Go to Google Firebase Console.
  2. Click on Add Project.
  3. In the pop-up window opened, select the Project Name from the drop-down. Select the checkbox to agree to the terms and conditions.
  4. Click on Add Firebase button.
  5. The Firebase dashboard is then displayed as follows.
  6. In the Firebase dashboard, click on the Android icon to create an android project.

  7. In the next step, you are required to register your app.
  8. Enter the package name of your app which you can find in the Mobile App section in the StoreHippo Admin panel. It should be in the format com.storehippo.appname.
  9. Provide the SH-1 certificate. In case you are using StoreHippo inbuilt Android build then enter the SHA-1  as 15:27:AE:98:AA:0F:93:05:4F:6A:1E:F1:99:1E:88:D9:33:29:AA:AE.
  10. Click on the Register app button.
  11. Now, download the configuration file and click on Next.
  12. Click on Skip the steps.
  13. Now, in the firebase dashboard, go to the Developer section.
  14. Click on the Authentication and go to the Sign-in method tab. All the available sign-in providers are listed here.
  15. Go to Google sign-in and enable it.
  16. Click on the Web SDK configuration.
  17. Copy the Web client ID and Web client secret.
  18. Go to Mobile Apps > Mobile Apps in StoreHippo Admin Panel.
  19. Add/Edit the mobile app. 
  20. Go to the Social Login tab.
  21. In the Google log-in settings, enter the Web Client ID

Changes to be made to after publishing the app

Google Firebase re-signs your app with a new key on publishing. You must update your mobile app with the new signing key for the Google Login to work on your published. 

Following are the steps

https://play.google.com/console/developers/app/keymanagement

  1. Go to Google console => Release Management => App signing => App signing certificate.
  2. Copy the SHA Fingerprint  (as shown in the image)

Go to your app settings on Firebase and add the SHA Fingerprint key. 

You should be able to use Google Login on your published app now.

2022-09-16T12:30:47.667Z