From ab52a0f63e46101c8dc2d70e470dcec6feabcf58 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 24 May 2022 19:12:22 +0300 Subject: [PATCH] Update Android wrappers for Flutter 3 --- .metadata | 2 +- android/app/build.gradle.dev | 4 ++++ android/app/build.gradle.prod | 4 ++++ android/app/src/main/AndroidManifest.foss.xml | 1 + android/app/src/main/AndroidManifest.xml | 1 + android/build.gradle | 4 +++- android/gradle/wrapper/gradle-wrapper.properties | 2 +- pubspec.foss.yaml | 2 +- pubspec.lock | 4 ++-- pubspec.next.yaml | 2 +- pubspec.yaml | 2 +- 11 files changed, 20 insertions(+), 8 deletions(-) diff --git a/.metadata b/.metadata index deb187da7..8bb66d200 100644 --- a/.metadata +++ b/.metadata @@ -15,7 +15,7 @@ migration: - platform: root create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 - - platform: linux + - platform: android create_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 base_revision: ee4e09cce01d6f2d7f4baebd247fde02e5008851 diff --git a/android/app/build.gradle.dev b/android/app/build.gradle.dev index 128047c4b..5bc941e85 100644 --- a/android/app/build.gradle.dev +++ b/android/app/build.gradle.dev @@ -27,6 +27,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { compileSdkVersion 31 + ndkVersion flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -42,7 +43,10 @@ android { } defaultConfig { + // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.invoiceninja.app" + // You can update the following values to match your application needs. + // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. minSdkVersion 19 targetSdkVersion 30 versionCode flutterVersionCode.toInteger() diff --git a/android/app/build.gradle.prod b/android/app/build.gradle.prod index 6fe1914a9..7919611d7 100644 --- a/android/app/build.gradle.prod +++ b/android/app/build.gradle.prod @@ -32,6 +32,7 @@ keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) android { compileSdkVersion 31 + ndkVersion flutter.ndkVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -47,7 +48,10 @@ android { } defaultConfig { + // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.invoiceninja.app" + // You can update the following values to match your application needs. + // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. minSdkVersion 19 targetSdkVersion 30 versionCode flutterVersionCode.toInteger() diff --git a/android/app/src/main/AndroidManifest.foss.xml b/android/app/src/main/AndroidManifest.foss.xml index 70b558a1a..84db5f89b 100644 --- a/android/app/src/main/AndroidManifest.foss.xml +++ b/android/app/src/main/AndroidManifest.foss.xml @@ -15,6 +15,7 @@ android:icon="@mipmap/ic_launcher">