-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathApp.js
More file actions
28 lines (23 loc) · 642 Bytes
/
Copy pathApp.js
File metadata and controls
28 lines (23 loc) · 642 Bytes
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
import React from 'react';
import {StyleSheet, View, Text} from 'react-native';
import BookComponent from './src/core/presentation/BookComponent';
import codePush from 'react-native-code-push';
const App = () => {
return (
<>
<View style={styles.body}>
<Text>Hello World</Text>
<Text>Testing Code Push App version 1.1</Text>
</View>
<BookComponent />
</>
);
};
const styles = StyleSheet.create({
body: {},
});
const codePushOptions = {
installMode: codePush.InstallMode.IMMEDIATE,
checkFrequency: codePush.CheckFrequency.ON_APP_START,
};
export default codePush(codePushOptions)(App);