Skip to content

Instantly share code, notes, and snippets.

@chelseatroy
Created May 31, 2020 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chelseatroy/743c92d4ce74d1e909995433a8be81fb to your computer and use it in GitHub Desktop.
Save chelseatroy/743c92d4ce74d1e909995433a8be81fb to your computer and use it in GitHub Desktop.
Adding Network Security Config
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.chelseatroy.canary">
<application
//ADD THIS LINE
android:networkSecurityConfig="@xml/network_security_config"
...
</application>
...
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment