BASE: Imlement Localization In Auth.

This commit is contained in:
2025-12-03 15:25:19 +05:00
parent 2736727592
commit 3e18352abe
24 changed files with 3484 additions and 795 deletions

View File

@@ -1,3 +1,6 @@
import java.util.Properties
import java.io.FileInputStream
plugins {
id("com.android.application")
// START: FlutterFire Configuration
@@ -8,8 +11,14 @@ plugins {
id("dev.flutter.flutter-gradle-plugin")
}
val keystoreProperties = Properties()
val keystorePropertiesFile = rootProject.file("key.properties")
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(FileInputStream(keystorePropertiesFile))
}
android {
namespace = "com.emart.customer"
namespace = "felix.fondex.uz"
compileSdk = 36
ndkVersion = flutter.ndkVersion
@@ -25,7 +34,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.emart.customer"
applicationId = "felix.fondex.uz"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = 26
@@ -34,11 +43,20 @@ android {
versionName = flutter.versionName
}
signingConfigs {
create("release") {
keyAlias = keystoreProperties["keyAlias"] as String
keyPassword = keystoreProperties["keyPassword"] as String
storeFile = keystoreProperties["storeFile"]?.let { file(it) }
storePassword = keystoreProperties["storePassword"] as String
}
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.getByName("debug")
signingConfig = signingConfigs.getByName("release")
isMinifyEnabled = false
isShrinkResources = false
}

View File

@@ -10,7 +10,7 @@
"client_info": {
"mobilesdk_app_id": "1:893074789710:android:05002c15a64cf1e0c4ba1f",
"android_client_info": {
"package_name": "com.emart.customer"
"package_name": "felix.fondex.uz"
}
},
"oauth_client": [
@@ -35,7 +35,7 @@
"client_id": "893074789710-pv12m4nhe82a4ueg9sb2pgt42r0e5da3.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.emart.customer"
"bundle_id": "felix.fondex.uz"
}
}
]

View File

@@ -10,7 +10,7 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
<!-- <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> -->
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
@@ -53,7 +53,7 @@
<!-- Main Activity (Kotlin-based) -->
<activity
android:name="com.emart.customer.MainActivity"
android:name="felix.fondex.uz.MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:enableOnBackInvokedCallback="true"
android:exported="true"
@@ -90,7 +90,7 @@
<data
android:host="paypalpay"
android:scheme="com.emart.customer" />
android:scheme="felix.fondex.uz" />
</intent-filter>
<!-- PayPal cancel redirect -->
@@ -102,7 +102,7 @@
<data
android:host="paypalcancel"
android:scheme="com.emart.customer" />
android:scheme="felix.fondex.uz" />
</intent-filter>

View File

@@ -1,4 +1,4 @@
package com.emart.customer
package felix.fondex.uz
import io.flutter.embedding.android.FlutterFragmentActivity