-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config.js
49 lines (46 loc) · 1 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
let VERSION = '1.0.0', VERSION_NUMBER = 100000000;
try {
const data = require('./dist/version');
VERSION = data.VERSION;
VERSION_NUMBER = data.VERSION_NUMBER;
} catch (e) {
//
}
export default {
name: 'BlueBase Boilerplate',
slug: 'plugin-boilerplate',
description: '🍛 A boilerplate to create BlueBase plugins or apps',
version: VERSION,
githubUrl: 'https://github.com/BlueBaseJS/plugin-boilerplate',
orientation: 'portrait',
icon: './assets/icon.png',
entryPoint: './node_modules/expo/AppEntry.js',
scheme: 'bluebase',
splash: {
image: './assets/splash.png',
resizeMode: 'cover',
backgroundColor: '#ffffff'
},
updates: {
fallbackToCacheTimeout: 0
},
assetBundlePatterns: [
'**/*'
],
ios: {
supportsTablet: true
},
android: {
versionCode: VERSION_NUMBER,
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor: '#FFFFFF'
}
},
web: {
favicon: './assets/favicon.png'
},
extra: {
storybookNative: process.env.NODE_ENV === 'STORYBOOK_NATIVE'
}
};