Compare commits

..

4 Commits
3.7.0 ... 3.7.1

Author SHA1 Message Date
Andrew Grieve
f4b315961b CB-8415 updated RELEASENOTES 2015-02-03 20:50:17 -05:00
Andrew Grieve
3bc755de7c Set VERSION to 3.7.1 (via coho) 2015-02-03 20:46:29 -05:00
Andrew Grieve
c5ffdff49b Prune 3.7.0 RELEASENOTES to a more glanceable list 2015-02-03 16:04:35 -05:00
Andrew Grieve
2829ed77cc CB-8411 Initialize plugins only after createViews() is called 2015-02-03 16:03:47 -05:00
7 changed files with 23 additions and 72 deletions

View File

@@ -20,86 +20,35 @@
-->
## Release Notes for Cordova (Android) ##
### Release 3.7.1 (January 2015) ###
* CB-8411 Initialize plugins only after `createViews()` is called (regression in 3.7.0)
### Release 3.7.0 (January 2015) ###
* CB-8328 Allow plugins to handle certificate challenges (close #150)
* CB-8201 Add support for auth dialogs into Cordova Android
* CB-8255 Pass `arch` to gradle regardless of `cdvBuildMultipleApks`
* CB-8255 Fix `cordova/build --gradleVar=--foo=bar` stripping off `=bar`
* CB-8017 Add support for `<input type=file>` for Lollipop
* CB-8143 Loads of gradle improvements (try it with cordova/build --gradle)
* CB-8329 Cancel outstanding ActivityResult requests when a new startActivityForResult occurs
* CB-8280 android: Don't apply SplashScreenDelay when .show() is called explicitly
* CB-4914 Fix build whitespace issue
* CB-8210 Remove unused onDestroy channel (close #146)
* CB-8026: Bumping up Android Version and setting it up to allow third-party cookies. This might change later.
* CB-8255 Use properties rather than environment variables for gradle settings
* CB-8210 Drop events from native that occur before start-up
* CB-8210 Use PluginResult for various events from native (close #144)
* CB-8026 Bumping up Android Version and setting it up to allow third-party cookies. This might change later.
* CB-8210 Use PluginResult for various events from native so that content-security-policy <meta> can be used
* CB-8168 Add support for `cordova/run --list` (closes #139)
* CB-8210 Use PluginResult instead of sendJavascript() for keyboard events (close #142)
* CB-8228 Gradle: Allow plugins to use Maven dependencies
* CB-8229 Gradle: Add CordovaLib as a dependency to all plugin sub-projects
* CB-7980 Add --minSdkVersion and --versionCode flags to cordova/build command
* CB-7980: Add 9 to versionCode for minSdk 20+ if not multiarch
* CB-8204: Reinstate link tasks to avoid gradle build failures
* CB-8143 Use gradle 2.2.1 instead of 1.12 to appease Android Studio 1.0 warning-on-startup
* CB-8143 Use gradle plugin 1.0.0 for Android Studio 1.0.0
* CB-8202 Fix gradle build signing when passwords provided interactively
* CB-8176 Update Android SDK search path for Android Studio 1.0
* CB-8176 Vastly better auto-detection of SDK & JDK locations
* CB-8079 Use activity class package name, but fallback to application package name when looking for splash screen drawable
* CB-8147 Have corodva/build warn about unrecognized flags rather than fail
* CB-7881 Android tooling shouldn't lock application directory
* CB-3679 Move splashscreen logic into splashscreen plugin
* CB-8143: Use the correct Android Gradle plugin for the installed Gradle version
* CB-8119 Restart adb when we detect it's hung
* CB-8112 Turn off mediaPlaybackRequiresUserGesture
* CB-6153 Add a preference for controlling hardware button audio stream (DefaultVolumeStream)
* CB-8081 Allow gradle builds to use Java 6 instead of requiring 7
* CB-8031 Fix race condition that shows as ConcurrentModificationException
* CB-7976 Use webView's context rather than Activity's context for intent receiver
* CB-7974 Cancel timeout timer if view is destroyed
* CB-7940 Disable exec bridge if bridgeSecret is wrong
* CB-7758: Allow content-url-hosted pages to access the bridge
* CB-7726 fix typo in gitignore: ant-built -> ant-build
* Replacing Math.random() with something a little more random.
* CB-7758 Allow content-url-hosted pages to access the bridge
* CB-6511 Fixes build for android when app name contains unicode characters.
* CB-7707 Added multipart PluginResult (close #125)
* CB-7714 Teach check_reqs about brew's install location for android SDK
* Fix --shared flag of create script (broke in recent gradle changes)
* Update .gitignore to ignore /framework/build and /node_modules
* CB-7707 Added multipart PluginResult
* CB-6837 Fix leaked window when hitting back button while alert being rendered
* CB-7674: Added sleep to avoid null error after most recent change to not break API
* CB-7674 move preference activation back into onCreate()
* CB-7634 Detect JAVA_HOME properly on Ubuntu
* CB-7410 update the docs to match the actual title
* CB-7512 Use a standard build.gradle for all plugins
* CB-7512 Make gradle build only a single config for sub-libraries (release vs debug)
* CB-7579 Fix run script's ability to use non-arch-specific APKs
* CB-7512 Fix gradle asking for release password when building for debug
* CB-7493 Adds test-build command to package.json
* CB-3445: Make minSdkVersion and base versionCode settable through env vars
* CB-7512 Make key password optional & prompt for it when missing
* CB-7512 Fix gradle not copying all archs to out/ (broken by prev commit)
* CB-7512 Use aligned apk rather than unaligned apk when sorting
* CB-7512 Speed up gradle builds by building debug or release (not both)
* CB-7512 Add gradle environment vars for signing apks
* CB-7512 Change gradle android plugins from 0.10 -> 0.12
* CB-7536 check_reqs: windows tweaks + sdk manager error message
* CB-7499, support RTL text direction
* CB-7554 Use x86 apk when deploying to an intel device / emulator
* CB-7512: Fix logic for detecting SDK directory
* CB-7536 Tweak Android SDK not installed error message.
* CB-7536 Tweak error messages for missing JDK / SDK / AVDs
* CB-7511 Auto-detect android sdk when using stand-alone sdk installer
* CB-7512: Copy cordova.gradle file to project root on build
* CB-7674 Move preference activation back into onCreate()
* CB-7499 Support RTL text direction
* CB-7330 Don't run check_reqs for bin/create.
* CB-7512: Read android target from project.properties if possible
* CB-7512: Determine SDK and build tools version dynamcally at build time
* CB-7463: Adding licence to project template gradle file
* CB-7511 Auto-detect Android SDK when Android Studio is installed
* CB-7463: Looked at the Apache BigTop git, gradle uses C-style comments
* CB-7463: Adding licences. I don't know what the gradle syntax is for comments, that still needs to be done.
* CB-7460: Fixing bug with KitKat where the background colour would override the CSS colours on the application
### 3.6.4 (Sept 30, 2014) ###

View File

@@ -1 +1 @@
3.7.0
3.7.1

View File

@@ -20,6 +20,6 @@
*/
// Coho updates this line:
var VERSION = "3.7.0";
var VERSION = "3.7.1";
console.log(VERSION);

View File

@@ -19,7 +19,7 @@
under the License.
*/
;(function() {
var PLATFORM_VERSION_BUILD_LABEL = '3.7.0';
var PLATFORM_VERSION_BUILD_LABEL = '3.7.1';
// file: src/scripts/require.js
/*jshint -W079 */

View File

@@ -333,11 +333,6 @@ public class CordovaActivity extends Activity implements CordovaInterface {
}
appView = webView != null ? webView : makeWebView();
if (appView.pluginManager == null) {
appView.init(this, webViewClient != null ? webViewClient : makeWebViewClient(appView),
webChromeClient != null ? webChromeClient : makeChromeClient(appView),
pluginEntries, internalWhitelist, externalWhitelist, preferences);
}
// TODO: Have the views set this themselves.
if (preferences.getBoolean("DisallowOverscroll", false)) {
@@ -345,6 +340,13 @@ public class CordovaActivity extends Activity implements CordovaInterface {
}
createViews();
// Init plugins only after creating views
if (appView.pluginManager == null) {
appView.init(this, webViewClient != null ? webViewClient : makeWebViewClient(appView),
webChromeClient != null ? webChromeClient : makeChromeClient(appView),
pluginEntries, internalWhitelist, externalWhitelist, preferences);
}
// Wire the hardware volume controls to control media if desired.
String volumePref = preferences.getString("DefaultVolumeStream", "");
if ("media".equals(volumePref.toLowerCase(Locale.ENGLISH))) {

View File

@@ -62,7 +62,7 @@ import android.widget.FrameLayout;
public class CordovaWebView extends WebView {
public static final String TAG = "CordovaWebView";
public static final String CORDOVA_VERSION = "3.7.0";
public static final String CORDOVA_VERSION = "3.7.1";
private HashSet<Integer> boundKeyCodes = new HashSet<Integer>();

View File

@@ -1,6 +1,6 @@
{
"name": "cordova-android",
"version": "3.7.0",
"version": "3.7.1",
"description": "cordova-android release",
"main": "bin/create",
"repository": {