ios map working

This commit is contained in:
Ninjas Code - 4 2023-04-03 10:17:10 +05:00
parent b68ad15d6b
commit 5b52e87e1a
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
"expo": {
"name": "Enatega Rider",
"description": "Enatega is a starter kit food ordering app built in React Native using Expo for IOS and Android. It's made keeping good aesthetics in mind as well keeping the best coding practices in mind. Its fully customisable to easily help you in your next food delivery project. https://market.nativebase.io/view/react-native-food-delivery-backend-app",
"version": "4.2.4",
"version": "4.2.6",
"slug": "food-delivery-rider",
"privacy": "public",
"androidStatusBar": {
@ -38,7 +38,7 @@
"supportsTablet": true,
"bundleIdentifier": "com.enatega.driver",
"config": {
"googleMapsApiKey": ""
"googleMapsApiKey": "AIzaSyCzNP5qQql2a5y8lOoO-1yj1lj_tzjVImA"
},
"infoPlist": {
"NSCameraUsageDescription": "To scan credit cards using Stripe sdk.",

View File

@ -356,11 +356,11 @@ function OrderDetail() {
<MapView
style={styles.flex}
scrollEnabled={false}
zoomEnabled={false}
loadingBackgroundColor={colors.tagColor}
zoomControlEnabled={false}
rotateEnabled={false}
cacheEnabled={true}
googleMapsApiKey="AIzaSyCzNP5qQql2a5y8lOoO-1yj1lj_tzjVImA"
initialRegion={{
latitude: parseFloat(selectedOrder.delivery_address.latitude),
latitudeDelta: LATITUDE_DELTA,