@@ -83,6 +83,7 @@ Expo-specific tags are no longer added by default. If you were using them, you c
8383
8484``` javascript
8585import Constants from " expo-constants" ;
86+ import * as Application from ' expo-application' ;
8687import * as Device from " expo-device" ;
8788import * as Updates from " expo-updates" ;
8889
@@ -94,16 +95,12 @@ Sentry.setExtras({
9495 linkingUri: Constants .linkingUri ,
9596});
9697
97- Sentry .setTag (" expoReleaseChannel" , Updates .manifest .releaseChannel );
98- Sentry .setTag (" appVersion" , Updates .manifest .version );
99- Sentry .setTag (" appPublishedTime" , Updates .manifest .publishedTime );
100- Sentry .setTag (" expoSdkVersion" , Updates .manifest .sdkVersion );
101- Sentry .setTag (" deviceId" , Constants .sessionId );
102- Sentry .setTag (" appOwnership" , Constants .appOwnership || " N/A" );
103- if (Constants .appOwnership === " expo" && Constants .expoVersion ) {
104- Sentry .setTag (" expoAppVersion" , Constants .expoVersion );
105- }
10698Sentry .setTag (" expoChannel" , Updates .channel );
99+ Sentry .setTag (" appVersion" , Application .nativeApplicationVersion );
100+ Sentry .setTag (" deviceId" , Constants .sessionId );
101+ Sentry .setTag (" executionEnvironment" , Constants .executionEnvironment );
102+ Sentry .setTag (" expoGoVersion" , Constants .expoVersion );
103+ Sentry .setTag (" expoRuntimeVersion" , Constants .expoRuntimeVersion );
107104```
108105
109106## Review ` react-native-web ` Compatibility
0 commit comments