erickok / transdroid

Manage your torrents from your Android device
GNU General Public License v3.0
1.28k stars 201 forks source link

`getLongVersionCode` requires API 28 but current min is 15 #647

Closed bwitt closed 3 months ago

bwitt commented 1 year ago

Looks like getLongVersionCode (used in the app update checker) requires API 28 https://developer.android.com/reference/android/content/pm/PackageInfo#getLongVersionCode()

but the current min API is 15 https://github.com/erickok/transdroid/blob/b3532a4b7fa15989b72e6912ec3611b3472516ab/app/build.gradle#L7

Introduced in https://github.com/erickok/transdroid/pull/559