mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
* simplify Id and Kyc Card to make it easier to fix header * format * fix global Buffer polyfill * fix padding * remove dev card screen * minor fixes
39 lines
981 B
JavaScript
39 lines
981 B
JavaScript
// SPDX-FileCopyrightText: 2025-2026 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 './src/polyfills/buffer';
|
|
|
|
import React from 'react';
|
|
import { AppRegistry, LogBox } from 'react-native';
|
|
import { TamaguiProvider } from 'tamagui';
|
|
|
|
import App from './App';
|
|
import { name as appName } from './app.json';
|
|
import tamaguiConfig from './tamagui.config';
|
|
|
|
import './src/utils/crypto/ethers';
|
|
import 'react-native-gesture-handler';
|
|
|
|
LogBox.ignoreLogs([
|
|
/bad setState/,
|
|
'Warning, duplicate ID for input',
|
|
/Warning, duplicate ID for input/,
|
|
]);
|
|
|
|
const Root = () => (
|
|
<TamaguiProvider config={tamaguiConfig}>
|
|
<App />
|
|
</TamaguiProvider>
|
|
);
|
|
|
|
AppRegistry.registerComponent(appName, () => Root);
|