Ionic 3: Google and Facebook Signin is not working after publish app on play store


#1

Google and facebook sign in works fine when I build apk by “ionic cordova build android --prod”
but when I publish my demo app on google play store

Then I downloaded my demo app from play store
but google and facebook sign in is not working

please help me


#2

Which app?? And you didn’t provide any info how can someone be of any help??


#3

Hello, @uddyvky

My Demo app
Ionic info:-

 cli packages:

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.0.0
    Cordova Platforms  : android 6.3.0
    Ionic Framework    : ionic-angular 3.6.1

System:

    Android SDK Tools : 26.1.1
    Node              : v6.10.3
    npm               : 4.6.1
    OS                : Windows 7

Environment Variables:

    ANDROID_HOME : D:\Android\sdk

Misc:

    backend : pro

#4

Old, maybe upgrade?

Same here:
Your Cordova tooling seems to be out of date, which might be causing all kinds of problems.
You can read about how to figure out the current Cordova versions and how to update CLI, platforms and plugins here: https://ionic.zone/cordova/update


Facebook plugin not work in prod version
#5

I do not know the reason, but after publication SHA-1 fingerprint of applications do not correspond to the .keystore that you signed.
I downloaded .apk from Google Play, got it SHA-1 fingerprint and pointed it in the settings of Google and Faсebook.