Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import * as Sentry from "sentry-expo";
Sentry.init({
dsn: "https://a9115f37287d4db39106d77e73aefa03@sentry.io/1443374",
// @ts-ignore
enableInExpoDevelopment: true,
debug: true,
});
export default Sentry;
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"