-
Notifications
You must be signed in to change notification settings - Fork 0
/
mobile-config.js
47 lines (41 loc) · 1.7 KB
/
mobile-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
App.info({
name: '潜途',
description: '一个潜水相关的软件',
author: 'divebar',
email: '[email protected]',
website: 'http://divebar.com',
version: '3.3.5'
});
App.icons({
// iOS
'iphone': 'resources/icons/icon-60.png',
'iphone_2x': 'resources/icons/[email protected]',
'iphone_3x': 'resources/icons/[email protected]',
'ipad': 'resources/icons/icon-76.png',
'ipad_2x': 'resources/icons/[email protected]',
// Android
'android_ldpi': 'resources/icons/icon-36.png',
'android_mdpi': 'resources/icons/icon-48.png',
'android_hdpi': 'resources/icons/icon-72.png',
'android_xhdpi': 'resources/icons/icon-96.png'
});
App.launchScreens({
// iOS
'iphone': 'resources/splash/iphone/Default.png',
'iphone_2x': 'resources/splash/iphone/[email protected]',
'iphone5': 'resources/splash/iphone/[email protected]',
'iphone6': 'resources/splash/iphone/[email protected]',
'iphone6p_portrait': 'resources/splash/iphone/[email protected]',
'ipad_portrait': 'resources/splash/iphone/Default-Portrait.png',
'ipad_portrait_2x': 'resources/splash/iphone/[email protected]',
// Android
'android_ldpi_portrait': 'resources/splash/android/images/res-long-port-ldpi/default.png',
'android_mdpi_portrait': 'resources/splash/android/images/res-long-port-mdpi/default.png',
'android_hdpi_portrait': 'resources/splash/android/images/res-long-port-hdpi/default.png',
'android_xhdpi_portrait': 'resources/splash/android/images/res-long-port-xhdpi/default.png'
});
//App.setPreference('StatusBarOverlaysWebView', 'false');
//App.setPreference('StatusBarBackgroundColor', '#000000');
App.setPreference('orientation', 'portrait');
App.setPreference('fullscreen', 'true');
App.accessRule("*");