manager: Usse WebViewAssetLoader instead of file uri. refer: https://developer.android.com/reference/androidx/webkit/WebViewAssetLoader

androidCompileSdkVersion changed to meet webview library requirements
This commit is contained in:
weishu
2024-02-23 16:12:53 +08:00
parent a829707b16
commit a99c69f9b4
4 changed files with 27 additions and 9 deletions

View File

@@ -10,6 +10,7 @@ compose-destination = "1.9.42-beta"
libsu = "5.2.1"
sheets-compose-dialogs = "1.2.0"
markdown = "4.6.2"
webkit = "1.10.0"
[plugins]
agp-app = { id = "com.android.application", version.ref = "agp" }
@@ -36,6 +37,7 @@ androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecyc
androidx-lifecycle-runtime-compose = { group = "androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "lifecycle" }
androidx-lifecycle-viewmodel-compose = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-compose", version.ref = "lifecycle" }
androidx-webkit = { module = "androidx.webkit:webkit", version.ref = "webkit" }
com-google-accompanist-drawablepainter = { group = "com.google.accompanist", name = "accompanist-drawablepainter", version.ref = "accompanist" }
com-google-accompanist-navigation-animation = { group = "com.google.accompanist", name = "accompanist-navigation-animation", version.ref = "accompanist" }
com-google-accompanist-systemuicontroller = { group = "com.google.accompanist", name = "accompanist-systemuicontroller", version.ref = "accompanist" }