Features
-
Adds new
captureFeedback
and deprecates thecaptureUserFeedback
API (#4320)import * as Sentry from "@sentry/react-native"; const eventId = Sentry.lastEventId(); Sentry.captureFeedback({ name: "John Doe", email: "john@doe.com", message: "Hello World!", associatedEventId: eventId, // optional }, { captureContext: { tags: { "tag-key": "tag-value" }, }, attachments: [ { filename: 'hello.txt', data: 'Hello, World!', }, ], });
Fixes
- Return
lastEventId
export from@sentry/core
(#4315) - Don't log file not found errors when loading envs in
sentry-expo-upload-sourcemaps
(#4332) - Navigation Span should have no parent by default (#4326)