Skip to content
This repository has been archived by the owner on Aug 22, 2020. It is now read-only.

shogun-hearth/sentry-expo-updates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentry-expo-updates

This is a fork of sentry-expo with modifications to work with expo-updates on a bare workflow.

Installation

npm install @sentry/integrations sentry-expo-updates

Instead of Sentry.init use configureWithExpoUpdates

import { configureWithExpoUpdates } from 'sentry-expo-updates';

...
configureWithExpoUpdates({
  dsn: `https://${Config.SENTRY_CLIENT_KEY}@sentry.io/${Config.SENTRY_PROJECT_ID}`,
  enabled: ...
});

Sourcemaps support

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

Limitations

  • This library is not tested with the new no-publish workflow of expo-updates.
  • Native crash is not tagged with expo-updates revision id.

Some Links

Sentry Website

sentry-react-native repo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 57.6%
  • JavaScript 42.4%