Project

General

Profile

Actions

Feature #1163

closed

Bump the minimum API to 26

Added by Soren Stoutner 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Next Release
Start date:
02/06/2024
Due date:
% Done:

0%

Estimated time:

Description

Google no longer supports WebView for less than API 26 (Android 8).

Actions #1

Updated by Soren Stoutner 6 months ago

This will enable the final remove of everything relating to form data.

main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt:        // Only display the form data menu items if the API < 26.
main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt:        optionsSaveFormDataMenuItem.isVisible = Build.VERSION.SDK_INT < 26
main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt:        optionsClearFormDataMenuItem.isVisible = Build.VERSION.SDK_INT < 26
main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt:        optionsClearFormDataMenuItem.isEnabled = Build.VERSION.SDK_INT < 26
main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt:        if (Build.VERSION.SDK_INT < 26) {
main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt:                    if (Build.VERSION.SDK_INT < 26) {
main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt:                // Apply the form data setting if the API < 26.
main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt:                if (Build.VERSION.SDK_INT < 26) {
main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt:                // Apply the form data setting if the API < 26.
main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt:                if (Build.VERSION.SDK_INT < 26)
main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt:        // Clear form data if the API < 26.
main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.kt:        if (Build.VERSION.SDK_INT < 26 && (clearEverything || sharedPreferences.getBoolean(getString(R.string.clear_form_data_key), true))) {
main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.kt:        // Set the save form data icon if API < 26.  Save form data has no effect on API >= 26.
main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.kt:        if (Build.VERSION.SDK_INT < 26) {
main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.kt:        // Set the clear form data icon if the API < 26.  It has no effect on newer versions of Android.
main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.kt:        if (Build.VERSION.SDK_INT < 26) {
main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.kt:                    // Update the clear form data preference icon if the API < 26.
main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.kt:                    if (Build.VERSION.SDK_INT < 26) {
main/java/com/stoutner/privacybrowser/fragments/DomainSettingsFragment.kt:        if (Build.VERSION.SDK_INT < 26) {
main/java/com/stoutner/privacybrowser/coroutines/SaveAboutVersionImageCoroutine.kt:                } else {  // The API is < 26.
Actions #2

Updated by Soren Stoutner 5 months ago

This is the link showing the minimum API supported by the current version of WebView.

https://www.apkmirror.com/apk/google-inc/android-system-webview/android-system-webview-121-0-6167-164-release/

Actions

Also available in: Atom PDF