Skip to content

Instantly share code, notes, and snippets.

@chelseatroy
Created May 30, 2020 16:38
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/7b07188ea1be9bbf04eec45c543ba627 to your computer and use it in GitHub Desktop.
Save chelseatroy/7b07188ea1be9bbf04eec45c543ba627 to your computer and use it in GitHub Desktop.
Adding Permissions
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.chelseatroy.canary">
<application
...
</application>
// ADD THESE TWO LINES
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment