Skip to content

Commit 69f6fd6

Browse files
Update codepush.mdx
1 parent 1263df8 commit 69f6fd6

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/react-native/sourcemaps/uploading

1 file changed

+1
-1
lines changed

docs/platforms/react-native/sourcemaps/uploading/codepush.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ To associate the uploaded artifacts with the CodePush release, use the `--releas
8383

8484
### Using `codePush.getUpdateMetadata`
8585

86-
Use `Sentry.setTag` to associate the CodePush Update Label with the captured events.
86+
If you rely on `codePush.getUpdateMetadata` to get the CodePush Update Label, use `Sentry.setTag` to associate the CodePush Update Label with the captured events. This will enable you to filter events in the Sentry UI based on the label. We discourage using `codePush.getUpdateMetadata` to initialize the SDK as it delays the initialization and errors before the CodePush Update Label is available won't be reported to Sentry.
8787

8888
```javascript
8989
codePush.getUpdateMetadata().then((update) => {

0 commit comments

Comments
 (0)