From 031026bf377979feb2fe279d8eeee71f41746245 Mon Sep 17 00:00:00 2001 From: Josh Santos Date: Sun, 27 Oct 2019 21:19:07 -0700 Subject: [PATCH 1/3] Add run instructions --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 0968d01..f3a8d12 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,32 @@ # RNUrlPreviewExample react-native-url-preview demo + +# Usage +***NOTE: you may encounter an error, `EMFILE` too many open files, this can be fixed by either increasing max open files ulimit or installing the following package:*** + +``` + npm install watchman +``` + +## Dependencies instal +As a non root user, run the following: + +``` + npm i +``` + +## IOS Usage + +In order to run this in iOS simulator (limited to Mac OS) you should run the following command (replacing preferred simulator): + +``` + react-native run-ios --simulator +``` + +## Android Usage + +In order to run this in android simulator you should run the following command: + +``` + react-native run-android +``` From a0f5069153eec5fd227532f368df54a4fe2b9ae1 Mon Sep 17 00:00:00 2001 From: Josh Santos Date: Sun, 27 Oct 2019 21:20:32 -0700 Subject: [PATCH 2/3] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f3a8d12..57463d5 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ react-native-url-preview demo npm install watchman ``` -## Dependencies instal +## Dependencies installation As a non root user, run the following: ``` From 68b479e86fac478d54e4417a54a2a608e4e9a385 Mon Sep 17 00:00:00 2001 From: Josh Santos Date: Thu, 31 Oct 2019 19:17:29 -0700 Subject: [PATCH 3/3] Update SDK URL --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 57463d5..98dac44 100644 --- a/README.md +++ b/README.md @@ -28,5 +28,6 @@ In order to run this in iOS simulator (limited to Mac OS) you should run the fol In order to run this in android simulator you should run the following command: ``` + export JAVA_HOME=/Applications/Android\ Studio.app/Contents/jre/jdk/Contents/Home # use embedded JDK instead of system one react-native run-android ```