Skip to content

Latest commit

 

History

History

example

Getting Started

Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.

Step 1: Setup the Application

yarn setup

This will prebuild the project. Prebuild means it will create the native ios and android for you to get started.

Step 2: Modifying your App

Now that you have successfully run the app, let's modify it.

⚛️ TS

  1. Open App.tsx in your text editor of choice and edit some lines.

  2. For Android: Press the R key twice or select "Reload" from the Developer Menu (Ctrl + M (on Window and Linux) or Cmd ⌘ + M (on macOS)) to see your changes!

    For iOS: Hit Cmd ⌘ + R in your iOS Simulator to reload the app and see your changes!

🍎 IOS

Open ios/ExifyExample.xcworkspace in Xcode and run the project. Browse to Pods -> Development -> Exify folder. Modify to your heart's content. You will need to rebuild the project to see your changes.

🤖 Android

Open android in Android Studio and run the project. Browse to android -> app -> src -> ... -> MainActivty.kt. Modify to your heart's content. You will need to rebuild the project to see your changes.

Congratulations! 🎉

You've successfully run and modified your React Native App. 🥳

Now what?

Troubleshooting

Try cleaning the project:

yarn clean

If you can't get this to work, see the Troubleshooting page.

Learn More

To learn more about React Native, take a look at the following resources: