Add Permissions (Android Only)
Add the following permissions to your app's AndroidManifest.xml (which should be located under android/app/src/main/).
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.your.application">
// Add the following:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
// ...
</manifest>