Expo Sentry - Constants - `revisionId` is undefined

I follow this guide for setting up revisionId as the Sentry release identifier:

import Constants from 'expo-constants';

// ... initialize Sentry first


However, Constants.manifest.revisionId is always undefined in my app. Any ideas why?

I’m on:

  • SDK Version: Expo v35
  • Platforms: iOS 13
  • sentry-expo v2.0.0
  • expo-constants: 7.0.0

Hey @superkalo,

Are you running your project in development mode via the CLI? As the guide you referenced indicates, doing so will always return undefined.


1 Like

Adam, thanks for pointing that out! Issue resolved (it was caused by something else on my side).

1 Like

Happy to hear you got to the bottom of things.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.