Created
April 25, 2016 16:27
-
-
Save rizkysyazuli/579a82e1f4d2bd615f35b859c9d38cdb to your computer and use it in GitHub Desktop.
Meteor.js Mobile Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Meteor mobile app configuration file */ | |
/* More info: http://docs.meteor.com/#/full/mobileconfigjs */ | |
/* general app information */ | |
App.info({ | |
id: 'com.mirumagency.appname', | |
name: 'App Name', | |
description: 'Your app description', | |
author: 'Rizky Syazuli', | |
email: '[email protected]', | |
website: 'http://yoursite.com/', | |
version: '0.1.0' | |
}); | |
/* Android app icons & splash screens */ | |
App.icons({ | |
'iphone': 'resources/icons/ios/icon-57.png', | |
'iphone_2x': 'resources/icons/ios/[email protected]', | |
'android_ldpi': 'resources/icons/android/drawable-ldpi/appicon.png', | |
'android_mdpi': 'resources/icons/android/drawable-mdpi/appicon.png', | |
'android_hdpi': 'resources/icons/android/drawable-hdpi/appicon.png', | |
'android_xhdpi': 'resources/icons/android/drawable-xhdpi/appicon.png' | |
}); | |
/* iOS app icons & splash screens */ | |
App.launchScreens({ | |
'iphone': 'resources/splash/ios/splash-320x480.png', | |
'iphone_2x': 'resources/splash/ios/[email protected]', | |
'iphone5': 'resources/splash/ios/splash-640x1136.png', | |
'android_ldpi_portrait': 'resources/splash/android/res-en-long-port-ldpi/default.png', | |
'android_mdpi_portrait': 'resources/splash/android/res-en-long-port-mdpi/default.png', | |
'android_hdpi_portrait': 'resources/splash/android/res-en-long-port-hdpi/default.png', | |
'android_xhdpi_portrait': 'resources/splash/android/res-en-long-port-xhdpi/default.png' | |
}); | |
/* general app preferences */ | |
App.setPreference('Orientation', 'portrait'); | |
App.setPreference('StatusBarOverlaysWebView', 'false'); | |
/* whitelisted domains */ | |
App.accessRule('*.google.com/*'); | |
App.accessRule('*.googleapis.com/*'); | |
App.accessRule('*.gstatic.com/*'); | |
App.accessRule('*.meteor.com/*'); | |
App.accessRule('*.local/*'); | |
App.accessRule('10.0.2.2:3000/*'); | |
App.accessRule('*.yoursite.com/*'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment