cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject svn commit: r1692041 [5/16] - in /cordova/site: public/ public/announcements/2013/11/15/ public/announcements/2013/11/22/ public/announcements/2013/12/16/ public/announcements/2014/02/20/ public/announcements/2014/05/23/ public/announcements/2014/08/04...
Date Tue, 21 Jul 2015 01:00:01 GMT
Modified: cordova/site/public/announcements/2015/04/15/cordova-android-4.0.0.html
URL: http://svn.apache.org/viewvc/cordova/site/public/announcements/2015/04/15/cordova-android-4.0.0.html?rev=1692041&r1=1692040&r2=1692041&view=diff
==============================================================================
--- cordova/site/public/announcements/2015/04/15/cordova-android-4.0.0.html (original)
+++ cordova/site/public/announcements/2015/04/15/cordova-android-4.0.0.html Tue Jul 21 01:00:00
2015
@@ -19,20 +19,9 @@
     <!-- Cordova CSS -->
     <link rel="stylesheet" type="text/css" href="//cordova.apache.org/css/master.css">
     <script src="//cordova.apache.org/js/smooth.pack.js" type="text/javascript"></script>
-    <script type="text/javascript">
-      var _gaq = _gaq || [];
-      _gaq.push(['_setAccount', 'UA-94271-30']);
-      _gaq.push(['_trackPageview']);
-      (function() {
-        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async
= true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www')
+ '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga,
s);
-      })();
-    </script>
 </head>
 
 <body>
-
     <a class="scroll-point pt-top" name="top">
 </a>
 <div id="header">
@@ -63,118 +52,92 @@
 </div> <!-- /header -->
 <div class="header-placeholder"></div>
 
-
-        <div class="site">
+    <div class="site">
     <h2>Apache Cordova Android 4.0.0</h2>
     <div class="meta">Posted by: <a href="https://twitter.com/GrieveAndrew">Andrew
Grieve</a></div>
     <p class="meta">15 Apr 2015</p>
     <div class="post">
-    
-<p>We are happy to announce that <code>Cordova Android 4.0.0</code> has
been released!</p>
+    <p>We are happy to announce that <code>Cordova Android 4.0.0</code>
has been released!</p>
 
-<p>This release adds significant functionality, and also introduces a number of breaking
changes. Mostly though, it adds first-class support for <a href="https://crosswalk-project.org/">Crosswalk</a>
– a bundled modern WebView!</p>
+<p>This release adds significant functionality, and also introduces a number
+of breaking changes. Mostly though, it adds first-class support for <a href="https://crosswalk-project.org/">Crosswalk</a>
– a bundled modern WebView!</p>
 
-<p><code>cordova-android@4.0.0</code> will be the default android version
in the next version of <code>cordova</code>. If you just can’t wait though,
you can try it out now:</p>
+<p><code>cordova-android@4.0.0</code> will be the default android version
in the next
+version of <code>cordova</code>. If you just can’t wait though, you can
try it out now:</p>
 
 <pre><code>cd my_project
 cordova platform update android@4.0.0
 cordova plugin add https://github.com/apache/cordova-plugin-whitelist.git#r1.0.0
 # To install Crosswalk (optional):
-cordova plugin add https://github.com/MobileChromeApps/cordova-plugin-crosswalk-webview.git#1.0.0</code></pre>
-<!--more-->
-<h2 id="major_changes">Major Changes</h2>
-
-<ul>
-<li>Support for pluggable WebViews!
-<ul>
-<li><a href="https://crosswalk-project.org/">Crosswalk</a> can be added
by installing the <a href="https://github.com/MobileChromeApps/cordova-crosswalk-engine">cordova-plugin-crosswalk-webview</a>
plugin.</li>
-</ul>
-</li>
-
-<li>Splash screen functionality is now provided via plugin
-<ul>
-<li>You will need to add the new <a href="https://github.com/apache/cordova-plugin-splashscreen">cordova-plugin-splashscreen</a>
plugin to continue using a splash screen</li>
-</ul>
-</li>
-
-<li>Whitelist functionality is revamped
-<ul>
-<li>You will need to add the new <a href="https://github.com/apache/cordova-plugin-whitelist">cordova-plugin-whitelist</a>
plugin to continue using a whitelist</li>
-
-<li>Setting a Content-Security-Policy (CSP) is now supported and is the recommended
way to whitelist (see details in plugin readme)</li>
+cordova plugin add https://github.com/MobileChromeApps/cordova-plugin-crosswalk-webview.git#1.0.0
+</code></pre>
 
-<li>Network requests are <em>blocked</em> by default without the plugin,
so install this plugin even to allow all requests, and even if you are using CSP.</li>
-
-<li>This new whitelist is enhanced to be more secure and configurable, but the Legacy
whitelist behaviour is still available via a separate plugin (not recommended).</li>
-
-<li>Note: while not strictly part of this release, the latest default app created by
cordova-cli will include this plugin by default.</li>
-</ul>
-</li>
-</ul>
-
-<h2 id="changes_for_plugin_developers">Changes For Plugin Developers:</h2>
-
-<ul>
-<li>Develop in Android Studio
-<ul>
-<li>Android Studio is now fully supported, and recommended over Eclipse</li>
-
-<li>Use <code>cordova plugin add ../path/to/my-plugin --link</code> to
symlink .java files for development</li>
-</ul>
-</li>
+<!--more-->
 
-<li>Build using Gradle
+<h2 id="major-changes">Major Changes</h2>
 <ul>
-<li>All builds <a href="https://cordova.apache.org/docs/en/edge/guide_platforms_android_tools.md.html#Android%20Shell%20Tool%20Guide_building_with_gradle">use
Gradle by default</a>, instead of Ant</li>
-
-<li>Plugins can add their own gradle build steps!</li>
-
-<li>Plugins can depend on Maven libraries using <code>&lt;framework&gt;</code>
tags</li>
-</ul>
-</li>
-
-<li>New APIs: <code>onStart</code>, <code>onStop</code>, <code>onConfigurationChanged</code></li>
-
-<li><code>&quot;onScrollChanged&quot;</code> message removed. Use
<code>view.getViewTreeObserver().addOnScrollChangedListener(...)</code> instead</li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-8702">CB-8702</a>
New API for plugins to override <code>shouldInterceptRequest</code> with a stream</li>
+  <li>Support for pluggable WebViews!
+    <ul>
+      <li><a href="https://crosswalk-project.org/">Crosswalk</a> can be
added by installing the <a href="https://github.com/MobileChromeApps/cordova-crosswalk-engine">cordova-plugin-crosswalk-webview</a>
plugin.</li>
+    </ul>
+  </li>
+  <li>Splash screen functionality is now provided via plugin
+    <ul>
+      <li>You will need to add the new <a href="https://github.com/apache/cordova-plugin-splashscreen">cordova-plugin-splashscreen</a>
plugin to continue using a splash screen</li>
+    </ul>
+  </li>
+  <li>Whitelist functionality is revamped
+    <ul>
+      <li>You will need to add the new <a href="https://github.com/apache/cordova-plugin-whitelist">cordova-plugin-whitelist</a>
plugin to continue using a whitelist</li>
+      <li>Setting a Content-Security-Policy (CSP) is now supported and is the recommended
way to whitelist (see details in plugin readme)</li>
+      <li>Network requests are <em>blocked</em> by default without the
plugin, so install this plugin even to allow all requests, and even if you are using CSP.</li>
+      <li>This new whitelist is enhanced to be more secure and configurable, but the
Legacy whitelist behaviour is still available via a separate plugin (not recommended).</li>
+      <li>Note: while not strictly part of this release, the latest default app created
by cordova-cli will include this plugin by default.</li>
+    </ul>
+  </li>
 </ul>
 
-<h2 id="other_changes">Other Changes</h2>
+<h2 id="changes-for-plugin-developers">Changes For Plugin Developers:</h2>
 
 <ul>
-<li><a href="https://issues.apache.org/jira/browse/CB-8378">CB-8378</a>
Removed <code>hidekeyboard</code> and <code>showkeyboard</code> events
(apps should use a plugin instead)</li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-8735">CB-8735</a>
<code>bin/create</code> regex relaxed / better support for numbers</li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-8699">CB-8699</a>
Fix CordovaResourceApi <code>copyResource</code> creating zero-length files when
src=uncompressed asset</li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-8693">CB-8693</a>
CordovaLib should not contain icons / splashscreens</li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-8592">CB-8592</a>
Fix NPE if lifecycle events reach CordovaWebView before <code>init()</code> has
been called</li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-8588">CB-8588</a>
Add CATEGORY_BROWSABLE to intents from showWebPage openExternal=true</li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-8587">CB-8587</a>
Don’t allow WebView navigations within showWebPage that are not whitelisted</li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-7827">CB-7827</a>
Add <code>--activity-name</code> for <code>bin/create</code></li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-8548">CB-8548</a>
Use debug-signing.properties and release-signing.properties when they exist</li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-8545">CB-8545</a>
Don’t add a layout as a parent of the WebView</li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-7159">CB-7159</a>
BackgroundColor not used when <code>&lt;html style=&quot;opacity:0&quot;&gt;</code>,
nor during screen rotation</li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-6630">CB-6630</a>
Removed OkHttp from core library. It’s now available as a plugin: <a href="https://github.com/MobileChromeApps/cordova-plugin-okhttp">cordova-plugin-okhttp</a></li>
-
-<li><a href="https://issues.apache.org/jira/browse/CB-8484">CB-8484</a>
Support for creating signed archive for Android</li>
+  <li>Develop in Android Studio
+    <ul>
+      <li>Android Studio is now fully supported, and recommended over Eclipse</li>
+      <li>Use <code>cordova plugin add ../path/to/my-plugin --link</code>
to symlink .java files for development</li>
+    </ul>
+  </li>
+  <li>Build using Gradle
+    <ul>
+      <li>All builds <a href="https://cordova.apache.org/docs/en/edge/guide_platforms_android_tools.md.html#Android%20Shell%20Tool%20Guide_building_with_gradle">use
Gradle by default</a>, instead of Ant</li>
+      <li>Plugins can add their own gradle build steps!</li>
+      <li>Plugins can depend on Maven libraries using <code>&lt;framework&gt;</code>
tags</li>
+    </ul>
+  </li>
+  <li>New APIs: <code>onStart</code>, <code>onStop</code>,
<code>onConfigurationChanged</code></li>
+  <li><code>"onScrollChanged"</code> message removed. Use <code>view.getViewTreeObserver().addOnScrollChangedListener(...)</code>
instead</li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-8702">CB-8702</a>
New API for plugins to override <code>shouldInterceptRequest</code> with a stream</li>
+</ul>
+
+<h2 id="other-changes">Other Changes</h2>
+<ul>
+  <li><a href="https://issues.apache.org/jira/browse/CB-8378">CB-8378</a>
Removed <code>hidekeyboard</code> and <code>showkeyboard</code> events
(apps should use a plugin instead)</li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-8735">CB-8735</a>
<code>bin/create</code> regex relaxed / better support for numbers</li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-8699">CB-8699</a>
Fix CordovaResourceApi <code>copyResource</code> creating zero-length files when
src=uncompressed asset</li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-8693">CB-8693</a>
CordovaLib should not contain icons / splashscreens</li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-8592">CB-8592</a>
Fix NPE if lifecycle events reach CordovaWebView before <code>init()</code> has
been called</li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-8588">CB-8588</a>
Add CATEGORY_BROWSABLE to intents from showWebPage openExternal=true</li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-8587">CB-8587</a>
Don’t allow WebView navigations within showWebPage that are not whitelisted</li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-7827">CB-7827</a>
Add <code>--activity-name</code> for <code>bin/create</code></li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-8548">CB-8548</a>
Use debug-signing.properties and release-signing.properties when they exist</li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-8545">CB-8545</a>
Don’t add a layout as a parent of the WebView</li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-7159">CB-7159</a>
BackgroundColor not used when <code>&lt;html style="opacity:0"&gt;</code>,
nor during screen rotation</li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-6630">CB-6630</a>
Removed OkHttp from core library. It’s now available as a plugin: <a href="https://github.com/MobileChromeApps/cordova-plugin-okhttp">cordova-plugin-okhttp</a></li>
+  <li><a href="https://issues.apache.org/jira/browse/CB-8484">CB-8484</a>
Support for creating signed archive for Android</li>
 </ul>
 
     </div>
 </div>
 
-
-
     <a class="scroll-point" name="links"></a>
 <hr/>
 
@@ -241,7 +204,6 @@ cordova plugin add https://github.com/Mo
     </div>
 </div>
 
-
     <hr/>
 <div id="footer">
     <p>Copyright © 2012, 2013 The Apache Software Foundation, Licensed under the
<a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>
@@ -250,6 +212,15 @@ cordova plugin add https://github.com/Mo
     <a class="closing" href="#top"></a>
 </div>
 
+    <script>
+    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+    ga('create', 'UA-64283057-3', 'auto');
+    ga('send', 'pageview');
+</script>
 
 </body>
 </html>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message