How to use the sentry-expo.init function in sentry-expo

To help you get started, we’ve selected a few sentry-expo examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Flaque / quirk / src / sentry / index.ts View on Github external
import * as Sentry from "sentry-expo";

Sentry.init({
  dsn: "https://a9115f37287d4db39106d77e73aefa03@sentry.io/1443374",
  // @ts-ignore
  enableInExpoDevelopment: true,
  debug: true,
});

export default Sentry;
github wheatandcat / Peperomia / PeperomiaNative / src / app.tsx View on Github external
import CreateScheduleDetail from "./components/pages/CreateScheduleDetail/Connected";
import Icons from "./components/pages/Icons/Connected";
import AppInfo from "./components/pages/AppInfo/Page";
import { db, init, ResultError } from "./lib/db";
import "./lib/firebase";
import {
  select1st as selectUser1st,
  insert as insertUser,
  User
} from "./lib/db/user";
import theme from "./config/theme";
import app from "../app.json";

if (process.env.SENTRY_URL) {
  Sentry.setRelease(String(Constants.manifest.revisionId));
  Sentry.init({
    dsn: String(process.env.SENTRY_URL),
    debug: true
  });
}

StatusBar.setBarStyle("light-content", true);
StatusBar.setBackgroundColor(theme().color.white, true);

const TabBarComponent = (props: any) => ;

const TabNavigator = createBottomTabNavigator(
  {
    マイプラン: {
      screen: Home,
      navigationOptions: {
        tabBarTestID: "MyPlan"

sentry-expo

Catch your Javascript errors for your production Expo apps!

MIT
Latest version published 9 months ago

Package Health Score

61 / 100
Full package analysis