Skip to content

expo-github-action/preview should support generating dev-client QR codes #214

@thespacemanatee

Description

@thespacemanatee

Description of the feature

How would you briefly summarise the feature?
The current QR code generated only works for Expo Go builds. Scanning the QR code opens Expo Go (which obviously fails). Should support an option to generate a QR code that opens the development build instead.

Right now we have to manually generate it in the comment parameter as follows:

This pull request was automatically deployed! 🛠️
- Project: **@{projectOwner}/{projectSlug}**
- Channel: **pr-${{ github.event.number }}**
<a href="padlet://expo-development-client/?url=https://u.expo.dev/{redacted}%3Fchannel-name%3Dpr-${{ github.event.number }}">
  <img src="https://qr.expo.dev/development-client?appScheme={redacted}&url=https://u.expo.dev/{redacted}%3Fchannel-name%3Dpr-${{ github.event.number }}" height="200px" width="200px" >
</a>
QR code not working or need a different client? Try the QR code or deep link from the [project page]({projectLink}).

Motivation

Why does this feature should be implemented?
So that we don't have to manually generate the dev-client QR code

Additional context

Can you further explain the feature? E.g., screenshots or real-world examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions