google plus login gives error code 10 in signed ionic app -


i'm developing ionic application using google plus login. work when in developing.but in signed apk give me error 10. code below

      window.plugins.googleplus.login({             scopes: 'profile',              webclientid: 'xxxxxx.apps.googleusercontent.com',             offline: true        },function (user_data) {         console.log(user_data)       },function (msg) {            alert(msg);       }); 

i have generated new sha1 key , webclientid using realese keystore. think sha1 key problem, i'm not solution yet.

please give me solution

thanks in advance

first make sure saving sha-1 fingerprint (for debug , release mode) on firebase enter image description here

i had issue days, app working fine when deployed device pc, in debug , release mode, login started falling when published app android store, , install there, problem app signing selected default when publish… enter image description here in order fix have sha-1 fingerprint android developer console , add firebase console… appsigningappsigning.png851x399 50.4 kb i’ve created blog post explaining in details here http://www.jomendez.com/2017/08/30/ionic-2-google-sign-in-error-10-with-firebase/

hope helps ;)


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -