Sentry: Sourcemaps issue

Please provide the following:

  1. SDK Version: 36
  2. Platforms(Android/iOS/web/all): iOS

Hello, the problem I’m having is that in expo development app the error seems to be minified and not show the actual source code, while in the standalone testflight app it’s both minified and receiving the error “source code was not found url: app:///main.ios.map” (EVEN though the compiler when publishing shows no errors on the postpublish hook)

Note: we are hosting sentry ourselves and I supplied “url” to the postpublish hook

in my app.js file:

// Initialize Sentry
Sentry.init({
  dsn: URL,
  enableInExpoDevelopment: true,
  debug: true,
  environment: Constants.manifest.releaseChannel || 'Default'
});

// Track the version of your application in Sentry.
Sentry.setRelease(Constants.manifest.revisionId);
Sentry.setDist(Constants.nativeBuildVersion);

my postpublish hook:

    "hooks": {
      "postPublish": [
        {
          "file": "sentry-expo/upload-sourcemaps",
          "config": {
            "organization": "appproject",
            "project": "app-project",
            "authToken": "auth",
            "url": "url"
          }
        }
      ]
    }