Merge branch 'release/1.7.0' into rome/1.7.0

This commit is contained in:
Patrick Fic
2025-06-19 14:14:40 -07:00
27 changed files with 6996 additions and 6800 deletions

29
App.js
View File

@@ -1,33 +1,40 @@
import 'expo-dev-client';
import { ApolloProvider } from "@apollo/client";
import * as Sentry from "@sentry/react-native";
import "expo-asset";
import "intl";
import "intl/locale-data/jsonp/en";
import React from "react";
import { MD2LightTheme as DefaultTheme, Provider as PaperProvider } from "react-native-paper";
import {
MD2LightTheme as DefaultTheme,
Provider as PaperProvider,
} from "react-native-paper";
import { SafeAreaProvider } from "react-native-safe-area-context";
import Toast from "react-native-toast-message";
import { Provider } from "react-redux";
import { PersistGate } from "redux-persist/integration/react";
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";
import { persistor, store } from "./redux/store";
import "intl";
import "intl/locale-data/jsonp/en";
import "./translations/i18n";
import "expo-asset";
import Toast from "react-native-toast-message";
import { SafeAreaProvider } from "react-native-safe-area-context";
import RNEventSource from "react-native-event-source";
globalThis.EventSource = RNEventSource;
Sentry.init({
dsn: "https://4866820768550ca396e849fa325e84d6@o492140.ingest.sentry.io/4505637419614208",
enableInExpoDevelopment: true,
// tracesSampleRate: 0.2,
// integrations: [
// new Sentry.Native.ReactNativeTracing({
// new Sentry.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.
//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.
});
const theme = {
...DefaultTheme,
colors: {
@@ -59,4 +66,4 @@ class App extends React.Component {
);
}
}
export default Sentry.wrap(App);
export default Sentry.wrap(App);