-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.config.js
56 lines (54 loc) · 1.3 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
const version = '1.2.0';
const buildNumber = 1;
const backgroundColor = '#00a688';
export default ({ config }) => ({
...config,
name: 'Plataforma Sabiá',
slug: 'plataforma-sabia',
owner: 'plataformasabia',
version,
orientation: 'portrait',
icon: './assets/icon.png',
splash: {
image: './assets/splash.png',
resizeMode: 'contain',
backgroundColor,
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ['**/*'],
ios: {
bundleIdentifier: 'com.plataformasabia.app',
googleServicesFile: './GoogleService-Info.plist',
buildNumber: buildNumber.toString(),
supportsTablet: false,
config: {
googleMapsApiKey: process.env.GOOGLE_MAPS_API,
},
},
android: {
package: 'com.plataformasabia.app',
googleServicesFile: './google-services.json',
versionCode: buildNumber,
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor,
},
config: {
googleMaps: {
apiKey: process.env.GOOGLE_MAPS_API,
},
},
},
web: {
config: {
firebase: {
appId: process.env.FIREBASE_APP_ID,
apiKey: process.env.FIREBASE_API_KEY,
projectId: process.env.FIREBASE_PROJECT_ID,
measurementId: `G-${process.env.FIREBASE_MEASUREMENT_ID}`,
},
},
},
});