Skip to content

Instantly share code, notes, and snippets.

@fellypsantos
Forked from erkattak/AndroidManifest.xml
Created June 5, 2020 03:15
Show Gist options
  • Select an option

  • Save fellypsantos/10818d0fb4d30e01c0f3119eaed2b781 to your computer and use it in GitHub Desktop.

Select an option

Save fellypsantos/10818d0fb4d30e01c0f3119eaed2b781 to your computer and use it in GitHub Desktop.

Revisions

  1. Erik Straub created this gist Jun 19, 2017.
    8 changes: 8 additions & 0 deletions AndroidManifest.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    <application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:theme="@style/AppTheme"
    android:networkSecurityConfig="@xml/network_security_config">
    9 changes: 9 additions & 0 deletions network_security_config.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    <?xml version="1.0" encoding="utf-8"?>
    <network-security-config>
    <debug-overrides>
    <trust-anchors>
    <!-- Trust user added CAs while debuggable only -->
    <certificates src="user" />
    </trust-anchors>
    </debug-overrides>
    </network-security-config>