Not sending app.json manifest on sentry capture

Please provide the following:

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

When Sentry captures, it sends up the whole manifest, which is a lot. I was hoping to save by not sending manifest. Is this possible?

Figured it out, can remove it in beforeSend:

Sentry.init({
  // your stuff here
  beforeSend: function (event) {

        if (event?.extra?.manifest) {
          delete event.extra.manifest;
        }
      
  }
});
1 Like

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