Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add offline mode option #1678

Merged
merged 1 commit into from
Sep 3, 2024
Merged

add offline mode option #1678

merged 1 commit into from
Sep 3, 2024

Conversation

locksten
Copy link
Collaborator

@locksten locksten commented Sep 3, 2024

Description

Adds an --offline option that makes rnv skip actions that connect to the internet. Currently it only skips installing missing npm packages and running pod actions.

Related issues

#1677

Testing

Remove react-native-permissions from app-harness/package.json.
npx rnv configure -p ios should interactively prompt about updating package.json.
npx rnv configure -p ios --offline should log that it's skipping installation and pod actions due to --offline. It may fail if pods were not installed before.

@pauliusguzas pauliusguzas self-requested a review September 3, 2024 11:01
@locksten locksten merged commit 910474f into release/1.0 Sep 3, 2024
1 check passed
@Marius456 Marius456 deleted the feat/offline-mode-option branch September 3, 2024 11:30
@Marius456 Marius456 restored the feat/offline-mode-option branch September 3, 2024 11:30
@Marius456 Marius456 deleted the feat/offline-mode-option branch September 3, 2024 13:22
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