Last active
July 27, 2019 16:58
-
-
Save jayrcodes/3c10873df76d57a64cc6d8550f2cfbeb to your computer and use it in GitHub Desktop.
Revisions
-
Jay-r Albano revised this gist
Jul 27, 2019 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -74,4 +74,9 @@ brew cask install adoptopenjdk8 - Run Android on Android Studio - Run react-native run-android ### Generate Signed (Release) APK Android Studio > Build > Generate Signed Bundle / APK > APK > (Enter credentials) > Release
-
Jay-r Albano revised this gist
Jul 27, 2019 . 1 changed file with 31 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -43,4 +43,35 @@ cd ios pod install ``` # Android Setup - Install required softwares ``` brew install node brew install watchman brew tap AdoptOpenJDK/openjdk brew cask install adoptopenjdk8 ``` - Generate Keystore Android Studio > Build > Generate Signed Bundle / APK - Copy debug.keystore to ~/{project}/android/app folder ``` cp ~/.android/debug.keystore ~/{project}/android/app ``` - If java is not working properly, just repeat this command ``` brew tap AdoptOpenJDK/openjdk brew cask install adoptopenjdk8 ``` - Run Android on Android Studio - Run react-native run-android
-
Jay-r Albano revised this gist
Jul 23, 2019 . 1 changed file with 11 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,5 +32,15 @@ pod install ios/{your_project_file}.xcworkspace ``` ### Steps on installing new library - Terminate xcode - Terminate terminal process ``` npm install --save the-new-library cd ios pod install ``` -
Jay-r Albano created this gist
Jul 23, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,36 @@ # React Native Scaffold Guide ### Install react native cli ``` npm install -g react-native-cli ``` ### Create new application ``` react-native init AwesomeProject ``` ### remove node_modules and npm install (I got into problem, so this will remove error) ``` rm -rf node_modules npm install ``` ### Install cocoapods dependencies ``` cd ios pod install ``` ### Open project on xcode ``` ios/{your_project_file}.xcworkspace ``` ###