sentry-react-native icon indicating copy to clipboard operation
sentry-react-native copied to clipboard

Automatically detect Release name and version for Expo Web

Open krystofwoldrich opened this issue 7 months ago • 0 comments

On mobile release is automatically prefilled based on the native application metadata, package@version+build (for example, [email protected]+1234).

On web, release is expected to be set manually by the user. Since Expo Web project contain metadata about the project name and version, we can match the behavior from mobile and fill in release based on the ExpoConfig.

https://docs.expo.dev/versions/latest/sdk/constants/

https://github.com/expo/expo/blob/16f6d9e78ba28adae7bff034efbc34752f0e1719/packages/%40expo/config-types/src/ExpoConfig.ts#L44

krystofwoldrich avatar Jun 05 '25 07:06 krystofwoldrich