Skip to content

Commit

Permalink
Refactor package.json to add expo-updates dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
KamogeloMoeketse committed Oct 16, 2024
1 parent ccce3f4 commit f853563
Show file tree
Hide file tree
Showing 4 changed files with 240 additions and 6 deletions.
17 changes: 12 additions & 5 deletions frontend/occupi-mobile4/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
},
"ios": {
"supportsTablet": true,
"config": {
"usesNonExemptEncryption": false
},
"infoPlist": {
"NSFaceIDUsageDescription": "This app uses Face ID or Touch ID to confirm bookings.",
"NSLocationWhenInUseUsageDescription": "This app uses your location to provide relevant information."
Expand All @@ -30,7 +27,11 @@
"USE_BIOMETRIC",
"USE_FINGERPRINT",
"ACCESS_COARSE_LOCATION",
"ACCESS_FINE_LOCATION"
"ACCESS_FINE_LOCATION",
"android.permission.ACCESS_COARSE_LOCATION",
"android.permission.ACCESS_FINE_LOCATION",
"android.permission.RECORD_AUDIO",
"android.permission.MODIFY_AUDIO_SETTINGS"
],
"adaptiveIcon": {
"foregroundImage": "./assets/images/adaptive-icon.png",
Expand Down Expand Up @@ -67,6 +68,12 @@
"eas": {
"projectId": "0127a6f2-e29a-4a67-a134-be8c4daed566"
}
},
"runtimeVersion": {
"policy": "appVersion"
},
"updates": {
"url": "https://u.expo.dev/0127a6f2-e29a-4a67-a134-be8c4daed566"
}
}
}
}
226 changes: 226 additions & 0 deletions frontend/occupi-mobile4/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontend/occupi-mobile4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"expo-splash-screen": "~0.27.5",
"expo-status-bar": "~1.12.1",
"expo-system-ui": "~3.0.6",
"expo-updates": "^0.25.27",
"expo-web-browser": "~13.0.3",
"framer-motion": "^11.8.0",
"gifted-charts-core": "^0.1.29",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const ViewBookingDetails = () => {

return (
<View pt="$16" flex={1} backgroundColor={currentTheme === 'dark' ? 'black' : 'white'}>
<View flexDirection="row" alignItems="center" >
<View flexDirection="row">
<Icon as={Feather} name="chevron-left" size="xl" color={currentTheme === 'dark' ? 'white' : 'black'} onPress={() => router.back()} />
<Text fontWeight="$bold" fontSize={16} left="$10" color={currentTheme === 'dark' ? 'white' : 'black'}>{room?.roomName}</Text>
</View>
Expand Down

0 comments on commit f853563

Please sign in to comment.