diff --git a/android/app/build.gradle b/android/app/build.gradle
index 189bbb2..0b47941 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -22,6 +22,9 @@ if (flutterVersionName == null) {
}
apply plugin: 'com.android.application'
+// START: FlutterFire Configuration
+apply plugin: 'com.google.gms.google-services'
+// END: FlutterFire Configuration
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
@@ -32,7 +35,8 @@ if (keystorePropertiesFile.exists()) {
}
android {
- compileSdkVersion 34
+ namespace "com.didvan.didvanapp"
+ compileSdk 34
ndkVersion "25.1.8937393"
compileOptions {
@@ -53,7 +57,7 @@ android {
applicationId "com.didvan.didvanapp"
minSdkVersion 24
//noinspection ExpiredTargetSdkVersion
- targetSdkVersion 30
+ targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
@@ -79,6 +83,22 @@ android {
buildFeatures {
viewBinding true
}
+
+ splits {
+ //configure apks based on ABI
+ abi {
+ enable true
+ reset()
+ include "x86", "x86_64", "armeabi-v7a", "arm64-v8a"
+ universalApk true
+
+ }
+// density {
+// enable true
+// reset()
+// include "mdpi", "hdpi", "xhdpi", "xxhdpi", "xxxhdpi"
+// }
+ }
}
flutter {
@@ -86,10 +106,11 @@ flutter {
}
dependencies {
- implementation platform('com.google.firebase:firebase-bom:29.1.0')
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+ // implementation platform('com.google.firebase:firebase-bom:29.1.0')
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10"
implementation 'com.google.code.gson:gson:2.10.1'
-// implementation 'com.github.bumptech.glide:glide:4.16.0'
implementation 'com.squareup.picasso:picasso:2.8'
- implementation 'com.android.support:cardview-v7:28.0.0'
+ implementation "androidx.room:room-runtime:2.2.5"
+ implementation "androidx.sqlite:sqlite-framework:2.1.0"
+ implementation "androidx.sqlite:sqlite:2.1.0"
}
diff --git a/android/app/google-services.json b/android/app/google-services.json
index 5cb370e..db46785 100644
--- a/android/app/google-services.json
+++ b/android/app/google-services.json
@@ -29,6 +29,13 @@
{
"client_id": "935017686266-lebnol7rb05oi9h0mripb41c892d2gij.apps.googleusercontent.com",
"client_type": 3
+ },
+ {
+ "client_id": "935017686266-54hu01v9cc5pqpgofo1gk2n3hegj4r2m.apps.googleusercontent.com",
+ "client_type": 2,
+ "ios_info": {
+ "bundle_id": "com.didvan.didvanapp"
+ }
}
]
}
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 66ac4b8..4401ef0 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -8,14 +8,14 @@
-
-
+
+
+
-
+ android:permission="android.permission.BIND_JOB_SERVICE" android:exported="true" />
+
+
+
+
+