Merge branch 'release/1.6.0' into rome/1.6.0

This commit is contained in:
Patrick Fic
2024-08-15 15:19:34 -07:00
25 changed files with 18188 additions and 10473 deletions

22
App.js
View File

@@ -1,9 +1,9 @@
import { ApolloProvider } from "@apollo/client";
import React from "react";
import { DefaultTheme, Provider as PaperProvider } from "react-native-paper";
import { MD2LightTheme as DefaultTheme, Provider as PaperProvider } from "react-native-paper";
import { Provider } from "react-redux";
import { PersistGate } from "redux-persist/integration/react";
import * as Sentry from "sentry-expo";
import * as Sentry from '@sentry/react-native';
import ScreenMainComponent from "./components/screen-main/screen-main.component";
import { logImEXEvent } from "./firebase/firebase.analytics";
import { client } from "./graphql/client";
@@ -17,17 +17,16 @@ import { SafeAreaProvider } from "react-native-safe-area-context";
Sentry.init({
dsn: "https://4866820768550ca396e849fa325e84d6@o492140.ingest.sentry.io/4505637419614208",
enableInExpoDevelopment: true,
tracesSampleRate: 0.2,
integrations: [
new Sentry.Native.ReactNativeTracing({
tracingOrigins: ["localhost", "romeonline.io", "cloudinary.com", /^\//],
// ... other options
}),
],
// tracesSampleRate: 0.2,
// integrations: [
// new Sentry.Native.ReactNativeTracing({
// tracingOrigins: ["localhost", "imex.online", "cloudinary.com", /^\//],
// // ... other options
// }),
// ],
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();
const theme = {
...DefaultTheme,
@@ -38,7 +37,7 @@ const theme = {
},
};
export default class App extends React.Component {
class App extends React.Component {
async componentDidMount() {
logImEXEvent("imexmobile_app_start");
}
@@ -60,3 +59,4 @@ export default class App extends React.Component {
);
}
}
export default Sentry.wrap(App);