React native network error setup using https://github.com/react-native-community/react-native-netinfo
For more details check out: https://mks-technophile.netlify.app/blog/react-native-network-error/
$ yarn install
$ cd ios && pod install
$ cd ..
- android
$ npx react-native run-android
- iOS
$ npx react-native run-ios
on root directory
$ xcrun simctl list devices
$ npx react-native run-ios --simulator="iPhone 11"