mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
* 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
38 lines
1.1 KiB
TypeScript
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);
|