Преглед на файлове

Step 6.2: add mobile-config.

Frederic G. MARAND преди 9 години
родител
ревизия
996f41bd1e
променени са 2 файла, в които са добавени 43 реда и са изтрити 0 реда
  1. 43 0
      mobile-config.js
  2. BIN
      splash/logo-osinet.png

+ 43 - 0
mobile-config.js

@@ -0,0 +1,43 @@
+// This section sets up some basic app metadata,
+// the entire section is optional.
+App.info({
+  id: 'com.meteor.reactodos',
+  name: 'Reactodos',
+  description: 'Get your TODOs using a React UI',
+  author: 'OSInet',
+  email: 'support@osinet.fr',
+  website: 'http://www.osinet.fr'
+});
+
+// Set up resources such as icons and launch screens.
+App.icons({
+  'android_ldpi' : 'splash/logo-osinet.png',
+  'android_mdpi' : 'splash/logo-osinet.png',
+  'android_hdpi' : 'splash/logo-osinet.png',
+  'android_xhdpi' : 'splash/logo-osinet.png'
+});
+
+//App.launchScreens({
+//  'android_ldpi_portrait' : 'splash/logo-osinet.9.png',
+//  'android_ldpi_landscape' : 'splash/logo-osinet.9.png',
+//  'android_mdpi_portrait' : 'splash/logo-osinet.9.png',
+//  'android_mdpi_landscape' : 'splash/logo-osinet.9.png',
+//  'android_hdpi_portrait' : 'splash/logo-osinet.9.png',
+//  'android_hdpi_landscape' : 'splash/logo-osinet.9.png',
+//  'android_xhdpi_portrait' : 'splash/logo-osinet.9.png',
+//  'android_xhdpi_landscape' : 'splash/logo-osinet.9.png'
+//});
+
+// Set PhoneGap/Cordova preferences
+App.setPreference('BackgroundColor', '0xff0000ff');
+App.setPreference('HideKeyboardFormAccessoryBar', true);
+App.setPreference('Orientation', 'default');
+App.setPreference('Orientation', 'all', 'ios');
+
+// Pass preferences for a particular PhoneGap/Cordova plugin
+//App.configurePlugin('com.phonegap.plugins.facebookconnect', {
+//  APP_ID: '1234567890',
+//  API_KEY: 'supersecretapikey'
+//});
+
+// IP: 80.215.198.218

BIN
splash/logo-osinet.png