Updated default env file to be production.

This commit is contained in:
Patrick Fic
2021-01-12 21:34:33 -08:00
parent a263192ae9
commit 280b8e38b5
5 changed files with 7 additions and 23 deletions

7
App.js
View File

@@ -7,17 +7,20 @@ import React from "react";
import { StatusBar as rnStatusBar, StyleSheet } from "react-native";
import { Provider } from "react-redux";
import { PersistGate } from "redux-persist/integration/react";
import * as Sentry from "sentry-expo";
import ScreenMainComponent from "./components/screen-main/screen-main.component";
import env from "./env";
import { client } from "./graphql/client";
import { persistor, store } from "./redux/store";
import "./translations/i18n";
import * as Sentry from "sentry-expo";
console.log("Environment Variables Set:", env);
Sentry.init({
dsn:
"https://8d6c3de1940a4e4f8b81cf4d2150bdea@o492140.ingest.sentry.io/5558869",
enableInExpoDevelopment: true,
debug: true, // Sentry will try to print out useful debugging information if something goes wrong with sending an event. Set this to `false` in production.
//debug: true, // Sentry will try to print out useful debugging information if something goes wrong with sending an event. Set this to `false` in production.
});
Sentry.Native.nativeCrash();