25-8-9-1
This commit is contained in:
@@ -45,10 +45,10 @@ android {
|
||||
applicationId = "com.Intaleq.intaleq"
|
||||
// You can update the following values to match your application needs.
|
||||
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
||||
minSdk = 23
|
||||
targetSdk = flutter.targetSdkVersion
|
||||
versionCode = 6
|
||||
versionName = '1.0.6'
|
||||
minSdk = 29
|
||||
targetSdk = 36
|
||||
versionCode = 7
|
||||
versionName = '1.0.7'
|
||||
multiDexEnabled = true
|
||||
ndk {
|
||||
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
|
||||
|
||||
@@ -22,6 +22,10 @@
|
||||
<application
|
||||
android:label="Intaleq"
|
||||
android:name="${applicationName}"
|
||||
android:allowBackup="false"
|
||||
android:fullBackupContent="false"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
android:usesCleartextTraffic="false"
|
||||
android:icon="@mipmap/launcher_icon">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
|
||||
26
android/app/src/main/res/xml/network_security_config.xml
Normal file
26
android/app/src/main/res/xml/network_security_config.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<network-security-config>
|
||||
<!-- منع أي اتصال HTTP غير مشفّر -->
|
||||
<base-config cleartextTrafficPermitted="false">
|
||||
<trust-anchors>
|
||||
<!-- الاعتماد على شهادات النظام فقط -->
|
||||
<certificates src="system" />
|
||||
</trust-anchors>
|
||||
</base-config>
|
||||
|
||||
<!-- اسمح بالاتصال بدوميناتك فقط -->
|
||||
<domain-config cleartextTrafficPermitted="false">
|
||||
<domain includeSubdomains="true">intaleq.xyz</domain>
|
||||
<!-- أضف أي ساب دومين تحتاجه هنا -->
|
||||
<!-- <domain includeSubdomains="true">walletintaleq.intaleq.xyz</domain>
|
||||
<domain includeSubdomains="true">syria.intaleq.xyz</domain> -->
|
||||
</domain-config>
|
||||
|
||||
<!-- في debug فقط: اسمح بشهادات المستخدم لسهولة الاختبار عبر Proxy -->
|
||||
<debug-overrides>
|
||||
<trust-anchors>
|
||||
<certificates src="system" />
|
||||
<certificates src="user" />
|
||||
</trust-anchors>
|
||||
</debug-overrides>
|
||||
</network-security-config>
|
||||
Reference in New Issue
Block a user