EAS Update: Preview with comment
See original GitHub issueDescription 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
- name: Setup Expo
uses: expo/expo-github-action@7.2.0
with:
expo-version: latest
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Publish preview
run: eas update --branch pr-${{ github.event.number }} --message 'Update with commit ${{ github.sha }}'
- name: Comment preview
uses: expo/expo-github-action/preview-comment@7.2.0
with:
channel: pr-${{ github.event.number }}
Comment preview will use classic release channels to generate the QR code, so when scanning the code, it won’t work.
Issue Analytics
- State:
- Created a year ago
- Reactions:11
- Comments:15
Top Results From Across the Web
Introducing EAS Update to Preview | by Jon Samp - Expo Blog
Today, EAS Update is going into preview. EAS Update is a hosted service that allows you to deliver small updates to your users...
Read more >EAS Update QR Commenter · Actions · GitHub Marketplace
On Pull Requests, adds a comment with QR codes that link to the Expo Go App and into the respective Update. I created...
Read more >Issue Using EAS Updates : r/expo - Reddit
I have updated the app to use eas builds and updates using eas ... create a branch using eas update --branch preview --message...
Read more >Expo EAS: How to link eas update branch with build channel?
However the changes do not populate to the preview version submitted to App Store and Play Store. Do i need to do some...
Read more >DEPLOY | EAS UPDATE: Incrível atualização do Expo
No vídeo de hoje o educador e mentor Ismael Moreira ensina como implementar um fluxo simple de deploy no github actions para disponibilizar ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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: https://github.com/expo/expo-github-action/compare/main...lachenmayer:expo-github-action:eas-updates-qr
You can use this with
uses: lachenmayer/expo-github-action/preview-comment@eas-updates-qr
to try it out, but please don’t rely on it…This checks whether
project.updates.url
exists, and creates a QR code compatible with a dev client instead of the Expo Go QR code if so.Happy to open a PR if you agree with the approach.