KEMBAR78
Versions newer than 1.32.0 report wrong version in User-Agent on Android · Issue #892 · googleapis/google-http-java-client · GitHub
Skip to content

Versions newer than 1.32.0 report wrong version in User-Agent on Android #892

@abelthefirst

Description

@abelthefirst

I'm using 1.33.0, but the version reported is 0.0.

User-Agent: Google-HTTP-Java-Client/0.0 (gzip)

The reason is the implementation of the BaseDexClassLoader.getPackage(String name) - https://android.googlesource.com/platform/libcore/+/refs/heads/master/dalvik/src/main/java/dalvik/system/BaseDexClassLoader.java#305

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.semver: patchA minor bug fix or small change.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions