mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-06 03:18:23 +00:00
Move usesCleartextTraffic to network security config file
Replace android:usesCleartextTraffic="true" in both main and offline manifests with android:networkSecurityConfig="@xml/network_security_config", and introduce app/src/main/res/xml/network_security_config.xml with <base-config cleartextTrafficPermitted="true" />. https://claude.ai/code/session_01RBEyGLZ1hh38BJAhV54tYz
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
android:localeConfig="@xml/locales_config"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.NostrSigner"
|
||||
android:usesCleartextTraffic="true"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
android:windowSoftInputMode="adjustResize"
|
||||
tools:targetApi="33">
|
||||
<receiver
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<network-security-config>
|
||||
<base-config cleartextTrafficPermitted="true" />
|
||||
</network-security-config>
|
||||
@@ -14,7 +14,7 @@
|
||||
android:launchMode="singleTop"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.NostrSigner"
|
||||
android:usesCleartextTraffic="true"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
android:windowSoftInputMode="adjustResize"
|
||||
tools:targetApi="33">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user