Partial Revert "CertifitacePinning: Add toggle to enable/disable"

Disable certificate pinning for debug builds only.
This reverts commit fbeee2300c.
This commit is contained in:
Aayush Gupta
2024-12-18 21:59:26 +07:00
parent e17dbb8f96
commit 3423fc3ecf
5 changed files with 13 additions and 47 deletions

View File

@@ -231,8 +231,6 @@
<string name="pref_network_proxy_title">Proxy</string>
<string name="pref_network_proxy_enable">"Enable proxy"</string>
<string name="pref_network_proxy_enable_desc">"Allow all traffic from app to go through the proxy"</string>
<string name="pref_certificate_pinning_enable">"Enable certificate pinning"</string>
<string name="pref_certificate_pinning_enable_desc">"Locks the app to trust only specific server certificates, preventing connections to untrusted or compromised servers."</string>
<string name="pref_network_proxy_url">"Proxy URL"</string>
<string name="pref_network_proxy_url_message">Enter a valid proxy URL to pass all data through the proxy.</string>
<string name="pref_ui_title">"Customization"</string>

View File

@@ -44,12 +44,6 @@
app:singleLineTitle="false"
app:title="@string/pref_common_extra" />
<SwitchPreferenceCompat
app:iconSpaceReserved="false"
app:key="PREFERENCE_CERTIFICATE_PINNING_ENABLED"
app:summary="@string/pref_certificate_pinning_enable_desc"
app:title="@string/pref_certificate_pinning_enable" />
<com.aurora.store.view.custom.preference.AuroraListPreference
app:defaultValue="0"
app:entries="@array/pref_vending_version"