Skip to content

feat: add commands to open Android Emulator and iOS Simulator#1165

Closed
fardad-dev wants to merge 3 commits intocallstack:mainfrom
fardad-dev:openEmulatorSimulator
Closed

feat: add commands to open Android Emulator and iOS Simulator#1165
fardad-dev wants to merge 3 commits intocallstack:mainfrom
fardad-dev:openEmulatorSimulator

Conversation

@fardad-dev
Copy link
Copy Markdown
Contributor

This commands are useful for open emulator/simulator faster and easier. similar what expo does.

Summary

  • Added openEmulator and openSimulator functions to manage emulator and simulator processes.
  • Updated dependencies to include @clack/prompts for user prompts.

Test plan

i was tested it by my own app and TesterApp too.

  • run start command
  • press e for emulator, then select from list of available emulators
  • press s for simulator, then select from list of available simulators

* Added `openEmulator` and `openSimulator` functions to manage emulator and simulator processes.
* Updated dependencies to include `@clack/prompts` for user prompts.
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 5, 2025

🦋 Changeset detected

Latest commit: b6eeb2d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@callstack/repack Major
@callstack/repack-plugin-expo-modules Major
@callstack/repack-plugin-nativewind Major
@callstack/repack-plugin-reanimated Major
@callstack/repack-dev-server Major
@callstack/repack-init Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
repack-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2025 2:56pm

@fardad-dev
Copy link
Copy Markdown
Contributor Author

@jbroma Kindly please review

@jbroma
Copy link
Copy Markdown
Contributor

jbroma commented Jun 9, 2025

@hosseinmd thanks for the PR! I'll try to review it soon

@thymikee
Copy link
Copy Markdown
Member

Hey, this kind of functionality is built into RNEF or RNC CLI, which you can both use with Re.Pack. When running run:ios or run:android commands these tools will open the simulators for you

@jbroma
Copy link
Copy Markdown
Contributor

jbroma commented Jun 12, 2025

Hey, this kind of functionality is built into RNEF or RNC CLI, which you can both use with Re.Pack. When running run:ios or run:android commands these tools will open the simulators for you

I also agree with this - it seems more like a feature for a framework than a bundler 👍

For some context: RN also removed the run iOS and run Android interactions from start command back in 2024: facebook/react-native#46781

With that in mind, I'll close this PR since it's not the right place for this functionality.

@jbroma jbroma closed this Jun 12, 2025
@fardad-dev
Copy link
Copy Markdown
Contributor Author

I don't agree with you, repack is not a core library, i recommend it to you to be more easy to use instead of comparing repack with react-native. This approach is not good for repack, being link expo or nextjs could help repack grow up.
Anyway, Thank you both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants