android-user-agent icon indicating copy to clipboard operation
android-user-agent copied to clipboard

Check version status with Long

Open fitzsia2 opened this issue 5 years ago • 0 comments

As of API 28, PackageInfo.versionCode is deprecated and replaced with longVersionCode which is a long. We should update UserAgent.getVersionCode() to use PackageInfoCompat.getLongVersionCode() and return long instead of int

See more info about versionCode here

fitzsia2 avatar Nov 24 '20 09:11 fitzsia2