Sentry Errors with Expo Managed through EAS Build

Expo 44
“react-native”: “0.64.3”,
“sentry-expo”: “^4.0.0”

Hi I am running my build through EAS Build, and I am getting some errors in sentry but they all appear to be native crashes. How do I find where they relate to in my Expo managed app to fix them? Or is this an issue with the source maps?

app.json

 "hooks": {
      "postPublish": [
        {
          "file": "sentry-expo/upload-sourcemaps",
          "config": {
            "organization": "XXX",
            "project": "XXX",
            "authToken": "XXX"
          }
        }
      ]
    },
    "plugins": [
      "sentry-expo",
      [

app.js

import * as Sentry from 'sentry-expo';

Sentry.init({
  dsn: 'XXX',
  enableInExpoDevelopment: true,
  debug: false, 
});

Some of the errors I seem to be getting are the following:

  1. __pthread_start

  2. NullPointerException - Attempt to invoke virtual method ‘android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)’ on a null object reference

  3. unknown Unhandled Segfault

This makes it really hard to debug and fix the issues. Any help would be greatly appreciated.

I am seeing this too! Any help would be appreciated.

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