From 34944a82250601765c796ca07e4d83a5104e7c6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20=E2=80=A2=20Developer?= Date: Sun, 16 Jul 2023 11:39:09 +0200 Subject: [PATCH] =?UTF-8?q?=E2=98=91=EF=B8=8F=20stable=20deployment=20on?= =?UTF-8?q?=20android?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/android/app/build.gradle | 5 ++-- .../android/app/src/main/AndroidManifest.xml | 23 +++++++++++++++++-- client/android/build.gradle | 7 +++--- 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/client/android/app/build.gradle b/client/android/app/build.gradle index 43aa585..2e400ab 100644 --- a/client/android/app/build.gradle +++ b/client/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion flutter.compileSdkVersion + compileSdkVersion 33 ndkVersion flutter.ndkVersion compileOptions { @@ -47,7 +47,7 @@ android { applicationId "com.threads.clone" // 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 flutter.minSdkVersion + minSdkVersion 29 targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName @@ -67,5 +67,6 @@ flutter { } dependencies { + implementation 'com.google.gms:google-services:4.3.15' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" } diff --git a/client/android/app/src/main/AndroidManifest.xml b/client/android/app/src/main/AndroidManifest.xml index 67123fa..e92f42d 100644 --- a/client/android/app/src/main/AndroidManifest.xml +++ b/client/android/app/src/main/AndroidManifest.xml @@ -1,9 +1,9 @@ + android:icon="@mipmap/ic_launcher"> + + + + + + + //TODO Google Sign IN + + + + + + + diff --git a/client/android/build.gradle b/client/android/build.gradle index 83ae220..974d276 100644 --- a/client/android/build.gradle +++ b/client/android/build.gradle @@ -1,12 +1,13 @@ buildscript { - ext.kotlin_version = '1.6.10' + ext.kotlin_version = '1.7.20' repositories { google() - mavenCentral() + jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:7.1.2' + classpath 'com.android.tools.build:gradle:7.2.1' + classpath 'com.google.gms:google-services:4.3.10' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } }