-
-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathindex.ios.js
More file actions
21 lines (18 loc) · 760 Bytes
/
index.ios.js
File metadata and controls
21 lines (18 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-FileCopyrightText: 2018-2022 The Manyverse Authors
//
// SPDX-License-Identifier: MPL-2.0
import 'react-native-ssb-shims';
import {URL, URLSearchParams} from 'react-native-url-polyfill';
globalThis.URL = URL;
globalThis.URLSearchParams = URLSearchParams;
import {run} from 'cycle-native-navigation';
import {screens, drivers} from './lib/frontend/index';
import {welcomeLayout, defaultNavOptions} from './lib/frontend/screens/layouts';
import nodejs from 'nodejs-mobile-react-native';
import setupSentryMobile from './setup-sentry-mobile';
// import './snoopy'; // Log and debug the React Native JS<-->Native Bridge
setTimeout(() => {
nodejs.start('loader.js');
}, 1);
run(screens, drivers, welcomeLayout, defaultNavOptions);
setupSentryMobile();