Created
June 26, 2022 09:22
-
-
Save RyanDsilva/24b6fd5efc3db80c5d8c4e797ebf6c64 to your computer and use it in GitHub Desktop.
Android Network Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="dev.ryandsilva.flutter_app"> | |
<application | |
android:label="flutter_app" | |
android:name="${applicationName}" | |
android:icon="@mipmap/ic_launcher" | |
android:networkSecurityConfig="@xml/security_config"> | |
... | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<network-security-config> | |
<domain-config cleartextTrafficPermitted="false"> | |
<domain includeSubdomains="true">ryandsilva.dev</domain> | |
<trust-anchors> | |
<certificates src="@raw/ryandsilva-dev"/> | |
</trust-anchors> | |
</domain-config> | |
</network-security-config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment