-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmobile-config.js
33 lines (33 loc) · 1.24 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
// This section sets up some basic app metadata, the entire section is optional.
App.info({
id: 'com.payagol',
name: 'Payagol',
description: 'Flower auction',
author: 'SRAjayebi',
email: '[email protected]',
website: 'http://payaol.meteorapp.com'
});
// Set up resources such as icons and launch screens.
App.icons({
'iphone': 'public/icons/ios/AppIcon.appiconset/[email protected]',
'iphone_2x': 'public/icons/ios/AppIcon.appiconset/[email protected]',
'iphone_3x': 'public/icons/ios/AppIcon.appiconset/[email protected]',
// More screen sizes and platforms...
});
// Set PhoneGap/Cordova preferences.
App.setPreference('BackgroundColor', '0xff0000ff');
App.setPreference('HideKeyboardFormAccessoryBar', true);
App.setPreference('Orientation', 'default');
App.setPreference('Orientation', 'all', 'ios');
// Pass preferences for a particular PhoneGap/Cordova plugin.
App.configurePlugin('com.phonegap.plugins.facebookconnect', {
APP_ID: '1234567890',
API_KEY: 'supersecretapikey'
});
// Add custom tags for a particular PhoneGap/Cordova plugin to the end of the
// generated config.xml. 'Universal Links' is shown as an example here.
App.appendToConfig(`
<universal-links>
<host name="localhost:3000" />
</universal-links>
`);