четверг, 16 октября 2014 г.

Organized chaos

Ionic / Cordova - Organized Chaos

enter image description here

Problems with weinre

  • It refuses to work with windows phone (it freezes application on the start, when weinre script included)
  • Run, not just wenire, but --boundHost 127.0.0.15 --httpPort 9090 and script in index.html should be http://127.0.0.15:9090/target/target-script-min.js#anonymous‘, where 127.0.0.15 is your local ip, (windows command : ipconfig - see vp4)

Icons / Splashes

Too many different resolutions to support.
Use imagemagic to convert different icons and screens from single source.
These scripts generate and copy resources to the appropriate device project folders (hooks/after_prepare).

Lock screen rotation

  • For android and ios (config.xml)
<preference name="orientation" value="portrait" />
  • For wp8 (MainPage.xaml)
SupportedOrientations="Portrait" Orientation="Portrait"

Deploy to Android

If can’t deploy to some android device, use this

Written with StackEdit.

Комментариев нет:

Отправить комментарий