Updated default env file to be production.
This commit is contained in:
7
App.js
7
App.js
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user