-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something went wrong, error code 10 on Android #371
Comments
Maybe this will help: #332 (comment) |
I tried but It doesn't work for me. I integrated Google Oauth Sign In in my Ionic Capacitor App but I have an issue for Android Device only: When the user clicks on the Google login button from the app, a popup appears to select the gmail account. Immediately afterwards the system goes into error and in the log I find this error: { I've read several posts and tried different solutions but I can't resolve the problem. I followed the following steps
Certificate fingerprints:
|
I'll pay for support |
Any update on this? I'm implementing this and just ran into this issue :( |
I added my app SHA-256 in Firebase and it is started working for web application in android folder I executed following command in command prompt and copy SHA1 to Firebase SHA certificate fingerprints and same I did for SHA-256. |
Just an update from me: As mentioned in other threads, we should be using the web app key for Android. Additionally, the SHA-1 for each keystore and the Google Play Console all need to be included on the certs page in the Google Console. Each type of build has a SHA-1 that needs to be available on the Google Console for sso to work on android. I recommend fetching the SHA-1 for the debug keystore, the generated keystore you use to sign your app, and the SHA-1 available on the Play Console. If set up correctly, the SSO should go through. If not, then the SHA-1 for the version you're running isn't available on the Google Console. |
Hi |
Yes! |
same issue here after update to capacitor 6 |
I integrated plugin on my ionic capacitor app. On iOS, it works. On Android Device I always receve this error:
I configured all as wiki but I can't solve.
I have some doubts:
Downloaded from firebase console my google-services.json. Is it required? Where I need to save it?
I can't have "capacitor.config.json" file. I have only capacitor.config.ts
In google-service.json file there are several codes:
What is "serverClientId"?
What is the crrect SHA-1 to register at Android Console?
a) That present in Google Play Console?
b) Thant generate from command line (keytool -keystore MYKEYSTORE -list -v)?
My google-services.json file is:
My capacitor.config.ts
As "androidClientId" I used "client.oauth_client.client_id". The same of there is on Google Cloud Console, OAuth 2.0 Client IDs as "[Android client for it.gemarexpress (auto created by Google Service)]"
The text was updated successfully, but these errors were encountered: