forked from digidem/release-automations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
51 lines (47 loc) · 1.04 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
44
45
46
47
48
49
50
51
import { StatusBar } from 'expo-status-bar'
import { SafeAreaView, StyleSheet, Text, View } from 'react-native'
import {
applicationId,
applicationName,
nativeApplicationVersion,
nativeBuildVersion,
} from 'expo-application'
export default function App() {
return (
<SafeAreaView style={styles.container}>
<StatusBar style="dark" />
<Text style={[styles.title, styles.bold]}>{applicationName}</Text>
<View style={styles.infoContainer}>
<View>
<Text style={styles.bold}>Application ID:</Text>
<Text>{applicationId}</Text>
</View>
<View>
<Text style={styles.bold}>Application Version:</Text>
<Text>{nativeApplicationVersion}</Text>
</View>
<View>
<Text style={styles.bold}>Build Version:</Text>
<Text>{nativeBuildVersion}</Text>
</View>
</View>
</SafeAreaView>
)
}
const styles = StyleSheet.create({
container: {
flex: 1,
paddingVertical: 80,
paddingHorizontal: 20,
gap: 40,
},
infoContainer: {
gap: 20,
},
title: {
fontSize: 24,
},
bold: {
fontWeight: 'bold',
},
})