Bump minimum extension lib and WebView versions

This commit is contained in:
arkon 2020-04-18 14:51:20 -04:00
parent 415df2357c
commit fbf13efe74
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ internal object ExtensionLoader {
private const val EXTENSION_FEATURE = "tachiyomi.extension"
private const val METADATA_SOURCE_CLASS = "tachiyomi.extension.class"
const val LIB_VERSION_MIN = 1.0
const val LIB_VERSION_MIN = 1.2
const val LIB_VERSION_MAX = 1.2
private const val PACKAGE_FLAGS = PackageManager.GET_CONFIGURATIONS or PackageManager.GET_SIGNATURES

View file

@ -6,7 +6,7 @@ private val WEBVIEW_UA_VERSION_REGEX by lazy {
Regex(""".*Chrome/(\d+)\..*""")
}
private const val MINIMUM_WEBVIEW_VERSION = 70
private const val MINIMUM_WEBVIEW_VERSION = 79
fun WebView.isOutdated(): Boolean {
return getWebviewMajorVersion(this) < MINIMUM_WEBVIEW_VERSION