forked from marcelpanse/roborally
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mobile-config.js
47 lines (42 loc) · 2.01 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
// http://docs.meteor.com/#/full/mobileconfigjs
// generate sizes --> http://ticons.fokkezb.nl/
// This section sets up some basic app metadata,
// the entire section is optional.
App.info({
id: 'com.roborally',
name: 'RoboRally',
description: 'You are brilliant. You are powerful. You are sophisticated. You are BORED. Play RoboRally online!',
author: 'Marcel Panse',
email: '[email protected]',
website: 'http://www.roborally.com'
});
// Set up resources such as icons and launch screens.
App.icons({
'iphone': 'public/iphone/appicon-60.png',
'iphone_2x': 'public/iphone/[email protected]',
'iphone_3x': 'public/iphone/[email protected]',
'ipad': 'public/iphone/appicon-60.png',
'ipad_2x': 'public/iphone/[email protected]',
'android_ldpi': 'public/android/drawable-ldpi/appicon.png',
'android_mdpi': 'public/android/drawable-mdpi/appicon.png',
'android_hdpi': 'public/android/drawable-hdpi/appicon.png',
'android_xhdpi': 'public/android/drawable-xhdpi/appicon.png'
});
App.launchScreens({
'iphone': 'public/iphone/Default-Landscape.png',
'iphone_2x': 'public/iphone/[email protected]',
'iphone5': 'public/iphone/[email protected]',
'iphone6': 'public/iphone/[email protected]',
'iphone6p_landscape': 'public/iphone/[email protected]',
'ipad_landscape': 'public/iphone/[email protected]',
'ipad_landscape_2x': 'public/iphone/[email protected]',
'android_ldpi_landscape': 'public/android/res-long-land-ldpi/default.png',
'android_mdpi_landscape': 'public/android/res-long-land-mdpi/default.png',
'android_hdpi_landscape': 'public/android/res-long-land-hdpi/default.png',
'android_xhdpi_landscape': 'public/android/res-long-land-xhdpi/default.png'
});
// Set PhoneGap/Cordova preferences
App.setPreference('BackgroundColor', '0xffffffff');
App.setPreference('HideKeyboardFormAccessoryBar', true);
App.setPreference('Fullscreen', true);
App.setPreference('Orientation', "landscape");