-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config.js
45 lines (44 loc) · 1.12 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
import 'dotenv/config';
export default {
name: 'ForecastWare',
version: '1.0.6',
description: 'A weather forecast application',
slug: 'forecastware',
privacy: 'public',
orientation: 'portrait',
icon: './assets/appstore.png',
githubUrl: 'https://github.com/iAmmar7/forecastware',
userInterfaceStyle: 'automatic',
splash: {
image: './assets/splash.png',
resizeMode: 'contain',
backgroundColor: '#ffffff',
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ['assets/**/*'],
ios: {
supportsTablet: true,
userInterfaceStyle: 'automatic',
bundleIdentifier: 'com.iammar7.forecastware',
buildNumber: '1.0.6',
},
android: {
adaptiveIcon: {
foregroundImage: './assets/playstore.png',
backgroundColor: '#ffffff',
},
userInterfaceStyle: 'automatic',
package: 'com.iammar7.forecastware',
versionCode: 7,
permissions: ['ACCESS_FINE_LOCATION', 'ACCESS_BACKGROUND_LOCATION', 'WRITE_EXTERNAL_STORAGE'],
},
androidStatusBar: {
translucent: true,
},
extra: {
API_URL: process.env.API_URL,
API_KEY: process.env.API_KEY,
},
};