2026-04-03-pre map libra

This commit is contained in:
Hamza-Ayed
2026-04-04 00:12:33 +03:00
parent 0376a835ce
commit cbb1620874
70 changed files with 933 additions and 787 deletions

View File

@@ -20,39 +20,57 @@ android {
compileSdk = 36
ndkVersion "29.0.14033849"
externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
// Using a common, stable version. Your CMakeLists.txt requests 3.10.2,
// but your old gradle file had 3.22.1 and 3.31.5. Let's use a stable one.
version "3.22.1"
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
coreLibraryDesugaringEnabled true
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
jvmTarget = JavaVersion.VERSION_17
}
externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
version "3.22.1"
}
}
// تمت الإضافة: توجيه مسار المكتبات الأصلية لمطابقة تطبيق الراكب
sourceSets {
main {
jniLibs.srcDirs = ['src/main/jniLibs']
}
}
// Merged the two defaultConfig sections into one. This is the correct way.
defaultConfig {
applicationId = "com.intaleq_driver"
minSdkVersion = flutter.minSdkVersion
minSdkVersion = flutter.minSdkVersion
targetSdk = 36
versionCode = 59
versionName = '1.1.59' // I've used the higher version name
versionCode = 61
versionName = '1.1.61'
multiDexEnabled = true
ndk {
abiFilters "armeabi-v7a", "arm64-v8a" // Keep these!
abiFilters "armeabi-v7a", "arm64-v8a"
}
manifestPlaceholders += [mapsApiKey: keystoreProperties['mapsApiKey'] ?: ""]
// تمت الإضافة: تمرير تعليمات 16 KB لمترجم C++
externalNativeBuild {
cmake {
arguments "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
}
}
}
// تمت الإضافة: منع ضغط المكتبات لتتوافق مع متطلبات نظام التشغيل
packaging {
jniLibs {
useLegacyPackaging = false
}
}
signingConfigs {
@@ -80,9 +98,17 @@ flutter {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
// تمت الترقية لتطابق تطبيق الراكب
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5'
// تمت الترقية لتطابق تطبيق الراكب (لتجنب ملفات 4KB القديمة)
implementation "com.stripe:stripe-android:21.4.2"
implementation 'com.stripe:paymentsheet:21.4.2'
implementation 'com.scottyab:rootbeer-lib:0.1.0'
implementation 'com.stripe:paymentsheet:20.52.2'
implementation "androidx.concurrent:concurrent-futures:1.2.0" // Added this from your first file, it was missing
implementation 'com.google.android.gms:play-services-safetynet:18.0.1'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'
}
// تمت الترقية لتطابق تطبيق الراكب
implementation 'com.google.android.gms:play-services-safetynet:18.1.0'
implementation "androidx.concurrent:concurrent-futures:1.2.0"
}