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

Support custom scheme for QR codes #1

Open
wants to merge 1 commit into
base: lawrence-support-either-issue-or-pull
Choose a base branch
from

Conversation

lawrencejones
Copy link
Member

@lawrencejones lawrencejones commented Jun 7, 2024

If people have many variants of the same app (say a development build, an rc build, and production) then the default scheme that Expo adds to each app for handling QR previews will be the same:

exp+<slug>://

This means whichever app was installed last is the one that will be loaded by QR previews, which often isn't what you want. This commit adds support for providing a custom scheme to the continuous delivery action that modifies the slug used in the QR code so users can have them open in the correct app.

Linked issue

Provide the issue(s) which this pull request relates to or fixes.

Additional context

Are there things the maintainers should be aware of before merging or closing this pull request?

If people have many variants of the same app (say a development build,
an rc build, and production) then the default scheme that Expo adds to
each app for handling QR previews will be the same:

exp+<slug>://

This means whichever app was installed last is the one that will be
loaded by QR previews, which often isn't what you want. This commit
adds support for providing a custom `scheme` to the continuous delivery
action that modifies the slug used in the QR code so users can have them
open in the correct app.
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.

1 participant