Skip to content

Instantly share code, notes, and snippets.

@jayrcodes
Last active July 27, 2019 16:58
Show Gist options
  • Select an option

  • Save jayrcodes/3c10873df76d57a64cc6d8550f2cfbeb to your computer and use it in GitHub Desktop.

Select an option

Save jayrcodes/3c10873df76d57a64cc6d8550f2cfbeb to your computer and use it in GitHub Desktop.

Revisions

  1. Jay-r Albano revised this gist Jul 27, 2019. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions React Native Scaffold Guide.md
    Original 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



  2. Jay-r Albano revised this gist Jul 27, 2019. 1 changed file with 31 additions and 0 deletions.
    31 changes: 31 additions & 0 deletions React Native Scaffold Guide.md
    Original 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


  3. Jay-r Albano revised this gist Jul 23, 2019. 1 changed file with 11 additions and 1 deletion.
    12 changes: 11 additions & 1 deletion React Native Scaffold Guide.md
    Original 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
    ```


  4. Jay-r Albano created this gist Jul 23, 2019.
    36 changes: 36 additions & 0 deletions React Native Scaffold Guide.md
    Original 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
    ```

    ###