-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
43 lines (30 loc) · 1.01 KB
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import Amplify from 'aws-amplify';
import amplify from './src/aws-exports';
import Predictions, { AmazonAIPredictionsProvider } from '@aws-amplify/predictions';
import 'react-native-gesture-handler'
import { EvaIconsPack } from '@ui-kitten/eva-icons';
import { ApplicationProvider, IconRegistry } from '@ui-kitten/components'
import { mapping } from '@eva-design/eva'
import { theme, customMapping } from 'theme/theme'
import React from 'react';
import {
withGalio,
} from 'galio-framework';
import 'domain'
import { useFonts } from '@use-expo/font'
import { AppLoading } from 'expo'
import Navigation from './src/Navigation'
Amplify.configure(amplify);
Amplify.addPluggable(new AmazonAIPredictionsProvider());
function App() {
// TODO: AppLoading for auth
return (
<React.Fragment>
<IconRegistry icons={EvaIconsPack} />
<ApplicationProvider mapping={mapping} theme={theme}>
<Navigation />
</ApplicationProvider>
</React.Fragment>
);
}
export default withGalio(App)