This repository has been archived by the owner on May 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mobile-config.js
51 lines (45 loc) · 1.95 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
App.info({
name: 'CGSpace Tweets',
description: 'A tool to mass tweet CGSpace items.',
author: 'ILRI CKM',
email: '[email protected]',
website: 'https://www.ilri.org/ckm',
version: '1.0.0'
});
App.icons({
// iOS
'iphone': 'resources/icons/icon-60x60.png',
'iphone_2x': 'resources/icons/[email protected]',
'ipad': 'resources/icons/icon-76x76.png',
'ipad_2x': 'resources/icons/[email protected]',
// 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({
// iOS
'iphone': 'resources/splash/splash-320x480.png',
'iphone_2x': 'resources/splash/[email protected]',
'iphone5': 'resources/splash/[email protected]',
'ipad_portrait': 'resources/splash/splash-768x1024.png',
'ipad_portrait_2x': 'resources/splash/[email protected]',
'ipad_landscape': 'resources/splash/splash-1024x768.png',
'ipad_landscape_2x': 'resources/splash/[email protected]',
// Android
'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('StatusBarOverlaysWebView', 'false');
App.setPreference('StatusBarBackgroundColor', '#427730');
// Allow access to external links to handles and DOIs
App.accessRule('https://hdl.handle.net/*');
App.accessRule('http://dx.doi.org/*');
App.accessRule('https://twitter.com/*');