Shazron's Cordova (aka PhoneGap) Blog

at Adobe Systems Inc.

What’s new in Cordova iOS 2.7.0

with 10 comments

cordova_botMainly bug fixes, the only highlights are new features for InAppBrowser – executeScript() and insertCSS(). Download 2.7.0.

1. Script Updates

  • [CB–2849] Fix bin/create when CordovaLib parent dir has a space
  • [CB–2788] add ./bin/check_reqs script to iOS
  • [CB–3048] Add –arc flag to create script, support arc in template.

2. FileTransfer Updates

  • [CB–2537] Implement streaming downloads for FileTransfer
  • [CB–2190] Allow FileTransfer uploads/downloads to continue in background
  • [CB–1518] Request content length in parallel with download for gzipped content
  • [CB–51] Added httpMethod for file transfer options (defaults to POST)
  • [CB–2824] Remove DebugConsole plugin
  • [CB–3066] Fire onNativeReady from JS, as bridge is available immediately

3. Whitelist Updates

  • [CB–3032] Add whitelist support for custom schemes.
  • [CB–3067] iOS 5.0 file urls are not passing whitelist due to recent changes

4. Miscellaneous

  • [CB–2725] Fix www deploy issues with symlinks
  • [CB–2732] Only set camera device when allowed.
  • [CB–2911] Updated resolveLocalFileSystemURI.
  • [CB–2587] Added plugin timing for plugins that are loaded on startup (plugin ‘onload’ attribute)
  • [CB–2848] ShowSplashScreenSpinner not used
  • [CB–2960] Changing the volume of a sound already playing
  • [CB–3021] Can no longer import CDVPlugin.h from plugin Objective-C++ code
  • [CB–2698] Fix load detection when pages have redirects.

5. Camera EXIF Updates

  • [CB–2902] re-added long/short tags to template dict, fixed subExifIFD offset
  • [CB–2896] Multipart exif tags are not written correctly
  • [CB–2790] Removed old splice code, replaced with JpegHeaderWriter api calls
  • [CB–3039] iOS Exif date length mismtach
  • [CB–3052] iOS Exif SubIFD offsets incorrect

6. InAppBrowser Updates

Written by shazron

May 3, 2013 at 11:08 pm

Posted in cordova, phonegap

10 Responses

Subscribe to comments with RSS.

  1. With the updates to inappbrowser, is it now possible to set headers when opening a remote page?

    joeta

    May 7, 2013 at 12:34 pm

    • No, it is not possible since this needs to be set in the request itself before the page loads, and there is no feature for it. The recent updates are to modify the contents after the page has loaded.

      shazron

      May 10, 2013 at 6:29 pm

  2. 2.7 for Android has removed device.name, but it’s unclear from their post if this has also been removed in Cordova for iOS. Has it?

    Adam Tuttle

    May 22, 2013 at 7:25 pm

  3. I’m developing an app for iPad and tried to use the “exectureScript” function fo injecting js to my external loaded page. This seems to work great when i use “window.open” and the target “_blank” and not work at all when I’m using the target “_self”. Do you know why?

    Because I want to inject js, but not show any tool bars/location bars/navigation bars and so on.

    I also posted the question (with more detail) here: http://stackoverflow.com/questions/16762676/phonegap-2-7-0-executescript-target-self-not-working

    Anton Tibblin

    May 27, 2013 at 9:10 am

    • It won’t work with _self. The reason is of course, when you load in _self, you destroy the existing context (reload the page) – toolbars etc only apply to _blank

      shazron

      June 11, 2013 at 11:19 pm

  4. […] details on the iOS updates in 2.7.0 by Shazron Abdullah […]


Leave a comment