I have a react native app using expo, and have followed the setup guide here - https://docs.expo.io/versions/latest/guides/using-sentry/
I am publishing to a release channel where I want to test things out. If i just run expo publish, it will push a new release to our users, which I dont want to do. In the Sentry dashboard, i see my releases under “Stats” each time i run expo publish --release-channel test, but that is it. I do not see anything logged, and it still says * You’re almost there! Start capturing errors with just a few lines of code.* at the top. Am i missing a step somewhere?
My App.js looks like this:
import App from './app/index';
import Sentry from 'sentry-expo';
Sentry.enableInExpoDevelopment = true;
Sentry.config('my-DSN-here').install();
export default App;
My app.json:
{
"expo": {
"name": "foo",
"slug": "foo",
"version": "1.0.10",
"sdkVersion": "28.0.0",
"ios": {
"bundleIdentifier": "foo",
"buildNumber": "1.0.10",
"supportsTablet": true,
},
"android": {
"package": "foo",
"versionCode": 10,
"icon": "./app/assets/images/app-icon.png",
"googleServicesFile": "./google-services.json"
},
"hooks": {
"postPublish": [
{
"file": "sentry-expo/upload-sourcemaps",
"config": {
"organization": "org-name-here",
"project": "project-name-here",
"authToken": "authToken-here"
}
}
]
}
}
}