Easiest way to handle errors (especially the errors represented by notifications).
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android
ios
src
.gitignore
README.md
app.json
index.js
package-lock.json
package.json
yarn.lock

README.md

react-native-error-handling

Easiest way to handle errors (especially the errors represented by notifications).

Pre-requests:

iOS

Install Xcode via the Mac App Store. This willl come together with iOS Simulator and all the necessary to build the app on iOS.

Android

Follow the steps from Android Development environment doc.

Common

Install node, watchman and react-native-cli

brew install node
brew install watchman
npm install -g react-native-cli

Clone Repo

https://github.com/MCROEngineering/react-native-error-handling

Install dependencies via npm

npm install

Run the Application

iOS

The following command will run the application on the iOS simulator by default.

react-native run-ios

Alternatively open the XArchive file within Xcode.

If you want to run the app on a physical iOS device, follow these instructions.

Android

The following command will run the application on an Android Virtual Device if any is opened. You can use Android Studio (see docs) for creating a Virtual Device or you can use Genymotion as well.

react-native run-android

If you want to run the app on a physical Android device, follow these instructions.

Notes

Both Load recipe and Place an Order will fail only for the first item in the list (Oreo Brownie).