Commit Graph

2781 Commits

Author SHA1 Message Date
Joe Bowser
a64203f817 Removing Intent funtionality out of 3.7 2015-05-15 14:14:18 -07:00
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
Joe Bowser
f3885692d9 Updating RELASENOTES.md, this is in a weird spot, since you need the branch to exist to generate the notes 2015-01-21 08:25:37 -08:00
shingotoda
d7fc37d365 CB-8317 Make it work to load about:blank and to dispatch exit message (close #149) 2015-01-20 19:46:20 -05:00
Andrew Grieve
c3bdebdb83 CB-8026 Remove default target value from gradle file
Wasn't being used anyways, and it still referenced android-19
This also switches to using a Properties object rather than a RegEx
for parsing project.properties
2015-01-20 15:04:49 -05:00
Andrew Grieve
9514a3ed94 Move cordova.gradle from project template to CordovaLib
Make it easier to share with tests project.
Also, one less file in the project template is a good thing.
2015-01-20 15:04:46 -05:00
Andrew Grieve
050dd088cf gradle: Fix incorrect buildTools dependencies in framework's build.gradle
(although it didn't seem to hurt anything?)
2015-01-20 10:50:38 -05:00
Marcus Pridham
26f0401fda CB-8328 Allow plugins to handle certificate challenges (close #150)
This is a new API for Lollipop
2015-01-19 22:21:10 -05:00
sgrebnov
e4e04927b6 CB-8201 Add support for auth dialogs into Cordova Android 2015-01-19 22:21:05 -05:00
Andrew Grieve
6b3ef11715 Adds cdvPrintProps gradle task: dumps out all cdv properties
Useful for debugging.
2015-01-19 22:05:30 -05:00
Andrew Grieve
cf0fdf5ac0 CB-8255 Pass arch to gradle regardless of cdvBuildMultipleApks
This also pushes the "which target to build" logic into gradle, since
build.js doesn't actually know the value of `cdvBuildMultipleApks`.
2015-01-19 22:05:26 -05:00
Andrew Grieve
33614d1273 CB-8255 Fix cordova/build --gradleVar=--foo=bar stripping off =bar 2015-01-19 22:05:24 -05:00
Andrew Grieve
1f735935b9 Fix cordova/build not printing out all gradle args in console message 2015-01-19 22:05:23 -05:00
Andrew Grieve
8c14e33bb6 Fix cordova/run not finding apk when multi-arch is specified but only arch-independent apk exists 2015-01-19 22:05:22 -05:00
Andrew Grieve
7375154228 Fix exception for unknown flag in cordova/run 2015-01-19 22:05:21 -05:00
Andrew Grieve
1427c13504 Allow --ant, --gradle for cordova/run 2015-01-19 22:05:18 -05:00
Andrew Grieve
5538a231a8 CB-8017 Add support for <input type=file> for Lollipop
Also refactors a bit to remove related special-case code from CordovaActivity
2015-01-19 16:23:20 -05:00
Andrew Grieve
9be110683b CB-8329 Cancel outstanding ActivityResult requests when a new startActivityForResult occurs 2015-01-19 16:23:19 -05:00
Andrew Grieve
cfc36140bc CB-8280 android: Don't apply SplashScreenDelay when .show() is called explicitly 2015-01-19 13:42:35 -05:00
Murat Sutunc
72e947e5c7 CB-4914 Fix build whitespace issue 2015-01-13 10:00:04 -05:00
Joe Bowser
7320ce8ea7 Set VERSION to 3.7.0 (via coho) 2015-01-12 14:55:48 -08:00
Joe Bowser
3e07f26bc4 Update JS snapshot to version 3.7.0 (via coho) 2015-01-12 14:55:48 -08:00
Jason Chase
5415440829 CB-8210 Remove unused onDestroy channel (close #146)
- Channel was defined as internal event and fired by javascript eval()
- Rather than change firing of event, simpler to remove as was not used
2015-01-12 10:50:36 -05:00
Joe Bowser
15e19489e3 CB-8026: Bumping up Android Version and setting it up to allow third-party cookies. This might change later. 2015-01-09 11:31:29 -08:00
Andrew Grieve
c3610aa43c CB-8255 Use properties rather than environment variables for gradle settings 2015-01-08 15:26:24 -05:00
Andrew Grieve
c1ac3aa483 CB-8210 Drop events from native that occur before start-up 2015-01-05 16:32:39 -05:00
Jason Chase
291f111913 CB-8210 Use PluginResult for various events from native (close #144)
- Change to send events via plugin message channel: various buttons, pause/resume
2015-01-05 16:15:17 -05:00
Murat Sutunc
c2a6dcb6bd CB-8168 Add support for cordova/run --list (closes #139) 2015-01-03 21:05:52 -05:00
Jason Chase
3439746645 CB-8210 Use PluginResult instead of sendJavascript() for keyboard events (close #142)
- Initialize a message channel for native -> Javascript in the core App plugin
- Change keyboard detection to send events via plugin message channel, instead
  using eval() (i.e. webView.sendJavascript())
2014-12-30 23:25:56 -05:00
Andrew Grieve
b10fe465ab Closing stale pull request: close #114 2014-12-30 23:20:52 -05:00
Andrew Grieve
480af2644c CB-8228 Gradle: Allow plugins to use Maven dependencies 2014-12-30 22:57:53 -05:00
Andrew Grieve
ecd2e06883 CB-8229 Gradle: Add CordovaLib as a dependency to all plugin sub-projects 2014-12-30 22:56:43 -05:00
Andrew Grieve
7cfb33d0ef CB-7980 Add --minSdkVersion and --versionCode flags to cordova/build command
These are also exposed via environment variables: ANDROID_VERSION_CODE, ANDROID_MIN_SDK_VERSION
This also fixes build.gradle modifying the value set by ANDROID_VERSION_CODE when multi-apk is enabled (override should never be modified)
2014-12-23 16:26:43 -05:00
Mark Koudritsky
9224ab1592 CB-7980: Add 9 to versionCode for minSdk 20+ if not multiarch 2014-12-23 15:29:40 -05:00
fujunwei
931a996dab Allow plugins to set ext.multiarch to enable multiple APK building
The xwalk webView need build multiple apks by default after install
cordova-crosswalk-engine plugin, we can set ext.multiarch=true to open
the flag in plugin, it don't necessary set system environment BUILD_MULTIPLE_APKS
manually.

This closes #141
2014-12-22 23:19:27 -05:00
Ian Clelland
98fe46757f CB-8204: Reinstate link tasks to avoid gradle build failures 2014-12-22 13:24:58 -05:00
Andrew Grieve
6b6e887c2f CB-8143 Use gradle 2.2.1 instead of 1.12 to appease Android Studio 1.0 warning-on-startup 2014-12-22 11:37:06 -05:00
Andrew Grieve
b92303b1c9 CB-8143 Use gradle plugin 1.0.0 for Android Studio 1.0.0 2014-12-22 11:19:21 -05:00
Andrew Grieve
731a36d3a0 CB-8202 Fix gradle build signing when passwords provided interactively 2014-12-22 10:21:17 -05:00
Andrew Grieve
342bbaa3ae CB-8176 Update Android SDK search path for Android Studio 1.0 2014-12-16 14:17:55 -05:00
Daniel Toplak
56a3ee5fe6 CB-8079 Use activity class package name, but fallback to application
package name when looking for splash screen drawable

Close #136
2014-12-10 21:19:28 -05:00
Andrew Grieve
d80d532a2a Fix syntax error in 3aca14d530 2014-12-10 21:16:54 -05:00
Andrew Grieve
3aca14d530 CB-8147 Have corodva/build warn about unrecognized flags rather than fail
Close #127
2014-12-10 21:02:57 -05:00
Andrew Grieve
aa2d3962bf Close #126 (not-a-problem) 2014-12-10 21:02:57 -05:00
Andrew Grieve
f7c717e393 Close #137 (already merged). 2014-12-10 21:02:57 -05:00
sgrebnov
268fea58ee CB-7881 Android tooling shouldn't lock application directory
Close #130
2014-12-10 21:02:48 -05:00
fujunwei
ba140a8a84 Add a section for plugin extensions
The build.gradle will apply gradle srcipte from plugin extension
When install the plugin with "gradleReference" framework.
The gradle can set ext.multiarch=true to support multiple APKs by
default, so add this section in here.
2014-12-10 15:44:39 -05:00