Remove unused apps/desktop folder and update README for Android-only project.
- Removed entire apps/desktop directory with Tauri desktop support - Updated README.md to focus on Android development only - Removed iOS-specific instructions and references - Streamlined getting started guide with dependency installation step 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
54
README.md
54
README.md
@@ -4,9 +4,21 @@ This is a new [**React Native**](https://reactnative.dev) project, bootstrapped
|
||||
|
||||
> **Note**: Make sure you have completed the [Set Up Your Environment](https://reactnative.dev/docs/set-up-your-environment) guide before proceeding.
|
||||
|
||||
## Step 1: Start Metro
|
||||
## Step 1: Install Dependencies
|
||||
|
||||
First, you will need to run **Metro**, the JavaScript build tool for React Native.
|
||||
First, install the required dependencies:
|
||||
|
||||
```sh
|
||||
# Using npm
|
||||
npm install
|
||||
|
||||
# OR using Yarn
|
||||
yarn install
|
||||
```
|
||||
|
||||
## Step 2: Start Metro
|
||||
|
||||
You will need to run **Metro**, the JavaScript build tool for React Native.
|
||||
|
||||
To start the Metro dev server, run the following command from the root of your React Native project:
|
||||
|
||||
@@ -18,9 +30,9 @@ npm start
|
||||
yarn start
|
||||
```
|
||||
|
||||
## Step 2: Build and run your app
|
||||
## Step 3: Build and run your app
|
||||
|
||||
With Metro running, open a new terminal window/pane from the root of your React Native project, and use one of the following commands to build and run your Android or iOS app:
|
||||
With Metro running, open a new terminal window/pane from the root of your React Native project, and use the following command to build and run your Android app:
|
||||
|
||||
### Android
|
||||
|
||||
@@ -32,37 +44,13 @@ npm run android
|
||||
yarn android
|
||||
```
|
||||
|
||||
### iOS
|
||||
> **Note**: This project is configured for Android development only.
|
||||
|
||||
For iOS, remember to install CocoaPods dependencies (this only needs to be run on first clone or after updating native deps).
|
||||
If everything is set up correctly, you should see your new app running in the Android Emulator or your connected Android device.
|
||||
|
||||
The first time you create a new project, run the Ruby bundler to install CocoaPods itself:
|
||||
You can also build it directly from Android Studio.
|
||||
|
||||
```sh
|
||||
bundle install
|
||||
```
|
||||
|
||||
Then, and every time you update your native dependencies, run:
|
||||
|
||||
```sh
|
||||
bundle exec pod install
|
||||
```
|
||||
|
||||
For more information, please visit [CocoaPods Getting Started guide](https://guides.cocoapods.org/using/getting-started.html).
|
||||
|
||||
```sh
|
||||
# Using npm
|
||||
npm run ios
|
||||
|
||||
# OR using Yarn
|
||||
yarn ios
|
||||
```
|
||||
|
||||
If everything is set up correctly, you should see your new app running in the Android Emulator, iOS Simulator, or your connected device.
|
||||
|
||||
This is one way to run your app — you can also build it directly from Android Studio or Xcode.
|
||||
|
||||
## Step 3: Modify your app
|
||||
## Step 4: Modify your app
|
||||
|
||||
Now that you have successfully run the app, let's make changes!
|
||||
|
||||
@@ -71,7 +59,6 @@ Open `App.tsx` in your text editor of choice and make some changes. When you sav
|
||||
When you want to forcefully reload, for example to reset the state of your app, you can perform a full reload:
|
||||
|
||||
- **Android**: Press the <kbd>R</kbd> key twice or select **"Reload"** from the **Dev Menu**, accessed via <kbd>Ctrl</kbd> + <kbd>M</kbd> (Windows/Linux) or <kbd>Cmd ⌘</kbd> + <kbd>M</kbd> (macOS).
|
||||
- **iOS**: Press <kbd>R</kbd> in iOS Simulator.
|
||||
|
||||
## Congratulations! :tada:
|
||||
|
||||
@@ -79,7 +66,6 @@ You've successfully run and modified your React Native App. :partying_face:
|
||||
|
||||
### Now what?
|
||||
|
||||
- If you want to add this new React Native code to an existing application, check out the [Integration guide](https://reactnative.dev/docs/integration-with-existing-apps).
|
||||
- If you're curious to learn more about React Native, check out the [docs](https://reactnative.dev/docs/getting-started).
|
||||
|
||||
# Troubleshooting
|
||||
|
||||
Reference in New Issue
Block a user