-
Notifications
You must be signed in to change notification settings - Fork 14
Enabling Sentry for your Local Builds
Chelsea Troy edited this page Aug 10, 2020
·
3 revisions
Sentry is the service that we use to get error reporting for the mobile app. It is already mostly set up for you via the repo, but if you want your local builds to generate reported errors, you need to generate an authentication token for yourself and put that into 2 places in the app.
Here is what to do:
- Go to this URL: https://sentry.io/settings/account/api/auth-tokens/
- Click "Create New Token." This will show you a popover with some options for permissions, and several of them are already checked. You can go with the defaults here.
- Click "Create Token" on the popover.
- Copy your auth token and paste it in your ios/sentry.properties and android/sentry.properties as the value for the
auth.token
variable so that those two files look like this:
and
*Don't worry: this key was invalidated after these pictures were taken 😂