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