Skip to content

Conversation

@tschoffelen
Copy link
Owner

This updates AndroidManifest/Info.plist config values adding in the Expo plugin to first check if the relevant URL schemes are already present. If so, they are skipped.

@LeumitApp and @cmaurel-cgi – this should solve the problem you reported, would you be able to check if this works for you? I don't currently have an Expo app set up that I can easily test with.


Fixes #319

This updates AndroidManifest/Info.plist config values adding in the Expo plugin to first check if the relevant URL schemes are already present. If so, they are skipped.
Copilot AI review requested due to automatic review settings November 24, 2025 19:57
@tschoffelen tschoffelen linked an issue Nov 24, 2025 that may be closed by this pull request
Copilot finished reviewing on behalf of tschoffelen November 24, 2025 19:58
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the Expo plugin to prevent duplicate URL schemes from being added to both AndroidManifest.xml and Info.plist configuration files. The plugin now checks if schemes already exist before adding them.

  • Replaced the concat approach with a forEach loop that checks for existing schemes before adding new ones
  • Added defensive checks for both Android intents and iOS schemes to prevent duplicates
  • Fixed the return statement placement for the withInfoPlist plugin

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Prebuild android always add intent even if it's already here.

2 participants