Skip to content

[Expo] Add Expo Updates Guide to Docs #4836

@krystofwoldrich

Description

@krystofwoldrich

Document current Expo Updates integration and what information is automatically collected.

Screenshot 2025-05-07 at 09.28.17.png

Add guide for how Releases can be create for each update.

import * as Updates from "expo-updates";
import * as Application from "expo-application";
import * as Sentry from "@sentry/react-native";

const name = Application.applicationName ?? "unknown-name";
const version = Application.nativeApplicationVersion ?? "unknown-version";
const build = Application.nativeBuildVersion ?? "unknown-build";
const updateId = Updates.isEmbeddedLaunch ? null : Updates.updateId;
const channel = Updates.channel || "development";
const release = updateId
  ? `${name}@${version}+${build}#${channel}:${updateId}`
  : `${name}@${version}+${build}#${channel}`;

Sentry.init({
  // ...rest
  release,
}); 

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions