<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Shazron&#039;s Cordova (aka PhoneGap) Blog</title>
	<atom:link href="http://shazronatadobe.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://shazronatadobe.wordpress.com</link>
	<description>at Adobe Systems Inc.</description>
	<lastBuildDate>Fri, 17 May 2013 18:50:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='shazronatadobe.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Shazron&#039;s Cordova (aka PhoneGap) Blog</title>
		<link>http://shazronatadobe.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://shazronatadobe.wordpress.com/osd.xml" title="Shazron&#039;s Cordova (aka PhoneGap) Blog" />
	<atom:link rel='hub' href='http://shazronatadobe.wordpress.com/?pushpress=hub'/>
		<item>
		<title>What&#8217;s new in Cordova iOS 2.7.0</title>
		<link>http://shazronatadobe.wordpress.com/2013/05/03/whats-new-in-cordova-ios-2-7-0/</link>
		<comments>http://shazronatadobe.wordpress.com/2013/05/03/whats-new-in-cordova-ios-2-7-0/#comments</comments>
		<pubDate>Fri, 03 May 2013 23:08:49 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
				<category><![CDATA[cordova]]></category>
		<category><![CDATA[phonegap]]></category>

		<guid isPermaLink="false">http://shazronatadobe.wordpress.com/?p=664</guid>
		<description><![CDATA[Mainly bug fixes, the only highlights are new features for InAppBrowser &#8211; 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 [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=664&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-480" style="border:0;" alt="cordova_bot" src="http://shazronatadobe.files.wordpress.com/2012/09/cordova_bot.png?w=133&#038;h=150" width="133" height="150" />Mainly bug fixes, the only highlights are new features for InAppBrowser &#8211; <a href="http://cordova.apache.org/docs/en/2.7.0/cordova_inappbrowser_inappbrowser.md.html#executeScript">executeScript()</a> and <a href="http://cordova.apache.org/docs/en/2.7.0/cordova_inappbrowser_inappbrowser.md.html#insertCSS">insertCSS()</a>. <a href="http://archive.apache.org/dist/cordova/">Download 2.7.0.</a></p>
<p>1. Script Updates</p>
<ul>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2849">CB–2849</a>] Fix bin/create when CordovaLib parent dir has a space</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2788">CB–2788</a>] add ./bin/check_reqs script to iOS</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-3048">CB–3048</a>] Add –arc flag to create script, support arc in template.</li>
</ul>
<p>2. FileTransfer Updates</p>
<ul>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2537">CB–2537</a>] Implement streaming downloads for FileTransfer</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2190">CB–2190</a>] Allow FileTransfer uploads/downloads to continue in background</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-1518">CB–1518</a>] Request content length in parallel with download for gzipped content</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-51">CB–51</a>] Added httpMethod for file transfer options (defaults to POST)</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2824">CB–2824</a>] Remove DebugConsole plugin</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-3036">CB–3066</a>] Fire onNativeReady from JS, as bridge is available immediately</li>
</ul>
<p>3. Whitelist Updates</p>
<ul>
<li>[<a href="https://issues.apache.org/jira/browse/CB-3032">CB–3032</a>] Add whitelist support for custom schemes.</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-3067">CB–3067</a>] iOS 5.0 file urls are not passing whitelist due to recent changes</li>
</ul>
<p>4. Miscellaneous</p>
<ul>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2902">CB–2725</a>] Fix www deploy issues with symlinks</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2732">CB–2732</a>] Only set camera device when allowed.</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2911">CB–2911</a>] Updated resolveLocalFileSystemURI.</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2587">CB–2587</a>] Added plugin timing for plugins that are loaded on startup (plugin ‘onload’ attribute)</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2848">CB–2848</a>] ShowSplashScreenSpinner not used</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2960">CB–2960</a>] Changing the volume of a sound already playing</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-3021">CB–3021</a>] Can no longer import CDVPlugin.h from plugin Objective-C++ code</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2698">CB–2698</a>] Fix load detection when pages have redirects.</li>
</ul>
<p>5. Camera EXIF Updates</p>
<ul>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2902">CB–2902</a>] re-added long/short tags to template dict, fixed subExifIFD offset</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2896">CB–2896</a>] Multipart exif tags are not written correctly</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2790">CB–2790</a>] Removed old splice code, replaced with JpegHeaderWriter api calls</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-3039">CB–3039</a>] iOS Exif date length mismtach</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-3052">CB–3052</a>] iOS Exif SubIFD offsets incorrect</li>
</ul>
<p>6. InAppBrowser Updates</p>
<ul>
<li>[<a href="https://issues.apache.org/jira/browse/CB-3069">CB–3069</a>] Fix InAppBrowser load events (for non-redirecting pages)</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-3295">CB–3295</a>] Send InAppBrowser loadstart events when redirects occur</li>
<li>[<a href="https://issues.apache.org/jira/browse/CB-2653">CB–2653</a>] Add InAppBrowser.executeScript() / InAppBrowser.insertCSS API (iOS)</li>
<li><a href="https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=df1d2954128532e5114ff9a5fe6c239426ce8c3b">InAppBrowser: Don’t inject iframe bridge until necessary</a></li>
<li><a href="https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=40c98b8b717512d1ed7c96419a5b392757de0776">Fix NPE in InAppBrowser’s error callback</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shazronatadobe.wordpress.com/664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shazronatadobe.wordpress.com/664/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=664&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shazronatadobe.wordpress.com/2013/05/03/whats-new-in-cordova-ios-2-7-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/815c8ebc362189149b94bfb0ff9a1702?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shazronatadobe</media:title>
		</media:content>

		<media:content url="http://shazronatadobe.files.wordpress.com/2012/09/cordova_bot.png?w=133" medium="image">
			<media:title type="html">cordova_bot</media:title>
		</media:content>
	</item>
		<item>
		<title>Cordova/PhoneGap and the new Apple App Store Requirements</title>
		<link>http://shazronatadobe.wordpress.com/2013/05/01/cordovaphonegap-and-the-new-apple-app-store-requirements/</link>
		<comments>http://shazronatadobe.wordpress.com/2013/05/01/cordovaphonegap-and-the-new-apple-app-store-requirements/#comments</comments>
		<pubDate>Wed, 01 May 2013 19:48:28 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
				<category><![CDATA[cordova]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://shazronatadobe.wordpress.com/?p=655</guid>
		<description><![CDATA[Beginning May 1st 2013, apps submitted to the Apple App Store&#8230; 1. must be built for iOS devices with Retina display and iPhone apps must also support the 4-inch display on iPhone 5 2. will no longer accept new apps or app updates that access UDIDs Cordova/PhoneGap fulfills requirement (1) since version 2.5.0 and fulfills requirement (2) since [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=655&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="size-full wp-image-286 alignleft" style="border:0;" alt="" src="http://shazronatadobe.files.wordpress.com/2011/03/apple-xcode-icon.png?w=700"   />Beginning May 1st 2013, apps submitted to the Apple App Store&#8230;</p>
<p>1. <a href="https://developer.apple.com/news/index.php?id=3212013b">must be built for iOS devices with Retina display and iPhone apps must also support the 4-inch display on iPhone 5</a></p>
<p>2. <a href="https://developer.apple.com/news/index.php?id=3212013a">will no longer accept new apps or app updates that access UDIDs</a></p>
<p>Cordova/PhoneGap fulfills requirement (1) since version 2.5.0 and fulfills requirement (2) since version 1.7.0.</p>
<p><strong>But what if my Cordova/PhoneGap app, which I am unwilling to upgrade, needs to be updated and submitted to the App Store?</strong></p>
<p>You will have to manually update and patch your code. It&#8217;s not going to be an easy task, and I should warn you that upgrading will be easier. The main changes are to handle the iPhone 5 sized splashscreen, and the <a href="https://github.com/search?q=568+%40apache%2Fcordova-ios&amp;type=Code&amp;ref=searchresults">code to handle that</a> is only in Cordova/PhoneGap 2.5.0. You can include the iPhone 5 sized asset and this will trigger the app to be the right size, but because of our splashscreen support it needs to match iOS showing the splashscreen after that splashscreen disappears. See our <a href="http://docs.phonegap.com/en/edge/cordova_splashscreen_splashscreen.md.html#Splashscreen">SplashScreen API</a> for more details.</p>
<p>To be doubly sure &#8211; select your <strong>project icon</strong> in the <strong>Project Navigator</strong> in Xcode, then select the <strong>Summary</strong> tab. Select your <strong>project target</strong> then review the <strong>App Icons</strong> and <strong>Launch Images</strong> sections &#8211; you&#8217;ll see if you are missing anything or whether the assets are not the right sizes (denoted by the yellow triangle icon with an exclamation point in it).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shazronatadobe.wordpress.com/655/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shazronatadobe.wordpress.com/655/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=655&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shazronatadobe.wordpress.com/2013/05/01/cordovaphonegap-and-the-new-apple-app-store-requirements/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/815c8ebc362189149b94bfb0ff9a1702?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shazronatadobe</media:title>
		</media:content>

		<media:content url="http://shazronatadobe.files.wordpress.com/2011/03/apple-xcode-icon.png" medium="image" />
	</item>
		<item>
		<title>Create new PhoneGap/Cordova projects using cordova-create-gui</title>
		<link>http://shazronatadobe.wordpress.com/2013/04/16/create-new-phonegapcordova-projects-using-cordova-create-gui/</link>
		<comments>http://shazronatadobe.wordpress.com/2013/04/16/create-new-phonegapcordova-projects-using-cordova-create-gui/#comments</comments>
		<pubDate>Tue, 16 Apr 2013 00:53:09 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
				<category><![CDATA[cordova]]></category>
		<category><![CDATA[phonegap]]></category>

		<guid isPermaLink="false">http://shazronatadobe.wordpress.com/?p=644</guid>
		<description><![CDATA[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 [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=644&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-616" style="border:0;" alt="cordova_bot_osx" src="http://shazronatadobe.files.wordpress.com/2013/03/cordova_bot.png?w=700"   />This is for <strong>OS X only</strong>, and does not check for project requirements yet (which may be coming with the <strong>bin/check_reqs</strong> scripts in 2.7.0). Essentially this proof of concept project is a GUI wrapper for the <a href="http://cordova.apache.org/docs/en/edge/guide_command-line_index.md.html#Command-Line%20Usage"><strong>bin/create</strong></a> 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.</p>
<p>The project routes the <strong>stderr</strong> and <strong>stdout</strong> from the script call back to your callback function, and also reports the <strong>resultcode</strong> for you to further process.</p>
<p>Ideally this would be a GUI for <strong>cordova-cli</strong> instead, that may come in the future. This app was also created using itself, and Cordova OS X.</p>
<p><a href="http://cl.ly/OIve">Download the complete runnable project</a>.</p>
<p><a href="https://github.com/shazron/cordova-create-gui">View and fork the source on Github</a>.</p>
<p>The GUI itself won&#8217;t win any awards yet, but is workable (click to enlarge):</p>
<p style="text-align:center;"><a href="http://shazronatadobe.files.wordpress.com/2013/04/cordova-create-gui.png"><img class="aligncenter size-medium wp-image-646" style="border:0;" alt="cordova-create-gui" src="http://shazronatadobe.files.wordpress.com/2013/04/cordova-create-gui.png?w=300&#038;h=245" width="300" height="245" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shazronatadobe.wordpress.com/644/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shazronatadobe.wordpress.com/644/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=644&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shazronatadobe.wordpress.com/2013/04/16/create-new-phonegapcordova-projects-using-cordova-create-gui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/815c8ebc362189149b94bfb0ff9a1702?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shazronatadobe</media:title>
		</media:content>

		<media:content url="http://shazronatadobe.files.wordpress.com/2013/03/cordova_bot.png" medium="image">
			<media:title type="html">cordova_bot_osx</media:title>
		</media:content>

		<media:content url="http://shazronatadobe.files.wordpress.com/2013/04/cordova-create-gui.png?w=300" medium="image">
			<media:title type="html">cordova-create-gui</media:title>
		</media:content>
	</item>
		<item>
		<title>Cordova OS X &#8211; Resurrection</title>
		<link>http://shazronatadobe.wordpress.com/2013/04/09/cordova-os-x-resurrection/</link>
		<comments>http://shazronatadobe.wordpress.com/2013/04/09/cordova-os-x-resurrection/#comments</comments>
		<pubDate>Tue, 09 Apr 2013 00:22:09 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
				<category><![CDATA[cordova]]></category>
		<category><![CDATA[phonegap]]></category>

		<guid isPermaLink="false">http://shazronatadobe.wordpress.com/?p=615</guid>
		<description><![CDATA[No, I didn&#8217;t use an Alien Queen embryo for this one. Dormant for so long, this has been brought up to date vis-à-vis the iOS Plugin architecture, and supports OS X 10.7 (Lion) and 10.8 (Mountain Lion). This means that if you know how to create an iOS Plugin, you can create an OS X [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=615&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://shazronatadobe.files.wordpress.com/2013/03/cordova_bot.png"><img class="alignleft size-full wp-image-616" style="border:0;" alt="cordova_bot_osx" src="http://shazronatadobe.files.wordpress.com/2013/03/cordova_bot.png?w=700"   /></a>No, I didn&#8217;t use an Alien Queen embryo for this one. Dormant for so long, this has been brought up to date vis-à-vis the<a href="http://cordova.apache.org/docs/en/edge/guide_plugin-development_ios_index.md.html#Developing%20a%20Plugin%20on%20iOS"> iOS Plugin architecture</a>, and supports OS X 10.7 (Lion) and 10.8 (Mountain Lion). This means that if you know how to create an iOS Plugin, you can create an OS X one as well. The JavaScript to native bridge is synchronous, while the native to JavaScript bridge is asynchronous, just like iOS.</p>
<p>Not all core plugins are there. The only core plugins available at the moment are the <a href="http://cordova.apache.org/docs/en/edge/cordova_connection_connection.md.html#Connection">Connection API</a>, and the<a href="http://cordova.apache.org/docs/en/edge/cordova_device_device.md.html#Device"> Device API</a>, and the only event supported is the <a href="http://cordova.apache.org/docs/en/edge/cordova_events_events.md.html#deviceready">deviceready</a> event.</p>
<p>To create a new project, follow the <a href="http://cordova.apache.org/docs/en/edge/guide_command-line_index.md.html#Command-Line%20Usage_ios">same command line usage as iOS</a>. <a href="https://github.com/apache/cordova-osx">Download the source code</a>.</p>
<p>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:</p>
<p style="text-align:left;"><a href="http://shazronatadobe.files.wordpress.com/2013/04/modernizr.png"><img class="aligncenter  wp-image-633" style="border:0;" alt="modernizr" src="http://shazronatadobe.files.wordpress.com/2013/04/modernizr.png?w=500&#038;h=221" width="500" height="221" /></a></p>
<p style="text-align:left;">Future updates will add support for the rest of the Cordova APIs, whether as a JavaScript shim or as complete plugins. Interfaces to create/update the native menus, and native context (right-click) menus are also on the plate as well. Full-screen support is there already. JavaScript bindings for native objects for plugins is being considered as well.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shazronatadobe.wordpress.com/615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shazronatadobe.wordpress.com/615/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=615&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shazronatadobe.wordpress.com/2013/04/09/cordova-os-x-resurrection/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/815c8ebc362189149b94bfb0ff9a1702?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shazronatadobe</media:title>
		</media:content>

		<media:content url="http://shazronatadobe.files.wordpress.com/2013/03/cordova_bot.png" medium="image">
			<media:title type="html">cordova_bot_osx</media:title>
		</media:content>

		<media:content url="http://shazronatadobe.files.wordpress.com/2013/04/modernizr.png?w=300" medium="image">
			<media:title type="html">modernizr</media:title>
		</media:content>
	</item>
		<item>
		<title>What&#8217;s new in Cordova iOS 2.6.0</title>
		<link>http://shazronatadobe.wordpress.com/2013/04/08/whats-new-in-cordova-ios-2-6-0/</link>
		<comments>http://shazronatadobe.wordpress.com/2013/04/08/whats-new-in-cordova-ios-2-6-0/#comments</comments>
		<pubDate>Mon, 08 Apr 2013 23:53:32 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
				<category><![CDATA[cordova]]></category>
		<category><![CDATA[phonegap]]></category>

		<guid isPermaLink="false">http://shazronatadobe.wordpress.com/?p=619</guid>
		<description><![CDATA[1. Config.xml &#60;preference&#62; changes &#8211; 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 [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=619&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong><img class="size-thumbnail wp-image-480 alignright" style="border:0;" alt="cordova_bot" src="http://shazronatadobe.files.wordpress.com/2012/09/cordova_bot.png?w=133&#038;h=150" width="133" height="150" />1. Config.xml &lt;preference&gt; changes &#8211; added KeyboardShrinksView and HideKeyboardFormAccessoryBar. UIWebViewBounce renamed to DisallowOverscroll. EnableLocation deprecated.</strong></p>
<p><a href="https://issues.apache.org/jira/browse/CB-2384">HideKeyboardFormAccessoryBar</a> will hide the form accessory bar (the Next, Prev and Done buttons) when the keyboard is shown for  handling input in a textbox.</p>
<p><a href="https://issues.apache.org/jira/browse/CB-2523">KeyboardShrinksView</a> 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.</p>
<p>The <strong>UIWebViewBounce</strong> preference was changed to <a href="https://github.com/apache/cordova-docs/blob/master/docs/en/edge/guide/project-settings/ios/index.md">DisallowOverscroll</a> to be consistent with Android (thus the default value is the opposite).</p>
<p>The <strong>EnableLocation</strong> preference is deprecated &#8211; set  the &#8220;onload&#8221; attribute of the <strong>CDVLocation</strong> plugin element instead.</p>
<p><strong>2. InAppBrowser API &#8211; &#8220;loaderror&#8221; event added</strong></p>
<p>You can listen for the <a href="https://issues.apache.org/jira/browse/CB-2308">loaderror</a> <a href="https://github.com/apache/cordova-docs/blob/master/docs/en/edge/cordova/inappbrowser/inappbrowser.md">event</a> to be notified of any errors in loading any URLs in the InAppBrowser.</p>
<p><strong>3. Notification API changes</strong></p>
<p>notification.prompt feature added &#8211; allows a <a href="https://github.com/apache/cordova-docs/blob/master/docs/en/edge/cordova/notification/notification.prompt.md">customizable</a> prompt versus the JavaScript one. Also, You can also use commas for button labels for notification.<a href="https://issues.apache.org/jira/browse/CB-1933">confirm</a>.</p>
<p><strong>4. FileTransfer API changes</strong></p>
<p><a href="https://github.com/apache/cordova-docs/blob/master/docs/en/edge/cordova/file/filetransfer/filetransfer.md">FileTransfer</a> download allows setting of headers now. Both FileTransfer upload and download will now <a href="https://issues.apache.org/jira/browse/CB-52">support Basic Auth</a> automatically when the username and password is encoded in the URL.</p>
<p><strong>5. Camera API changes</strong></p>
<p>You can now <a href="https://issues.apache.org/jira/browse/CB-1688">select the front or back camera</a> on Camera.getPicture().  EXIF metadata is also included in the images returned from the Camera API, see <a href="https://issues.apache.org/jira/browse/CB-1285">this issue</a>. <a href="https://issues.apache.org/jira/browse/CB-2732">Fixed crash</a> when camera not available.</p>
<p><strong>6. Various splash-screen issues fixed</strong></p>
<p>See <a href="https://issues.apache.org/jira/browse/CB-2220">this issue</a>.</p>
<p><strong>7. Various iframe issues fixed</strong></p>
<p>See <a href="https://issues.apache.org/jira/browse/CB-2461">this</a> and <a href="https://issues.apache.org/jira/browse/CB-2389">this</a>.</p>
<p><strong>8. Various FileReader issues fixed</strong></p>
<p>See <a href="https://issues.apache.org/jira/browse/CB-2652">this</a> and <a href="https://issues.apache.org/jira/browse/CB-2633">this</a>.</p>
<p><strong>9. Multi-part plugin result is now supported</strong></p>
<p>See <a href="https://issues.apache.org/jira/browse/CB-2530">this</a> and <a href="https://issues.apache.org/jira/browse/CB-2239">this</a>. Basically now callbacks can receive more than one argument.</p>
<p><strong>10. Plugins can be dynamically registered (outside of config.xml)</strong></p>
<p>See <a href="https://issues.apache.org/jira/browse/CB-2699">this issue</a>.</p>
<p>Other fixes are in the <a href="https://github.com/apache/cordova-ios/blob/d7ecb8edf6f7985abe4e6e80357302e3dbb68db1/RELEASENOTES.md#260-20130401">RELEASE NOTES</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shazronatadobe.wordpress.com/619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shazronatadobe.wordpress.com/619/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=619&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shazronatadobe.wordpress.com/2013/04/08/whats-new-in-cordova-ios-2-6-0/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/815c8ebc362189149b94bfb0ff9a1702?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shazronatadobe</media:title>
		</media:content>

		<media:content url="http://shazronatadobe.files.wordpress.com/2012/09/cordova_bot.png?w=133" medium="image">
			<media:title type="html">cordova_bot</media:title>
		</media:content>
	</item>
		<item>
		<title>What&#8217;s new in Cordova iOS 2.5.0</title>
		<link>http://shazronatadobe.wordpress.com/2013/03/04/whats-new-in-cordova-ios-2-5-0/</link>
		<comments>http://shazronatadobe.wordpress.com/2013/03/04/whats-new-in-cordova-ios-2-5-0/#comments</comments>
		<pubDate>Mon, 04 Mar 2013 17:44:50 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
				<category><![CDATA[cordova]]></category>
		<category><![CDATA[phonegap]]></category>

		<guid isPermaLink="false">http://shazronatadobe.wordpress.com/?p=610</guid>
		<description><![CDATA[Mainly bug fixes. 1. New functionality for Plugins Lots of enhancements, and one removal. See the Plugin Upgrade Guide. Of note, you can load plugins at startup now. 2. config.xml root element is &#60;widget&#62; Shouldn&#8217;t affect your current config.xml since the config parsing doesn&#8217;t care about the root element name. There&#8217;ll be further changes to [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=610&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-480" style="margin:5px;border:0;" alt="cordova_bot" src="http://shazronatadobe.files.wordpress.com/2012/09/cordova_bot.png?w=133&#038;h=150" width="133" height="150" /></p>
<p>Mainly <a href="https://github.com/apache/cordova-ios/blob/d9b5ee75df8146f98b120238f8fb0936bcf341df/RELEASENOTES.md">bug fixes</a>.</p>
<p><strong>1. New functionality for Plugins</strong></p>
<p>Lots of enhancements, and one removal. See the <a href="https://github.com/apache/cordova-ios/blob/addb86737f0e937dc1603385b7b467e32a4107ad/guides/Cordova%20Plugin%20Upgrade%20Guide.md">Plugin Upgrade Guide</a>. Of note, you can load plugins at startup now.</p>
<p><strong>2. config.xml root element is &lt;widget&gt;</strong></p>
<p>Shouldn&#8217;t affect your current config.xml since the config parsing doesn&#8217;t care about the root element name. There&#8217;ll be further changes to config.xml so we conform to the widget spec as we go along.</p>
<p><strong>3. Better FileTransfer errors</strong></p>
<p>Now you get the response body in the FileTransferError object returned.</p>
<p><strong>4. Enable NSURLCache for better app performance</strong></p>
<p>Set in the <a href="https://issues.apache.org/jira/browse/CB-2275">app template</a>.</p>
<p><strong>5. Added support for Native URIs (iOS&#8217; assets-library:// scheme)</strong></p>
<p>See <a href="https://issues.apache.org/jira/browse/CB-2213">CB-2213</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shazronatadobe.wordpress.com/610/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shazronatadobe.wordpress.com/610/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=610&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shazronatadobe.wordpress.com/2013/03/04/whats-new-in-cordova-ios-2-5-0/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/815c8ebc362189149b94bfb0ff9a1702?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shazronatadobe</media:title>
		</media:content>

		<media:content url="http://shazronatadobe.files.wordpress.com/2012/09/cordova_bot.png?w=133" medium="image">
			<media:title type="html">cordova_bot</media:title>
		</media:content>
	</item>
		<item>
		<title>What&#8217;s new in Cordova iOS 2.4.0</title>
		<link>http://shazronatadobe.wordpress.com/2013/02/08/whats-new-in-cordova-ios-2-4-0/</link>
		<comments>http://shazronatadobe.wordpress.com/2013/02/08/whats-new-in-cordova-ios-2-4-0/#comments</comments>
		<pubDate>Fri, 08 Feb 2013 15:44:03 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
				<category><![CDATA[cordova]]></category>
		<category><![CDATA[phonegap]]></category>

		<guid isPermaLink="false">http://shazronatadobe.wordpress.com/?p=594</guid>
		<description><![CDATA[1. Removal of JSONKit, replaced with NSJSONSerialization Since we dropped support for iOS 4.x, this is now possible. See the Plugin Upgrade Guide. 2. Support for ArrayBuffer arguments over the exec bridge Only for top level arguments (nothing nested). It converts the ArrayBuffer to a NSData object, and vice-versa. See CB-2189 and CB-2215. 3. The [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=594&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://shazronatadobe.files.wordpress.com/2012/09/cordova_bot.png"><img class="alignright size-thumbnail wp-image-480" style="border:0;" alt="cordova_bot" src="http://shazronatadobe.files.wordpress.com/2012/09/cordova_bot.png?w=133&#038;h=150" width="133" height="150" /></a></p>
<p><strong>1. Removal of JSONKit, replaced with NSJSONSerialization</strong></p>
<p>Since we dropped support for iOS 4.x, this is now possible. See the <a href="https://github.com/apache/cordova-ios/blob/master/guides/Cordova%20Plugin%20Upgrade%20Guide.md">Plugin Upgrade Guide</a>.</p>
<p><strong>2. Support for ArrayBuffer arguments over the exec bridge</strong></p>
<p>Only for top level arguments (nothing nested). It converts the ArrayBuffer to a NSData object, and vice-versa. See <a href="https://issues.apache.org/jira/browse/CB-2189">CB-2189</a> and <a href="https://issues.apache.org/jira/browse/CB-2215">CB-2215</a>.</p>
<p><strong>3. The start page can be specified in config.xml</strong></p>
<p>Through the <a href="https://github.com/apache/cordova-ios/blob/6749c17640c5fed8a7d3a0b9cca204b89a855baa/bin/templates/project/__TESTING__/config.xml#L36">content tag</a>.</p>
<p><strong>4. FileTransfer &#8220;trustAllHosts&#8221; parameter</strong></p>
<p>This is now supported. Set to true to trust hosts with self-signed certificates, for example.</p>
<p><strong>5. InAppBrowser enhancements, and fix</strong></p>
<p>Enhancements are specified <a href="https://issues.apache.org/jira/browse/CB-2311">here</a>. Basically these are the same settings as in the Project Settings, also presentation and transition styles are added. The fix for InAppBrowser is specified <a href="https://issues.apache.org/jira/browse/CB-2225">here</a>. Basically, on iOS 6, when you load PDFs in the InAppBrowser, it resets the User-Agent for all UIWebViews which we rely on for our exec bridge &#8212; our fix helps work around that, with caveats.</p>
<p><strong>6. Custom url-scheme handler &#8216;handleOpenURL&#8217; not called on startup</strong></p>
<p>It was not being called on first app launch, but has now been fixed. Resume from backgrounding has always worked.</p>
<p><strong>7. FileTransfer failing for file:/// urls</strong></p>
<p>Fixed. An alternative is to use xhr.</p>
<p><strong>8. require.js lazy loading of cordova.js</strong></p>
<p>This should  work now.</p>
<p><strong>9. Various deprecated methods removed</strong></p>
<p>See the <a href="http://wiki.apache.org/cordova/DeprecationPolicy">wiki</a>.</p>
<p><strong>10. Default splash-screen sizes 10x smaller</strong></p>
<p>Shouldn&#8217;t affect you much.</p>
<p><strong>11. There was an ARC issue in Contacts</strong></p>
<p>See this <a href="https://issues.apache.org/jira/browse/CB-2209">issue</a>.</p>
<p><b>12. Support Reading Slices of Text Files.</b></p>
<p>From <a href="http://simonmacdonald.blogspot.com/2013/02/whats-new-in-phonegap-android-240.html">Simon McDonald&#8217;s blog post</a> regarding Cordova Android 2.4.0:</p>
<p>The File object now has a <a href="http://docs.phonegap.com/en/2.4.0/cordova_file_file.md.html#File">slice</a> method. Suppose the file we&#8217;re reading contains the text:</p>
<p><i>&#8220;All that is gold does not glitter, not all those who wander are lost.&#8221; </i></p>
<p>Then&#8230;</p>
<ul>
<li>f.slice(4, 8) would result in <i>&#8220;that&#8221;</i></li>
<li>f.slice(9) would be <i>&#8220;is gold does not glitter, not all those who wander are lost.&#8221;</i></li>
<li>f.slice(-5, -1) would be <i>&#8220;lost&#8221;</i></li>
</ul>
<p><strong>[NOTE]</strong> I want to also draw attention to <a href="https://github.com/apache/cordova-cli">cordova-cli</a> being released with 2.4.0. <a href="http://www.raymondcamden.com/index.cfm/2013/2/8/PhoneGap-240-Released">More on Raymond Camden&#8217;s blog</a>. In a nutshell, this is an abstraction for the command-line utilities that are included for the different platforms all in one easier to use interface, plus the ability to add and remove plugins.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shazronatadobe.wordpress.com/594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shazronatadobe.wordpress.com/594/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=594&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shazronatadobe.wordpress.com/2013/02/08/whats-new-in-cordova-ios-2-4-0/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/815c8ebc362189149b94bfb0ff9a1702?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shazronatadobe</media:title>
		</media:content>

		<media:content url="http://shazronatadobe.files.wordpress.com/2012/09/cordova_bot.png?w=133" medium="image">
			<media:title type="html">cordova_bot</media:title>
		</media:content>
	</item>
		<item>
		<title>What&#8217;s new in Cordova iOS 2.3.0</title>
		<link>http://shazronatadobe.wordpress.com/2012/12/10/whats-new-in-cordova-ios-2-3-0/</link>
		<comments>http://shazronatadobe.wordpress.com/2012/12/10/whats-new-in-cordova-ios-2-3-0/#comments</comments>
		<pubDate>Mon, 10 Dec 2012 21:37:33 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
				<category><![CDATA[cordova]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[apache cordova]]></category>
		<category><![CDATA[config.xml]]></category>
		<category><![CDATA[cordova 2.3.0]]></category>
		<category><![CDATA[Cordova.plist]]></category>
		<category><![CDATA[inappbrowser]]></category>

		<guid isPermaLink="false">http://shazronatadobe.wordpress.com/?p=558</guid>
		<description><![CDATA[1. iOS 5.x and above support only We are dropping iOS 4.x support and only supporting iOS 5.0 and greater, going forward. 2. Cordova.plist is changed to config.xml The configuration Cordova.plist file has been changed to config.xml &#8211; it comes in a new format that is the same as the Android config.xml. If you are upgrading, you [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=558&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://shazronatadobe.wordpress.com/2012/09/05/automatic-reference-counting-arc-and-cordova-plugins/cordova_bot/" rel="attachment wp-att-480"><img class="alignleft size-thumbnail wp-image-480" style="border:0;" alt="cordova_bot" src="http://shazronatadobe.files.wordpress.com/2012/09/cordova_bot.png?w=133&#038;h=150" width="133" height="150" /></a></p>
<p><strong>1. iOS 5.x and above support only</strong></p>
<p>We are dropping iOS 4.x support and only supporting iOS 5.0 and greater, going forward.</p>
<p><strong>2. Cordova.plist is changed to config.xml</strong></p>
<p>The configuration <strong><a href="https://github.com/apache/cordova-ios/blob/2.2.0/bin/templates/project/__TESTING__/Cordova.plist">Cordova.plist</a></strong> file has been changed to <strong><a href="https://github.com/apache/cordova-ios/blob/master/bin/templates/project/__TESTING__/config.xml">config.xml</a> &#8211;</strong> it comes in a new format that is the same as the <a href="https://github.com/apache/cordova-android/blob/master/framework/res/xml/config.xml"><strong>Android config.xml</strong></a>. If you are upgrading, you will need to convert your existing Cordova.plist by running the <a href="https://github.com/apache/cordova-ios/blob/master/bin/cordova_plist_to_config_xml"><strong>bin/cordova_plist_to_config_xml</strong></a> script. The 2.3.0 project itself will warn you (in the console log) if you are still using the old Cordova.plist and tell you to upgrade.</p>
<p>The new project settings are documented <a href="https://github.com/apache/cordova-docs/blob/master/docs/en/edge/guide/project-settings/ios/index.md">here</a>.</p>
<p>An example config.xml:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;cordova&gt;
        &lt;preference name=&quot;MySetting&quot; value=&quot;true&quot; /&gt;
        &lt;plugins&gt;
            &lt;plugin name=&quot;MyPlugin&quot; value=&quot;MyPluginClass&quot; /&gt;
        &lt;/plugins&gt;
        &lt;access origin=&quot;*&quot; /&gt;
&lt;/cordova&gt;
</pre>
<p><strong>3. InAppBrowser &#8211; includes events</strong></p>
<p>More details <a href="http://shazronatadobe.wordpress.com/2012/11/21/inappbrowser-based-on-childbrowser-in-cordova-2-3-0/">here</a>. In a nutshell, this has the same functionality as the <a href="https://github.com/alunny/ChildBrowser">ChildBrowser</a>, and has events support as well. It supports this simplified <a href="http://wiki.apache.org/cordova/InAppBrowser">spec</a>. Also, the InAppBrowser does not use the app whitelist. Example usage:</p>
<pre class="brush: jscript; title: ; notranslate">

var ref = window.open('http://google.com', '_blank');
ref.addEventListener('loadstart', function(event) { alert(event.type + ' - ' + event.url); } );
ref.addEventListener('loadstop', function(event) { alert(event.type + ' - ' + event.url); } );
ref.addEventListener('exit', function(event) { alert(event.type); } );

// also, you can do ref.removeEventListener('loadstart', myfunc) .. etc
</pre>
<p><strong>4. LocalNotification  plugin event, AppDelegate override</strong></p>
<p>Your project&#8217;s AppDelegate.m can add <a href="https://github.com/apache/cordova-ios/blob/master/bin/templates/project/__TESTING__/Classes/AppDelegate.m#L95-100">a new AppDelegate override</a> so your plugins can receive LocalNotification events. Uncomment <a href="https://github.com/apache/cordova-ios/blob/master/CordovaLib/Classes/CDVPlugin.m#L63-L64">these</a> <a href="https://github.com/apache/cordova-ios/blob/master/CordovaLib/Classes/CDVPlugin.m#L142-146">lines</a>  to enable your plugin to receive the notifications in their overrides.</p>
<p><strong>5. Renaming of Cordova cli commands</strong></p>
<p>The new list of commands are <a href="https://github.com/apache/cordova-ios/tree/master/bin/templates/project/cordova">here</a>. Basically <strong>debug</strong> has been renamed to <strong>build</strong>, and new <strong>release</strong>,  and <strong>run</strong> commands have been added. This is common across all the platforms.</p>
<p><strong>6. Objective-C plugins are not white-listed anymore</strong></p>
<p>With the <a href="http://shazronatadobe.wordpress.com/2012/11/21/inappbrowser-based-on-childbrowser-in-cordova-2-3-0/">InAppBrowser</a> release, we restructured the whitelist to only apply to the main Cordova WebView. As a consequence, the whitelist does not apply to all connections for the app, thus connections from your plugins are <strong>not</strong> whitelisted. To whitelist your connections with the app whitelist, you will need to set the &#8220;<strong>User-Agent</strong>&#8221; header of the connection to the same user-agent as the main Cordova WebView.</p>
<p>You can get this by accessing the <strong>userAgent</strong> property off the main view-controller. The main view-controller (CDVViewController) also has a <strong>URLisAllowed</strong> method for you to check whether a URL will pass the whitelist. See this <a href="https://github.com/apache/cordova-ios/blob/master/guides/Cordova%20Plugin%20Upgrade%20Guide.md">guide</a>.</p>
<p><strong>7. Device API changes</strong></p>
<p>Minor changes as specified <a href="https://github.com/apache/cordova-docs/tree/master/docs/en/edge/cordova/device">here</a>. For iOS, <strong>device.platform</strong> used to return &#8220;iPhone&#8221;, &#8220;iPad&#8221; or &#8220;iPod Touch&#8221; &#8212; now it returns (correctly) &#8220;iOS&#8221;. For iOS, <strong>device.name</strong> (now deprecated for all platforms) used to return the name of the user&#8217;s device (e.g &#8216;Shazron&#8217;s iPhone 5&#8242;) &#8212; now it returns what <strong>device.platform</strong> used to return: &#8221;iPhone&#8221;, &#8220;iPad&#8221; or &#8220;iPod Touch&#8221;.  For all platforms, there is a new property called <strong>device.model</strong> &#8212; this returns the specific device model, e.g &#8220;iPad2,5&#8243; (for other platforms, this returns what <strong>device.name</strong> used to return).</p>
<p><strong>8. CommandDelegate overrides</strong></p>
<p>The command delegate could not be overriden properly, now fixed. Please look at <a href="http://issues.cordova.io/1970">this issue</a> on how to override the delegate functions, for inspection.</p>
<p>Check out the <a href="https://github.com/apache/cordova-ios/blob/master/RELEASENOTES.md"><strong>Release Notes</strong></a> for other minor changes.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shazronatadobe.wordpress.com/558/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shazronatadobe.wordpress.com/558/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=558&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shazronatadobe.wordpress.com/2012/12/10/whats-new-in-cordova-ios-2-3-0/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/815c8ebc362189149b94bfb0ff9a1702?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shazronatadobe</media:title>
		</media:content>

		<media:content url="http://shazronatadobe.files.wordpress.com/2012/09/cordova_bot.png?w=133" medium="image">
			<media:title type="html">cordova_bot</media:title>
		</media:content>
	</item>
		<item>
		<title>InAppBrowser (based on ChildBrowser) in Cordova 2.3.0</title>
		<link>http://shazronatadobe.wordpress.com/2012/11/21/inappbrowser-based-on-childbrowser-in-cordova-2-3-0/</link>
		<comments>http://shazronatadobe.wordpress.com/2012/11/21/inappbrowser-based-on-childbrowser-in-cordova-2-3-0/#comments</comments>
		<pubDate>Wed, 21 Nov 2012 20:06:01 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
				<category><![CDATA[cordova]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[apache cordova]]></category>
		<category><![CDATA[childbrowser]]></category>
		<category><![CDATA[in app browser]]></category>
		<category><![CDATA[inappbrowser]]></category>
		<category><![CDATA[white-list]]></category>
		<category><![CDATA[whitelist]]></category>

		<guid isPermaLink="false">http://shazronatadobe.wordpress.com/?p=539</guid>
		<description><![CDATA[The inclusion of the InAppBrowser in iOS and Android will be new for Cordova 2.3.0. You can play with the InAppBrowser today if you download the latest code and help us test. The InAppBrowser is a built-in web browser for your app that has an API that follows web standards. It follows the window.open API, except [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=539&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a style="font-size:13px;" href="http://shazronatadobe.files.wordpress.com/2012/11/in-app-browser.png"><img class="alignleft  wp-image-541" style="margin:5px;border:0;" title="in-app-browser" alt="" src="http://shazronatadobe.files.wordpress.com/2012/11/in-app-browser.png?w=200&#038;h=200" width="200" height="200" /></a>The inclusion of the <a href="http://wiki.apache.org/cordova/InAppBrowser">InAppBrowser</a> in iOS and Android will be new for Cordova 2.3.0. You can play with the <a href="http://wiki.apache.org/cordova/InAppBrowser">InAppBrowser</a> today if you download the <a href="http://github.com/apache/cordova-ios">latest code</a> and help us test.</p>
<p>The <a href="http://wiki.apache.org/cordova/InAppBrowser">InAppBrowser</a> is a built-in web browser for your app that has an API that follows web standards. It follows the <a href="https://developer.mozilla.org/en-US/docs/DOM/window.open">window.open</a> API, except for a new window target that we introduced: &#8220;<strong>_system</strong>&#8220;. <a href="http://wiki.apache.org/cordova/InAppBrowser">Read our simple specification</a>.</p>
<p>Does this mean the <a href="https://github.com/alunny/ChildBrowser">ChildBrowser</a> is going away? Not really. These two plugins can co-exist, and <a href="https://github.com/alunny/ChildBrowser">ChildBrowser</a> has added features that are not present in the <a href="http://wiki.apache.org/cordova/InAppBrowser">InAppBrowser</a>, particularly events. <strong>[UPDATE: see below]</strong>. <a href="http://wiki.apache.org/cordova/InAppBrowser">InAppBrowser</a> also has no dependencies on a .xib or external images, so it is easy to integrate for upgrades.</p>
<p>What&#8217;s also new with the <a href="http://wiki.apache.org/cordova/InAppBrowser">InAppBrowser</a> implementation for iOS is, the white-list is not applied application wide anymore, the white-list will only apply for the main Cordova UIWebView only. Now you can load non-white-listed URLs into the <a href="http://wiki.apache.org/cordova/InAppBrowser">InAppBrowser</a> and the <a href="https://github.com/alunny/ChildBrowser">ChildBrowser</a>.</p>
<p>There are several enhancements for plugins related to this new white-list exception functionality as well &#8211; please see <a href="http://issues.cordova.io/1889">issue CB-1889</a>. The enhancements should land before the final 2.3.0 is released.</p>
<p>Please help us test by <a href="http://github.com/apache/cordova-ios">downloading the latest code</a> or RC and giving this new feature a spin!</p>
<p><strong>[Update Nov 28 2012]:</strong> The InAppBrowser on iOS has support for events now (Android in progress). You can listen to the &#8216;<strong>loadstart</strong>&#8216;, &#8216;<strong>loadstop</strong>&#8216; and &#8216;<strong>exit</strong>&#8216; events. The callback function is passed an event object that has two properties: type, and url. You will need to grab the latest code and javascript (create a new project).</p>
<div>Example usage:</div>
<pre class="brush: jscript; title: ; notranslate">

var ref = window.open('http://google.com', '_blank');
ref.addEventListener('loadstart', function(event) { alert(event.type + ' - ' + event.url); } );
ref.addEventListener('loadstop', function(event) { alert(event.type + ' - ' + event.url); } );
ref.addEventListener('exit', function(event) { alert(event.type); } );

// also, you can do ref.removeEventListener('loadstart', myfunc) .. etc
</pre>
<p><strong>[Update Nov 30 2012]:</strong> Changes for InAppBrowser events for Android are in <a href="https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=summary">cordova-android</a> now.</p>
<p><strong>[Update Jan 7 2013]:</strong> If you have a multi-page app, and you use InAppBrowser, and you use iOS 6, you must use iframe bridge mode. More details <a href="http://issues.cordova.io/2102">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shazronatadobe.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shazronatadobe.wordpress.com/539/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=539&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shazronatadobe.wordpress.com/2012/11/21/inappbrowser-based-on-childbrowser-in-cordova-2-3-0/feed/</wfw:commentRss>
		<slash:comments>92</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/815c8ebc362189149b94bfb0ff9a1702?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shazronatadobe</media:title>
		</media:content>

		<media:content url="http://shazronatadobe.files.wordpress.com/2012/11/in-app-browser.png?w=300" medium="image">
			<media:title type="html">in-app-browser</media:title>
		</media:content>
	</item>
		<item>
		<title>Cordova plugins? Put them in your own repo</title>
		<link>http://shazronatadobe.wordpress.com/2012/11/07/cordova-plugins-put-them-in-your-own-repo-2/</link>
		<comments>http://shazronatadobe.wordpress.com/2012/11/07/cordova-plugins-put-them-in-your-own-repo-2/#comments</comments>
		<pubDate>Wed, 07 Nov 2012 23:40:48 +0000</pubDate>
		<dc:creator>shazron</dc:creator>
				<category><![CDATA[cordova]]></category>
		<category><![CDATA[phonegap]]></category>

		<guid isPermaLink="false">http://shazronatadobe.wordpress.com/?p=522</guid>
		<description><![CDATA[[edited: removed reference to pluginstall which is PhoneGap Build centric, to Plugman which is based on pluginstall but is Cordova centric, and more frequently updated] Right now, there is one repo that contains the majority of plugins available for Cordova at: http://github.com/phonegap/phonegap-plugins We don&#8217;t want to &#8220;clutter&#8221; this repo with code anymore. Authors should maintain [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=522&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://shazronatadobe.files.wordpress.com/2012/11/plugin.png"><img class="size-medium wp-image-524 alignright" style="border:0;" title="Plugin" alt="" src="http://shazronatadobe.files.wordpress.com/2012/11/plugin.png?w=300&#038;h=300" width="300" height="300" /></a></p>
<p>[<strong>edited:</strong> removed reference to pluginstall which is PhoneGap Build centric, to Plugman which is based on pluginstall but is Cordova centric, and more frequently updated]</p>
<p>Right now, there is one repo that contains the majority of plugins available for Cordova at: <a href="http://github.com/phonegap/phonegap-plugins">http://github.com/phonegap/phonegap-plugins</a></p>
<p>We don&#8217;t want to &#8220;clutter&#8221; this repo with code anymore. Authors should maintain the code in their own repos and just put a pointer in a README.md in <a href="http://github.com/phonegap/phonegap-plugins">phonegap-plugins</a> (perhaps in the same hierarchy). What this enables is, when the time comes &#8211; package-able plugins that can be installed using <a href="https://github.com/imhotep/plugman">plugman</a> that are built according to the <a href="https://github.com/alunny/cordova-plugin-spec">Cordova Plugin spec</a>. This also helps for the future whenever we decide to have a <a href="https://npmjs.org/">npm</a>-like registry for Cordova plugins.</p>
<p>Having the plugins in separate repos also enables less clutter for pull requests and bugs, with it all being in one repo it is hard to get attention for an issue since that can be buried. I know that I like to fix some of my plugins, but it&#8217;s hard with it all lumped in there with other unrelated plugin issues.</p>
<p>As a reminder, this is how to write a Plugin:<br />
<a href="http://docs.cordova.io/en/edge/guide_plugin-development_index.md.html#Plugin%20Development%20Guide">http://docs.cordova.io/en/edge/guide_plugin-development_index.md.html#Plugin%20Development%20Guide</a></p>
<p>For examples of plugins that conform to the <a href="https://github.com/alunny/cordova-plugin-spec">Cordova Plugin spec</a> and are <a href="https://github.com/imhotep/plugman">plugman</a>-able:</p>
<ol>
<li><a href="https://github.com/phonegap-build/BarcodeScanner">https://github.com/phonegap-build/BarcodeScanner</a></li>
<li><a href="https://github.com/phonegap-build/ChildBrowser">https://github.com/phonegap-build/ChildBrowser</a></li>
<li><a href="https://github.com/phonegap-build/GAPlugin">https://github.com/phonegap-build/GAPlugin</a></li>
<li><a href="https://github.com/shazron/TestFlightPlugin">https://github.com/shazron/TestFlightPlugin</a></li>
<li><a href="https://github.com/shazron/KeychainPlugin">https://github.com/shazron/KeychainPlugin</a></li>
</ol>
<p>I&#8217;ve already moved out the plugins that I started implementation on (<a href="https://github.com/shazron/iAdPlugin">iAdPlugin</a>, <a href="https://github.com/shazron/KeychainPlugin">KeychainPlugin</a>, <a href="https://github.com/shazron/PayPalPlugin">PayPalPlugin</a>, <a href="https://github.com/shazron/TorchPlugin">TorchPlugin</a>, <a href="https://github.com/shazron/TestFlightPlugin">TestFlightPlugin</a>). I suggest that you do the same.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shazronatadobe.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shazronatadobe.wordpress.com/522/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shazronatadobe.wordpress.com&#038;blog=24879806&#038;post=522&#038;subd=shazronatadobe&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shazronatadobe.wordpress.com/2012/11/07/cordova-plugins-put-them-in-your-own-repo-2/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/815c8ebc362189149b94bfb0ff9a1702?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shazronatadobe</media:title>
		</media:content>

		<media:content url="http://shazronatadobe.files.wordpress.com/2012/11/plugin.png?w=300" medium="image">
			<media:title type="html">Plugin</media:title>
		</media:content>
	</item>
	</channel>
</rss>
