-
Notifications
You must be signed in to change notification settings - Fork 31
/
mobile-config.js
43 lines (37 loc) · 1.66 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
/* eslint-disable no-undef */
/* eslint-disable max-len */
App.info({
id: 'org.jwmanagement',
name: 'JWManagement',
version: '1.0.0',
description: 'A highly configurable shift management system for Jehovah\'s Witnesses. Built to power projects like the metropolitan witnessing, construction projects and/or similar',
author: 'JW Developer',
email: '[email protected]',
website: 'https://www.jwmanagement.org'
})
App.icons({
'iphone_2x': 'public/favicon/apple-touch-icon-120x120.png',
'iphone_3x': 'public/favicon/apple-touch-icon-180x180.png',
'ipad': 'public/favicon/apple-touch-icon-76x76.png',
'ipad_2x': 'public/favicon/apple-touch-icon-152x152.png',
'ipad_pro': 'public/favicon/apple-touch-icon-180x180.png',
'ios_settings': 'public/favicon/apple-touch-icon-29x29.png',
'ios_settings_2x': 'public/favicon/apple-touch-icon-58x58.png',
'android_mdpi': 'public/favicon/android-chrome-48x48.png',
'android_hdpi': 'public/favicon/android-chrome-72x72.png',
'android_xhdpi': 'public/favicon/android-chrome-96x96.png',
'android_xxhdpi': 'public/favicon/android-chrome-144x144.png',
'android_xxxhdpi': 'public/favicon/android-chrome-192x192.png'
})
App.launchScreens({
'iphone_2x': 'public/favicon/iphone4.png',
'iphone5': 'public/favicon/iphone5.png',
'iphone6': 'public/favicon/iphone6.png',
'iphone6p_portrait': 'public/favicon/iphone6plus.png'
})
App.setPreference('BackgroundColor', '0xff3f51b5')
App.setPreference('HideKeyboardFormAccessoryBar', true)
App.setPreference('Orientation', 'default')
App.setPreference('Orientation', 'all', 'ios')
App.accessRule('blob:*')
App.configurePlugin('phonegap-plugin-push', { SENDER_ID: 83017492 })