Closed cheungt6 closed 1 year ago
This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed.
This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.
Summary
We've swapped from @sentry/react-native to sentry-expo recently and see that captureUserFeedback isn't available. I've raised PR to bump to a version that includes this function: https://github.com/expo/sentry-expo/pull/308
Managed or bare workflow? If you have
ios/
orandroid/
directories in your project, the answer is bare!bare
What platform(s) does this occur on?
Android, iOS
SDK Version (managed workflow only)
45
Environment
expo-env-info 1.0.5 environment info: System: OS: macOS 12.6.1 Shell: 3.2.57 - /bin/bash Binaries: Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm Watchman: 20221208 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0 IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8512546 Xcode: 14.0/14A309 - /usr/bin/xcodebuild npmPackages: @expo/webpack-config: ^0.17.3 => 0.17.3 expo: ~45.0.0 => 45.0.8 react: 17.0.2 => 17.0.2 react-dom: 17.0.2 => 17.0.2 react-native: 0.68.2 => 0.68.2 react-native-web: 0.17.7 => 0.17.7 Expo Workflow: bare
Reproducible demo or steps to reproduce from a blank project
const sentryId = Sentry.Native.captureMessage(
New report received
); const userFeedback = { event_id: sentryId, name: "me", comments: "this is a feedback report" }; Sentry.Native.ReactNativeClient.captureUserFeedback(userFeedback);