mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
* refactor proving impleting xstate, speedup proving * add disclosure proof support * keep refactoring provingMachine, clean old implementation * call init method when switching from dsc to register * rebase with dev to display why the proof verification failed * refactor ws connexion between front-end and mobile to retrieve self-app * update the webclient at proofVerification and use selfAppStore in provingMachine * fix provintStore.init in ProveScreen * yarn nice * fetch data correctly in splash screen
29 lines
679 B
TypeScript
29 lines
679 B
TypeScript
import 'react-native-get-random-values';
|
|
|
|
import { Buffer } from 'buffer';
|
|
import React from 'react';
|
|
import { YStack } from 'tamagui';
|
|
|
|
import AppNavigation from './src/Navigation';
|
|
import { initSentry, wrapWithSentry } from './src/Sentry';
|
|
import { AuthProvider } from './src/stores/authProvider';
|
|
import { PassportProvider } from './src/stores/passportDataProvider';
|
|
|
|
initSentry();
|
|
|
|
global.Buffer = Buffer;
|
|
|
|
function App(): React.JSX.Element {
|
|
return (
|
|
<YStack f={1} h="100%" w="100%">
|
|
<AuthProvider>
|
|
<PassportProvider>
|
|
<AppNavigation />
|
|
</PassportProvider>
|
|
</AuthProvider>
|
|
</YStack>
|
|
);
|
|
}
|
|
|
|
export default wrapWithSentry(App);
|