I follow this guide for setting up revisionId
as the Sentry release identifier:
import Constants from 'expo-constants';
// ... initialize Sentry first
Sentry.setRelease(Constants.manifest.revisionId);
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
.
Cheers,
Adam
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.
system
Closed
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.