22 lines
608 B
JavaScript
22 lines
608 B
JavaScript
import 'react-native-reanimated';
|
|
// 1️⃣ MUST be first — install crypto polyfill
|
|
import { install } from 'react-native-quick-crypto';
|
|
install(); // Sets up global.crypto
|
|
|
|
// 2️⃣ Import random values polyfill (MUST come after install())
|
|
import 'react-native-get-random-values';
|
|
|
|
// 3️⃣ Core React Native + libraries
|
|
import 'react-native-gesture-handler';
|
|
|
|
// 4️⃣ App
|
|
import { AppRegistry } from 'react-native';
|
|
|
|
import App from './PerformicsSrc/src/screens/App';
|
|
|
|
import { name as appName } from './app.json';
|
|
|
|
// 5️⃣ Register the app
|
|
AppRegistry.registerComponent(appName, () => App);
|
|
|