25-8-9-1
This commit is contained in:
@@ -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