mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 14:48:06 -05:00
* Improve demo app safe area handling * refactor: centralize mobile demo screen navigation * update lock * update podfile lock * fix pipelines * fix tests * save wip polish * polish app * simplify and standardize screens * small fixes * fix tests * Use SDK SelfClientProvider in demo (#1162) * fix types * Fix mobile SDK demo Jest mock * force react-native-svg to 15.12.1 * fix tests * add types script * fix document list * fix types and metro config * add ignore files to speed up watchman and eslint * save wip tweaks * save mock doc screen wip * use persistant document store * save polish work in progress * add polish to screens * save wip secure storage * allow cursor to examine react configs * convert tests to vitest and fix * fix tests * prettier * cr feedback * fix tests and remove skipped
33 lines
832 B
JavaScript
33 lines
832 B
JavaScript
// SPDX-FileCopyrightText: 2025 Social Connect Labs, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
// NOTE: Converts to Apache-2.0 on 2029-06-11 per LICENSE.
|
|
|
|
/**
|
|
* @format
|
|
*/
|
|
|
|
// CRITICAL: Import crypto polyfill FIRST, before any modules that use crypto/uuid
|
|
// eslint-disable-next-line simple-import-sort/imports
|
|
import 'react-native-get-random-values';
|
|
|
|
import React from 'react';
|
|
import { Buffer } from 'buffer';
|
|
import { AppRegistry } from 'react-native';
|
|
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
|
|
|
import App from './App';
|
|
import { name as appName } from './app.json';
|
|
|
|
import './src/utils/ethers';
|
|
|
|
// Set global Buffer before any other imports
|
|
global.Buffer = Buffer;
|
|
|
|
const Root = () => (
|
|
<SafeAreaProvider>
|
|
<App />
|
|
</SafeAreaProvider>
|
|
);
|
|
|
|
AppRegistry.registerComponent(appName, () => Root);
|