-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmobile-config.js
58 lines (51 loc) · 2.09 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
48
49
50
51
52
53
54
55
56
57
58
App.info({
id: 'com.meteor.trombone',
name: 'Trombone',
description: 'An education app',
author: 'FazApp',
email: 'fazappmobile@gmail.com',
website: 'fb.com/fazappmobile'
});
App.icons({
// iOS
//'iphone': 'resources/icons/icon-60x60.png',
//'iphone_2x': 'resources/icons/icon-60x60@2x.png',
//'iphone_3x': 'resources/icons/icon-60x60@3x.png',
//'ipad': 'resources/icons/icon-76x76.png',
//'ipad_2x': 'resources/icons/icon-76x76@2x.png',
// Android
'android_ldpi': 'resources/icons/icon-36x36.png',
'android_mdpi': 'resources/icons/icon-48x48.png',
'android_hdpi': 'resources/icons/icon-72x72.png',
'android_xhdpi': 'resources/icons/icon-96x96.png'
});
App.launchScreens({
/*
'iphone': 'resources/splash/splash-320x480.png',
'iphone_2x': 'resources/splash/splash-320x480@2x.png',
'iphone5': 'resources/splash/splash-320x568@2x.png',
'iphone6': 'resources/splash/splash-375x667@2x.png',
'iphone6p_portrait': 'resources/splash/splash-414x736@3x.png',
'iphone6p_landscape': 'resources/splash/splash-736x414@3x.png',
'ipad_portrait': 'resources/splash/splash-768x1024.png',
'ipad_portrait_2x': 'resources/splash/splash-768x1024@2x.png',
'ipad_landscape': 'resources/splash/splash-1024x768.png',
'ipad_landscape_2x': 'resources/splash/splash-1024x768@2x.png',
*/
'android_ldpi_portrait': 'resources/splash/splash-200x320.png',
'android_ldpi_landscape': 'resources/splash/splash-320x200.png',
'android_mdpi_portrait': 'resources/splash/splash-320x480.png',
'android_mdpi_landscape': 'resources/splash/splash-480x320.png',
'android_hdpi_portrait': 'resources/splash/splash-480x800.png',
'android_hdpi_landscape': 'resources/splash/splash-800x480.png',
'android_xhdpi_portrait': 'resources/splash/splash-720x1280.png',
'android_xhdpi_landscape': 'resources/splash/splash-1280x720.png'
});
App.setPreference('BackgroundColor', '0xffffffff');
App.setPreference('HideKeyboardFormAccessoryBar', true);
App.setPreference('Orientation', 'portrait');
App.configurePlugin('com.phonegap.plugins.facebookconnect', {
APP_ID: '766678806788876',
API_KEY: 'daae593f38c6e68212fb647445240e66'
});
App.accessRule("blob:*");