Files
self/app/App.tsx
Justin Hernandez 65b5f8a389 Bump build ios 128 android 67 (#601)
* bump build

* update clean commands

* add notification tracking provider, and update provider paths

* request permission for firebase cloud messaging

* since the app asks for permissions, let's enable this after configuring the APN

* remove monorepo building as it doesn't affect app build success

* add flags to expose build issues

* fix hermes path

* fix hermes path for emulator and bundle build
2025-06-07 07:36:06 -07:00

38 lines
1.1 KiB
TypeScript

import 'react-native-get-random-values';
import { Buffer } from 'buffer';
import React from 'react';
import { YStack } from 'tamagui';
import ErrorBoundary from './src/components/ErrorBoundary';
import AppNavigation from './src/navigation';
import { AuthProvider } from './src/providers/authProvider';
import { DatabaseProvider } from './src/providers/databaseProvider';
import { NotificationTrackingProvider } from './src/providers/notificationTrackingProvider';
import { PassportProvider } from './src/providers/passportDataProvider';
import { initSentry, wrapWithSentry } from './src/Sentry';
initSentry();
global.Buffer = Buffer;
function App(): React.JSX.Element {
return (
<ErrorBoundary>
<YStack f={1} h="100%" w="100%">
<AuthProvider>
<PassportProvider>
<DatabaseProvider>
<NotificationTrackingProvider>
<AppNavigation />
</NotificationTrackingProvider>
</DatabaseProvider>
</PassportProvider>
</AuthProvider>
</YStack>
</ErrorBoundary>
);
}
export default wrapWithSentry(App);