Archive for April 2013
This is for OS X only, and does not check for project requirements yet (which may be coming with the bin/check_reqs scripts in 2.7.0). Essentially this proof of concept project is a GUI wrapper for the bin/create scripts you know and love. You could use this against the the iOS, OS X, Android and BlackBerry source (although I have only tested it for iOS and OS X projects). Think of this as Handbrake for ffmpeg.
The project routes the stderr and stdout from the script call back to your callback function, and also reports the resultcode for you to further process.
Ideally this would be a GUI for cordova-cli instead, that may come in the future. This app was also created using itself, and Cordova OS X.
The GUI itself won’t win any awards yet, but is workable (click to enlarge):
The WebView used is from the system WebKit, which varies depending on your OS X version. Since it uses the system WebKit, the Web API support follows from it, and running Modernizr on a Cordova OS X project on OS X 10.8.3 there is broad support for most of the APIs out there except for indexeddb, some advanced input types, flexbox and WebGL. WebGL can be enabled in code however. See the Modernizr report below:
1. Config.xml <preference> changes – added KeyboardShrinksView and HideKeyboardFormAccessoryBar. UIWebViewBounce renamed to DisallowOverscroll. EnableLocation deprecated.
HideKeyboardFormAccessoryBar will hide the form accessory bar (the Next, Prev and Done buttons) when the keyboard is shown for handling input in a textbox.
KeyboardShrinksView will shrink the WebView when the keyboard comes up. The WebView shrinks instead of the viewport shrinking and the page scrollable. This applies to apps that position their elements relative to the bottom of the WebView. This is the default behaviour on Android, and makes a lot of sense when building apps as opposed to webpages.
The UIWebViewBounce preference was changed to DisallowOverscroll to be consistent with Android (thus the default value is the opposite).
The EnableLocation preference is deprecated – set the “onload” attribute of the CDVLocation plugin element instead.
2. InAppBrowser API – “loaderror” event added
3. Notification API changes
4. FileTransfer API changes
5. Camera API changes
6. Various splash-screen issues fixed
See this issue.
7. Various iframe issues fixed
8. Various FileReader issues fixed
9. Multi-part plugin result is now supported
10. Plugins can be dynamically registered (outside of config.xml)
See this issue.
Other fixes are in the RELEASE NOTES.