forked from pbca26/agama-mobile
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mobile-config.js
56 lines (51 loc) · 2.06 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
52
53
54
55
56
App.info({
id: 'com.supernet.agama',
version: '0.0.3',
buildNumber: '777',
name: 'Agama',
description: 'Agama Mobile is a lightweight wallet application that allows users to manage multiple crypto currencies. It\'s built on top of SPV technology which provides a quick way to retrieve and push transaction data.',
author: 'SuperNET',
email: 'dev@supernet.org',
website: 'http://supernet.org'
});
// Set up resources such as icons and launch screens.
App.icons({
// ios
'iphone': 'app-assets/icons/iphone.png',
'iphone_2x': 'app-assets/icons/iphone_2x.png',
'iphone_3x': 'app-assets/icons/iphone_3x.png',
'ipad': 'app-assets/icons/ipad.png',
'ipad_2x': 'app-assets/icons/ipad_2x.png',
'ipad_pro': 'app-assets/icons/ipad_pro.png',
'app_store': 'app-assets/icons/app_store.png',
// android
'android_mdpi': 'app-assets/icons/48x48.png',
'android_hdpi': 'app-assets/icons/64x64.png',
'android_xhdpi': 'app-assets/icons/96x96.png',
'android_xxhdpi': 'app-assets/icons/128x128.png',
'android_xxxhdpi': 'app-assets/icons/256x256.png',
});
App.launchScreens({
// ios
'iphone_2x': 'app-assets/splash/iphone_2x.png',
'iphone5': 'app-assets/splash/iphone5.png',
'iphone6': 'app-assets/splash/iphone6.png',
// android
'android_mdpi_portrait': 'app-assets/splash/drawable-mdpi/agama.9.png',
'android_hdpi_portrait': 'app-assets/splash/drawable-hdpi/agama.9.png',
'android_xhdpi_portrait': 'app-assets/splash/drawable-xhdpi/agama.9.png',
'android_xxhdpi_portrait': 'app-assets/splash/drawable-xxhdpi/agama.9.png',
'android_xxxhdpi_portrait': 'app-assets/splash/drawable-xxxhdpi/agama.9.png',
});
// App.accessRule('http://46.20.235.46');
App.accessRule('*');
/*App.launchScreens({
'iphone_2x': 'splash/Default@2x~iphone.png',
'iphone5': 'splash/Default~iphone5.png',
// More screen sizes and platforms...
});*/
// Set PhoneGap/Cordova preferences.
App.setPreference('BackgroundColor', '0xffffffff');
/*App.setPreference('HideKeyboardFormAccessoryBar', true);
App.setPreference('Orientation', 'default');
App.setPreference('Orientation', 'all', 'ios');*/