-
Notifications
You must be signed in to change notification settings - Fork 232
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
GoogleCredentials not working on Android OS 8 and below #1603
Comments
Hey @play-yuhei-ueno, can you provide more details about this issue? A stacktrace or logs would help us diagnose the issue better. We're not certain what went wrong/ what isn't working for you. Also, the link you provided above may have expired. I am unable to view that link |
Supplemental Information
Since there are no error logs, I added logging to trace where the issue occurs. Based on the logs, the problematic code is specifically within the Here is the code I used for debugging:
Below is the log output: From these results, I used Network Inspector to investigate what the I suspect that the issue might be related to the access to the above URL. Specifically, it seems like no response is being returned. |
The If you need to retrieve the access token, you can call
I am a bit confused on this. Since no network call from the Credentials should have been made, are you sure this is happening? A repro would be helpful to debug this case (perhaps there is something else going on that I can't explain). |
I tried again and I am having trouble with
You say you are not calling the network from Credentials, what else do you think is going on? I have no idea other than |
I would need a repro to be able to investigate. Android is not something that I am familiar with and I would need something reproducible to confirm this is an auth library issue.
google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/GoogleCredentials.java Line 195 in 8e59c59
Assuming that you're using a Service Account, it creates a ServiceAccountCredentials object: google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ServiceAccountCredentials.java Line 482 in 8e59c59
I have no idea what version of Java that is being used for compatibility with Android OS 8 and below. The Auth Library supports Java 8+ |
Going to close this issue due to inactivity. If there is a repro, stack trace, logs, or any other information that could help us narrow down the possible issue, we can proceed from there and I'll re-open the issue. |
Environment details
Steps to reproduce
Code example's will reproduce it reliably.
Code example
Stack trace
No stack trace...
External references such as API reference guides
Any additional information below
https://support.google.com/googleplay/android-developer/thread/313885564/googlecredentials-not-working-on-android-os-8-and-below
I've tried posting questions here.
I checked with Firebase, but since it's about Playitegrity, they responded that they want me to check with this community, so I'm asking the question.
The text was updated successfully, but these errors were encountered: