25-3/11/1

This commit is contained in:
Hamza-Ayed
2025-03-11 15:58:17 +03:00
parent 3162b1bec6
commit df2bbd4604
442 changed files with 48712 additions and 182 deletions

View File

@@ -24,21 +24,40 @@ if (flutterVersionName == null) {
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
// apply plugin: 'com.google.gms.google-services'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
// Load keystore properties if the file exists
if (keystorePropertiesFile.exists()) {
keystorePropertiesFile.withReader('UTF-8') { reader ->
keystoreProperties.load(reader)
}
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
android {
namespace "com.mobileapp.store.ride"
compileSdk 35
ndkVersion "27.0.12077973"
// Remove ndkVersion and let Gradle use the default
// ndkVersion "27.0.12077973"
externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
version "3.31.5"
}
}
defaultConfig {
applicationId = "com.mobileapp.store.ride"
minSdk = 23
targetSdk = flutter.targetSdkVersion // Use flutter.targetSdkVersion
versionCode = 124
versionName = '2.0.124'
multiDexEnabled = true
ndk {
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
@@ -51,29 +70,19 @@ android {
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
main {
jniLibs.srcDirs = ['src/main/jniLibs']
}
}
defaultConfig {
// Specify your unique Application ID
applicationId = "com.mobileapp.store.ride"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdk = 23
targetSdk = flutter.targetSdkVersion
versionCode = 121
versionName = '2.0.121'
multiDexEnabled =true
// manifestPlaceholders can be specified here if needed
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
// Check if properties are defined before using them
storeFile = keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword = keystoreProperties['storePassword']
keyAlias = keystoreProperties['keyAlias']
keyPassword = keystoreProperties['keyPassword']
}
}
@@ -93,15 +102,9 @@ flutter {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'
// Optional dependencies like Firebase can be uncommented if needed
// implementation platform('com.google.firebase:firebase-bom:32.1.1')
implementation "com.stripe:stripe-android:20.52.2"
implementation 'com.stripe:paymentsheet:20.52.2'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5'
implementation "com.stripe:stripe-android:21.4.2"
implementation 'com.stripe:paymentsheet:21.4.2'
implementation 'com.scottyab:rootbeer-lib:0.1.0'
// If push provisioning is needed, make sure you have the correct version:
// implementation "com.stripe:stripe-android-pushprovisioning:VERSION" // Replace VERSION with the correct one.
implementation 'com.google.android.gms:play-services-safetynet:18.1.0'
}