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


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


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


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


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

Environment Variables:

    ANDROID_HOME : D:\Android\sdk


    backend : pro


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:

Facebook plugin not work in prod version

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.