Skip to content

[dev-launcher] Restore config plugin#41363

Merged
gabrieldonadel merged 3 commits intomainfrom
@gabrieldonadel/restore-dev-launcher-config-plugin
Dec 3, 2025
Merged

[dev-launcher] Restore config plugin#41363
gabrieldonadel merged 3 commits intomainfrom
@gabrieldonadel/restore-dev-launcher-config-plugin

Conversation

@gabrieldonadel
Copy link
Copy Markdown
Member

Why

We've mistakenly removed the dev-launcher config plugin when we removed all the launcher React Native JS code in a20afd4 and then removed the remaining config plugin references in 1225627, causing the launchMode config to stop working, even though we still have this in our docs https://docs.expo.dev/versions/latest/sdk/dev-client/#example-appjson-with-config-plugin

The ability of not launch directly into a previously opened project is quite useful when testing and we should restore it.

How

git revert --no-commit 1225627c1894426100f1c54ff9a3393e933c0adb and git revert --no-commit a20afd4194e844902ee272af95f280b71f33f669

Test Plan

  1. Modify app.json to include the expo-dev-client config plugin
"plugins": [
      [
        "expo-dev-client",
        {
          "launchMode": "most-recent"
        }
      ]
    ]
  1. Run npx prebuild
  2. Build the app and observe

Checklist

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 2, 2025

Subscribed to pull request

File Patterns Mentions
packages/expo-dev-client/** @lukmccall, @douglowder
packages/expo-dev-launcher/** @lukmccall, @douglowder

Generated by CodeMention

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Dec 2, 2025
@expo-bot
Copy link
Copy Markdown
Collaborator

expo-bot commented Dec 2, 2025

The Pull Request introduced fingerprint changes against the base commit: 5a2e7f8

Fingerprint diff
[
  {
    "op": "changed",
    "beforeSource": {
      "type": "dir",
      "filePath": "../../packages/expo-dev-launcher",
      "reasons": [
        "expoAutolinkingIos",
        "expoAutolinkingAndroid"
      ],
      "hash": "957efb6e96036fc44431b24963152a834a12eae3"
    },
    "afterSource": {
      "type": "dir",
      "filePath": "../../packages/expo-dev-launcher",
      "reasons": [
        "expoAutolinkingIos",
        "expoAutolinkingAndroid"
      ],
      "hash": "d6b8027ab1ad3bf4beaa49da1d4d33a240b2e45f"
    }
  }
]

Generated by PR labeler 🤖

gabrieldonadel and others added 2 commits December 3, 2025 18:44
Co-authored-by: Łukasz Kosmaty <kosmatylukasz@gmail.com>
@gabrieldonadel gabrieldonadel merged commit 921d642 into main Dec 3, 2025
9 of 11 checks passed
@gabrieldonadel gabrieldonadel deleted the @gabrieldonadel/restore-dev-launcher-config-plugin branch December 3, 2025 18:37
@expo-bot
Copy link
Copy Markdown
Collaborator

expo-bot commented Dec 3, 2025

Hi there! 👋 I'm a bot whose goal is to ensure your contributions meet our guidelines.

I've found some issues in your pull request that should be addressed (click on them for more details) 👇

⚠️ Suggestion: Missing changelog entries


Your changes should be noted in the changelog, e.g.:
- Restore config plugin ([#41363](https://github.com/expo/expo/pull/41363) by [@gabrieldonadel](https://github.com/gabrieldonadel))
Read Updating Changelogs guide and consider adding an appropriate entry to the following changelogs:


Generated by ExpoBot 🤖 against 5c8e370

gabrieldonadel added a commit that referenced this pull request Dec 3, 2025
We've mistakenly removed the dev-launcher config plugin when we removed
all the launcher React Native JS code in
a20afd4 and then removed the remaining
config plugin references in 1225627,
causing the `launchMode` config to stop working, even though we still
have this in our docs
https://docs.expo.dev/versions/latest/sdk/dev-client/#example-appjson-with-config-plugin

The ability of not launch directly into a previously opened project is
quite useful when testing and we should restore it.

`git revert --no-commit 1225627` and
`git revert --no-commit a20afd4`

1. Modify app.json to include the `expo-dev-client` config plugin

```
"plugins": [
      [
        "expo-dev-client",
        {
          "launchMode": "most-recent"
        }
      ]
    ]
```

2. Run npx prebuild
3. Build the app and observe

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [ ] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)

---------

Co-authored-by: Łukasz Kosmaty <kosmatylukasz@gmail.com>
@Kudo Kudo added the published Changes from the PR have been published to npm label Dec 4, 2025
aleqsio pushed a commit that referenced this pull request Dec 5, 2025
# Why

We've mistakenly removed the dev-launcher config plugin when we removed
all the launcher React Native JS code in
a20afd4 and then removed the remaining
config plugin references in 1225627,
causing the `launchMode` config to stop working, even though we still
have this in our docs
https://docs.expo.dev/versions/latest/sdk/dev-client/#example-appjson-with-config-plugin

The ability of not launch directly into a previously opened project is
quite useful when testing and we should restore it.

# How

`git revert --no-commit 1225627` and
`git revert --no-commit a20afd4`

# Test Plan

1. Modify app.json to include the `expo-dev-client` config plugin

```
"plugins": [
      [
        "expo-dev-client",
        {
          "launchMode": "most-recent"
        }
      ]
    ]
```

2. Run npx prebuild
3. Build the app and observe


# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [ ] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)

---------

Co-authored-by: Łukasz Kosmaty <kosmatylukasz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: fingerprint changed bot: suggestions ExpoBot has some suggestions published Changes from the PR have been published to npm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants