How to use the sentry-expo.setRelease 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 wheatandcat / Peperomia / PeperomiaNative / src / app.tsx View on Github external
import AddScheduleDetail from "./components/pages/AddScheduleDetail/Connected";
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: {

sentry-expo

Catch your Javascript errors for your production Expo apps!

MIT
Latest version published 10 months ago

Package Health Score

64 / 100
Full package analysis