-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.config.js
62 lines (60 loc) · 1.44 KB
/
app.config.js
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
52
53
54
55
56
57
58
59
60
61
62
import * as dotenv from 'dotenv';
dotenv.config();
module.exports = {
"expo": {
"name": "ignite-fleet",
"slug": "ignite-fleet",
"scheme": "ignite-fleet",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "dark",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "cover",
"backgroundColor": "#202024"
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.gbdsantos.ignitefleet",
"config": {
"googleMapsApiKey": process.env.GOOGLE_MAPS_API_KEY
},
"infoPlist": {
"UIBackgroundModes": ["location"]
}
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#202024"
},
"package": "com.gbdsantos.ignitefleet",
"permissions": [
"ACCESS_FINE_LOCATION",
"ACCESS_COARSE_LOCATION",
"ACCESS_BACKGROUND_LOCATION"
],
"config": {
"googleMaps": {
"apiKey": process.env.GOOGLE_MAPS_API_KEY
}
}
},
"plugins": [
[
"expo-location",
{
"locationAlwaysAndWhenInUsePermission": "Allow $(PRODUCT_NAME) to use your location."
}
],
"@react-native-google-signin/google-signin"
],
"web": {
"favicon": "./assets/favicon.png"
}
}
}