-
Notifications
You must be signed in to change notification settings - Fork 79
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
EAS Update: Preview with comment #189
Comments
@byCedric Is it possible to see a preview comment for EAS update?
The preview step is failing at the moment
|
Got it working by doing:
Replace:
Also, you need an internal distribution (development) build to be able to scan the QR. |
We ran into this issue ourselves, we're using the following fork: main...lachenmayer:expo-github-action:eas-updates-qr You can use this with This checks whether Happy to open a PR if you agree with the approach. |
It would be great to get this working with eas build |
Why are QR codes not compatible with Expo Go when using EAS Update? I get that the QR code contents might need to change for EAS Update and the scheme needs to change if we're using development clients, but my organization is just trying to migrate to EAS Update without switching to development clients yet. Updates published with EAS Update will run with no problem on binaries compiled using EAS Build with This may seem like a small issue, but it's blocking my org from switching to EAS Update. We aren't ready to switch to development clients yet, so we need to keep using Expo Go and QR codes. |
@matthewford can you say more? I'm wondering if you're hoping for the same thing I am... I'm using internal distribution with EAS build, and I'd like the QR code that's generated to be published as a comment on the PR. |
Yes that’s the same issue the QR code is on the expo website just to added
as a comment like the older publish workflow
On Tue, 6 Sep 2022 at 01:28, Brian Buchalter ***@***.***> wrote:
It would be great to get this working with eas build
@matthewford <https://github.com/matthewford> can you say more? I'm
wondering if you're hoping for the same thing I am...
I'm using internal distribution with EAS build, and I'd like the QR code
that's generated to be published as a comment on the PR.
—
Reply to this email directly, view it on GitHub
<#189 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAABV5YTVDXHNAJ324P7ETV42F3FANCNFSM543H7H3Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Sent from my iPhone
…--
Bit Zesty Limited is a limited company registered in England and Wales.
Registered number: 06883289. Registered office: 5 Colindeep Lane, London,
England, NW9 6BX.
|
I'm having the same problem, it would be nice to have these QR codes working with eas update as well |
another option here:
This allows you to have expo and dev client QR codes in the same comment. We found it useful because some of our testers only have Expo Go installed, but we still able to test it using dev client. |
Hi all, I'm trying to workaround this bug myself but I'm missing the <YOUR_SCHEME> part. Where should I look for this value? I'm basically just trying to make a QR code appear that you can plug into Expo Go with changes specific to a PR for QA. |
<YOUR_SCHEME> is the custom URI scheme mobile apps use for deep linking and universal links I.e. |
Hi all, trying to get one of the easier examples above to work. I just want to preview to generate a QR code that I can open in Expo Go on iOS. I can see the update being published successfully in EAS but I can't get the comment feature to generate a usable QR code. This is what my action looks like for the comment. Any idea what I'm doing wrong? Note: I changed some of the digits to be 1234 so it doesn't expose our actual app.
|
@mikefisher84 in your |
Thanks to the comments on this ticket I did manage to get the QR code working as desired.
It looks like Github only allows Did anyone get the deep link to work? If so, how? |
When I try to use expo/[email protected], the action fails saying that couldn't find version 7.2.0, what should I do? |
Thanks to the comments here, I created a custom solution on another repo: nearform/optic-expo#921 |
🎉 This issue has been resolved in version 8.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
I'm still experiencing the issue where the generated QR code is not valid with v8. The generated QR code seems invalid: QR code detected no usable data found. If I decode the generated QR Code:
I tested it with my iPhone with Expo Go installed. name: expo-eas-update
on:
workflow_call:
secrets:
expo-token:
description: 'expo token'
required: true
inputs:
channel:
type: string
message:
type: string
jobs:
eas-update:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Setup repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Setup EAS
uses: expo/expo-github-action@v8
with:
expo-cache: true
expo-version: latest
eas-version: latest
token: ${{ secrets.expo-token }}
- name: Install dependencies
run: yarn
- uses: actions/github-script@v6
id: sanitise-double-quotes
with:
script: return `${{ inputs.message }}`.replaceAll('"',"'")
result-encoding: string
- name: Create preview
uses: expo/expo-github-action/preview@v8
with:
command: eas update --branch ${{ inputs.channel }} --message "${{ steps.sanitise-double-quotes.outputs.result }}" |
I am getting the same message when trying to scan the QR code with v8. |
Adding the field "scheme": "your-app-name", In app.json / app.config.json Allowed the preview comment to work in version 8 of - name: 💬 Comment preview
uses: expo/expo-github-action/preview@v8
with:
comment: true
command: eas update --auto --non-interactive
comment-id: auto-preview |
Thanks for the tip. I do already have the scheme, and this is the QR code url. On iOS in the camera app, it gives me |
Description of the feature
expo/expo-github-action/preview-comment to be compatible with EAS Update.
Motivation
We have examples for EAS build in the README and it is possible to open channels/branches with the expo app but with classic release channels we are able to scan a QR code.
Additional context
Comment preview will use classic release channels to generate the QR code, so when scanning the code, it won't work.
The text was updated successfully, but these errors were encountered: