fix(deps): align webview_flutter_android dependency and explicit compileSdk 34
This commit is contained in:
1 parent
6a08c6da84
commit
f308e7502a
3 files changed
+5
-6
No files matched your search
@@ -1,6 +1,6 @@
|
||||
plugins {
|
||||
id "com.android.application"
|
||||
id "kotlin-android"
|
||||
id "org.jetbrains.kotlin.android"
|
||||
id "dev.flutter.flutter-gradle-plugin"
|
||||
}
|
||||
|
||||
@@ -24,8 +24,7 @@ if (flutterVersionName == null) {
|
||||
|
||||
android {
|
||||
namespace "com.airagroup.aira_ai"
|
||||
compileSdk flutter.compileSdkVersion
|
||||
ndkVersion flutter.ndkVersion
|
||||
compileSdk 34
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
@@ -43,7 +42,7 @@ android {
|
||||
defaultConfig {
|
||||
applicationId "com.airagroup.aira_ai"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion flutter.targetSdkVersion
|
||||
targetSdkVersion 34
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
versionName flutterVersionName
|
||||
multiDexEnabled true
|
||||
|
||||
@@ -108,7 +108,7 @@ class _WebViewScreenState extends State<WebViewScreen> {
|
||||
|
||||
// Auto-grant Camera and Microphone permissions for Voice chat & Image attachments
|
||||
androidController.setOnPlatformPermissionRequest(
|
||||
(PlatformWebViewPermissionRequest request) {
|
||||
(request) {
|
||||
request.grant();
|
||||
},
|
||||
);
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ dependencies:
|
||||
sdk: flutter
|
||||
cupertino_icons: ^1.0.8
|
||||
webview_flutter: ^4.10.0
|
||||
webview_flutter_android: ^3.16.9
|
||||
webview_flutter_android: ^4.3.2
|
||||
permission_handler: ^11.3.1
|
||||
url_launcher: ^6.3.1
|
||||
flutter_spinkit: ^5.2.1
|
||||
|
||||
Reference in new issue
Block a user