Expo Sentry in Standalone app

Please provide the following:

  1. SDK Version: 40.1.6
  2. Platforms(Android/iOS/web/all): iOS and Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Hello,

I currently have an issue where my errors on the standalone app are not being reported to sentry (via expo-sentry, tag seems to be messing on the forum).
On the simulator and using expo client all errors are reported, but on the standalone app (via testflight for instance) it doesnt report the same error. I can however see an error if i do `throw new Error(“prod error”).

An example of an error i cant see in sentry is this

that i can force to happen by changing something in the API, this error on standalone is not reported the app just goes blank.

Expo Diagnostics:
  Expo CLI 4.1.6 environment info:
    System:
      OS: macOS 10.15.7
      Shell: 3.0.0 - /usr/local/bin/fish
    Binaries:
      Node: 14.5.0 - /usr/local/bin/node
      npm: 6.14.5 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    Managers:
      CocoaPods: 1.9.1 - /Users/renato/.rbenv/shims/pod
    SDKs:
      iOS SDK:
        Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
    IDEs:
      Android Studio: 3.6 AI-192.7142.36.36.6392135
      Xcode: 12.4/12D4e - /usr/bin/xcodebuild
    npmPackages:
      expo: ^40.0.0 => 40.0.0
      react: 16.13.1 => 16.13.1
      react-dom: 16.13.1 => 16.13.1
      react-native: https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz => 0.63.2
      react-native-web: ~0.13.12 => 0.13.18
    npmGlobalPackages:
      expo-cli: 4.1.6
    Expo Workflow: managed

"sentry-expo": "^3.0.4",

Sentry Init in App.js:

Sentry.init({
  dsn: SENTRY_DSN,
});

app.json

{
 "expo": {
           "hooks": {
      "postPublish": [
        {
          "file": "sentry-expo/upload-sourcemaps",
          "config": {
            "organization": "mutex-apps-ltd",
            "project": "dogcat-app",
            "authToken": "MY_API_KEY"
          }
        }
      ]
    }, .....

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.