Commit 0bc95751 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo
parents eed83074 af4812ae
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"android", "android",
"web" "web"
], ],
"version": "a.2006051200", "version": "a.2006061600",
"orientation": "portrait", "orientation": "portrait",
"icon": "./assets/excelso.png", "icon": "./assets/excelso.png",
"splash": { "splash": {
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
}, },
"android": { "android": {
"package": "local.ravExcelso", "package": "local.ravExcelso",
"versionCode": 2006051200, "versionCode": 2006061600,
"config": { "config": {
"googleMaps": { "googleMaps": {
"apiKey": "AIzaSyAcCfuNHVFstDUE-ZDafWsiUmA3ON79cqo" "apiKey": "AIzaSyAcCfuNHVFstDUE-ZDafWsiUmA3ON79cqo"
...@@ -45,8 +45,7 @@ ...@@ -45,8 +45,7 @@
"config": { "config": {
"organization": "ravintola", "organization": "ravintola",
"project": "ravintola", "project": "ravintola",
"authToken": "5a140e31fb884af58c7d9e20e8baa5ddc8fee9ac79ba427786da245b3015f6d3", "authToken": "5a140e31fb884af58c7d9e20e8baa5ddc8fee9ac79ba427786da245b3015f6d3"
"url": "your sentry url here"
} }
} }
] ]
......
...@@ -24,6 +24,7 @@ import * as Location from 'expo-location'; ...@@ -24,6 +24,7 @@ import * as Location from 'expo-location';
import * as Permissions from 'expo-permissions'; import * as Permissions from 'expo-permissions';
import * as Device from 'expo-device'; import * as Device from 'expo-device';
import session from '../function/session'; import session from '../function/session';
import Constants from 'expo-constants';
class Account extends React.Component { class Account extends React.Component {
constructor(props) { constructor(props) {
...@@ -315,7 +316,7 @@ class Account extends React.Component { ...@@ -315,7 +316,7 @@ class Account extends React.Component {
</Card> </Card>
</TouchableOpacity> </TouchableOpacity>
</View> </View>
<View style={{ flex: 1, flexDirection: 'row', justifyContent: 'center' }}> <View style={{ flex: 1, flexDirection: 'row', marginBottom: 10, justifyContent: 'center' }}>
<TouchableOpacity style={{ marginBottom: 5, margin: 4 }} onPress={() => this.props.navigation.navigate('Transaction History')} > <TouchableOpacity style={{ marginBottom: 5, margin: 4 }} onPress={() => this.props.navigation.navigate('Transaction History')} >
<Card style={{ height: 120, width: 155 }}> <Card style={{ height: 120, width: 155 }}>
...@@ -346,10 +347,10 @@ class Account extends React.Component { ...@@ -346,10 +347,10 @@ class Account extends React.Component {
<View style={{ flex: 1, flexDirection: 'row', justifyContent: 'center' }}> <View style={{ flex: 1, flexDirection: 'row', justifyContent: 'center' }}>
{this.state.premium === false ? ( {this.state.premium === false ? (
<TouchableOpacity onPress={() => this.props.navigation.navigate('Upgrade Premium')} style={{ marginBottom: 20, marginRight: 5, marginLeft: 5 }}> <TouchableOpacity onPress={() => this.props.navigation.navigate('Upgrade Premium')} style={{ marginBottom: 20, marginRight: 5, marginLeft: 5 }}>
<Card style={{ height: 120, width: 155 }}> <Card style={{ width: 200, paddingHorizontal:10, paddingTop:20, paddingBottom:20 }}>
<View style={{ height: 50, alignItems: 'center' }}> <View style={{ flex:1, alignItems: 'center' }}>
<MaterialIcons name="autorenew" size={30} color="gray" style={{ top: 20 }} /> <MaterialIcons name="autorenew" size={30} color="gray" style={{ marginBottom: 10 }} />
<Text style={{ fontFamily: 'Gotham-Black', textAlign: 'center', top: 30, fontSize: 14, color: '#838383' }}>UPGRADE PREMIUM</Text> <Text style={{ fontFamily: 'Gotham-Black', textAlign: 'center', fontSize: 14, color: '#838383' }}>UPGRADE PREMIUM</Text>
</View> </View>
</Card> </Card>
</TouchableOpacity> </TouchableOpacity>
...@@ -370,6 +371,10 @@ class Account extends React.Component { ...@@ -370,6 +371,10 @@ class Account extends React.Component {
</View> </View>
) )
} }
<View style={{ flex: 1, marginBottom: 10 }}>
<Text style={{ color: 'grey', fontSize: 12, textAlign: 'center' }}>Build Version : {Constants.manifest.version}</Text>
</View>
</ScrollView> </ScrollView>
</View> </View>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment