Peste-dev / elegant-react-native

Elegant React Native
MIT License
51 stars 16 forks source link
react-native

Elegant React Native ( WIP ) - RN 0.63.2

Installation

First, make sure you Installed React Native cli and its requirements according to Facebook Docs.

  1. Clone the project:

     git clone https://github.com/iran-react-community/elegant-react-native.git
     cd elegant-react-native
  2. Add your desired name:

    Open app.json file where you can edit your project name and displayName.

  3. Eject:

    Now run react-native eject To generate ios and android folders

  4. Linking the vector icons:

    react-native link this will add app/assets/fonts and react-native-vector-icons

  5. Install the iOS dependencies:

    cd ios && pod install && cd ..

  6. Run the project:

    • yarn ios to Run Ios development

    • yarn android to Run Android development

Fix probable issues

Additional Steps

Enable Hermes

Edit your android/app/build.gradle file and make the change illustrated below:

  project.ext.react = [
      entryFile: "index.js",
-     enableHermes: false  // clean and rebuild if changing
+     enableHermes: true  // clean and rebuild if changing
  ]
cd android && ./gradlew clean && cd ../  && yarn android

Todo then

Contribution

License

MIT

Free Software, Hell Yeah!