i working on app using google account sign feature, when running on emulator, logs in google service account, once install in phone doesn't work.
if (requestcode == rc_sign_in) { googlesigninresult result = auth.googlesigninapi.getsigninresultfromintent(data); if (result.issuccess()) { log.d(tag,"success"); googleaccount = result.getsigninaccount(); } else{ log.e(tag,"fail"); } updateui(); }
so, success code above when using emulator, getting fail when using phone.
[googleaccountdataserviceimpl] gettoken() -> network_error. account: <ellided:xxxxxxxxxx>, app: com.xxxxx.xxxxxx, service: oauth2:email openid profile
my phone's wifi off. turned on , worked fine
Comments
Post a Comment