HomeGuidesReferenceLearn
ArchiveExpo SnackDiscord and ForumsNewsletter

qr.expo.dev

Reference for the QR code generator at qr.expo.dev.


qr.expo.dev is a cloud function that generates Expo-branded QR codes. This function creates QR codes for EAS Update, which are used to preview updates in development builds and Expo Go.

For example, if you and your team have a development build, and you'd like to load the latest update on a specific build's channel, you could go to the following endpoint to generate a QR code:

https://qr.expo.dev/eas-update?projectId=your-project-id&runtimeVersion=your-runtime-version&channel=your-channel

Which would produce the following QR code SVG:

This QR code represents the following URL:

exp+your-slug://expo-development-client/?url=https://u.expo.dev/your-project-id?runtime-version=your-runtime-version&channel-name=your-channel

This URL will deep link into a development build and instruct it to fetch the latest update on the specified channel.

If sharing the URL is more convenient, you can request the URL directly by adding format=url to the query parameters.

General

The following parameters apply to the /eas-update endpoint.

Base query parameters

The following base query parameters can be included with any request to /eas-update.

ParamRequiredDefaultDescription
slugNoexpUse slug from app config to target a development build. Otherwise use "exp" to target Expo Go.
appScheme (deprecated)NoexpReplaced by slug. Use slug instead.
hostNou.expo.devThe hostname of the server that handles update requests.
formatNosvgEndpoints respond with SVGs by default. To receive a plain text URL, use url.

Update by device traits

Preview and production builds make requests to the EAS Update service with runtimeVersion and channel properties. You can emulate this behavior with the following query parameters:

ParamRequiredDescription
projectIdYesThe ID of the project
runtimeVersionYesThe runtime version of the build
channelYesThe channel name of the build

Example

https://qr.expo.dev/eas-update?projectId=your-project-id&runtimeVersion=your-runtime-version&channel=your-channel

Update by ID

You can create a QR code for a specific update given its platform-specific ID.

ParamRequiredDescription
updateIdYesThe ID of the update

Example

https://qr.expo.dev/eas-update?updateId=your-update-id

Update by group ID

You can create a QR code for an update group given the update's group ID.

ParamRequiredDescription
projectIdYesThe ID of the project
groupIdYesThe ID of the update group

Example

https://qr.expo.dev/eas-update?projectId=your-project-id&groupId=your-update-id

Update by branch ID

You can create a QR code with a branch's ID, which will return the latest update available on that branch.

ParamRequiredDescription
projectIdYesThe ID of the project
branchIdYesThe ID of the branch

Example

https://qr.expo.dev/eas-update?projectId=your-project-id&branchId=your-branch-id

Update by channel ID

You can create a QR code with a channel's ID, which will return the latest update available on the branch or branches that are mapped to that channel.

ParamRequiredDescription
projectIdYesThe ID of the project
channelIdYesThe ID of the channel

Example

https://qr.expo.dev/eas-update?projectId=your-project-id&channelId=your-channel-id