-
Notifications
You must be signed in to change notification settings - Fork 0
/
mobile-config.js
37 lines (32 loc) · 1.62 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
App.info({
name: 'inspetor-mups',
description: 'Ferramenta para registrar problemas sanitários.',
author: 'Dênnis Dantas de Sousa',
email: '[email protected]'
});
App.accessRule('*://localhost:12768/*');
App.accessRule('*://inspetor-mups.herokuapp.com/*');
App.accessRule('*://ajax.googleapis.com/*');
App.accessRule('*://fonts.googleapis.com/*');
App.accessRule('*://fonts.*.com/*');
App.accessRule('data:*', { type: 'navigation' });
App.setPreference('BackgroundColor', '0xffffffff');
App.setPreference("SplashMaintainAspectRatio", true, "android");
// Set up resources such as icons and launch screens.
App.icons({
'android_mdpi': 'resources/icons/icon-android_mdpi.png',
'android_hdpi': 'resources/icons/icon-android_hdpi.png',
'android_xhdpi': 'resources/icons/icon-android_xhdpi.png',
'android_xxhdpi': 'resources/icons/icon-android_xxhdpi.png',
'android_xxxhdpi': 'resources/icons/icon-android_xxxhdpi.png'
});
App.launchScreens({
'android_mdpi_landscape': 'resources/splash/splash-android_mdpi_landscape.png',
'android_hdpi_landscape': 'resources/splash/splash-android_hdpi_landscape.png',
'android_xhdpi_landscape': 'resources/splash/splash-android_xhdpi_landscape.png',
'android_xxhdpi_landscape': 'resources/splash/splash-android_xxhdpi_landscape.png',
'android_mdpi_portrait': 'resources/splash/splash-android_mdpi_portrait.png',
'android_hdpi_portrait': 'resources/splash/splash-android_hdpi_portrait.png',
'android_xhdpi_portrait': 'resources/splash/splash-android_xhdpi_portrait.png',
'android_xxhdpi_portrait': 'resources/splash/splash-android_xxhdpi_portrait.png'
});