Expo EAS Updates Group ID

Viewed 114

EAS-published updates create a group ID (platform-agnostic) and an update ID (platform-specific). The Updates package (expo-updates) only exposes Updates.updateId which corresponds to the platform-specific ID. https://docs.expo.dev/versions/latest/sdk/updates/#updatesupdateid

Is there no way to get the current update group ID from a running Expo application?

1 Answers

Just found out that one way to access the Update group ID is via Constants

import Constants from 'expo-constants';

const updateGroup = Constants.manifest2?.metadata?.["updateGroup"];

It feels pretty janky and I wish there was a first class way to do it via Updates but it kinda works for now.

Related