meteor-cordova

Meteor Cordova Orientation

让人想犯罪 __ 提交于 2020-01-15 15:29:28
问题 I am attempting to lock the orientation of the meteor cordova build to portrait mode. I have set up a top-level file called mobile-config.js In that file I included: App.setPreference('Orientation', 'portrait'); This seems to have no effect, it still switches to landscape mode. Does anyone know how I could implement portrait lock? Thanks! 回答1: It appears to be an open bug, check this answer here and the bug itself here. Apparently the simplest way is to edit the Manifest.xml file directly

How to execute an Meteor+Cordova tutorial (like SoLoMo) on my Samsung Galaxy S3

房东的猫 提交于 2019-12-11 20:37:42
问题 My goal is to develop an android app, which has a survey like functionality. So I experiment with Meteor and Cordova (also to learn the frameworks). My substep: Running one of the tutorials on my Android device: Samsung Galaxy S3 fails. That's how I start the app, while being in the directory /var/www/node_development/tutorials/solomo : meteor run android-device -p 192.168.178.21:3000 --verbose Here are the last lines from the --verbose log: -dex: [echo] Library project: do not convert