-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmobile-config.js
More file actions
29 lines (25 loc) · 813 Bytes
/
mobile-config.js
File metadata and controls
29 lines (25 loc) · 813 Bytes
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
/**
* Created by Thomas on 31/01/2016.
*/
App.info({
id: 'com.centraleyo',
name: 'Centrale Yo',
description: 'L\'Application de la NEB',
author: 'Centrale Yo (INC 07)',
email: 'thomas.walter@student.ecp.fr',
website: 'http://centraleyo.via.ecp.fr'
});
// Set up resources such as icons and launch screens.
App.icons({
'iphone': 'icons/icon-hdpi.png',
'iphone_2x': 'icons/icon-xxhdpi.png',
// Android
'android_mdpi': 'icons/icon-mdpi.png',
'android_hdpi': 'icons/icon-hdpi.png',
'android_xhdpi': 'icons/icon-xhdpi.png'
});
// Set PhoneGap/Cordova preferences
App.setPreference('BackgroundColor', '0xff0000ff');
App.setPreference('HideKeyboardFormAccessoryBar', true);
App.setPreference('Orientation', 'default');
App.setPreference('Orientation', 'all', 'ios');