shingotoda
ccceaeaca2
CB-8317 Make it work to load about:blank and to dispatch exit message ( close #149 )
2015-01-20 19:45:43 -05:00
Andrew Grieve
9e04eec9dd
Make BackButtonMultiPageTest tests not hang forever.
...
They still don't pass, but at least fail now.
2015-01-20 14:53:31 -05:00
Andrew Grieve
0e19f88a04
Make unit tests work with Gradle
...
Had to split the test app from the tests, since that's how gradle forces
you to do it.
2015-01-20 14:31:59 -05:00
Andrew Grieve
e788e8fa0f
Delete test/ ant files and cordova scripts
2015-01-20 14:14:39 -05:00
Andrew Grieve
a56c406aa3
Made check_reqs script echo ANDROID_HOME
and JAVA_HOME
when run directly
2015-01-20 14:14:39 -05:00
Andrew Grieve
a3457d9408
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 11:33:55 -05:00
Andrew Grieve
b69fed18e2
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 11:04:40 -05:00
Andrew Grieve
2964aea447
gradle: Fix incorrect buildTools dependencies in framework's build.gradle
...
(although it didn't seem to hurt anything?)
2015-01-20 10:49:19 -05:00
Marcus Pridham
623b394c83
CB-8328 Allow plugins to handle certificate challenges ( close #150 )
...
This is a new API for Lollipop
2015-01-19 22:17:39 -05:00
Andrew Grieve
92d1080b2f
Adds cdvPrintProps
gradle task: dumps out all cdv properties
...
Useful for debugging.
2015-01-19 21:59:02 -05:00
Andrew Grieve
893c0e9b67
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 21:56:46 -05:00
Andrew Grieve
af60f71ea3
CB-8255 Fix cordova/build --gradleVar=--foo=bar
stripping off =bar
2015-01-19 21:54:29 -05:00
Andrew Grieve
9a952f1004
Fix cordova/build
not printing out all gradle args in console message
2015-01-19 21:53:08 -05:00
Andrew Grieve
3ec7dfff8b
Fix cordova/run
not finding apk when multi-arch is specified but only arch-independent apk exists
2015-01-19 21:51:57 -05:00
Andrew Grieve
d30a5e0388
Fix exception for unknown flag in cordova/run
2015-01-19 21:50:14 -05:00
Andrew Grieve
fcece7e189
Allow --ant
, --gradle
for cordova/run
2015-01-19 21:49:36 -05:00
Andrew Grieve
62c1c5f38b
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:15:25 -05:00
Andrew Grieve
56204c5748
CB-8329 Cancel outstanding ActivityResult requests when a new startActivityForResult occurs
2015-01-19 16:13:48 -05:00
Andrew Grieve
34c163be88
CB-8280 android: Don't apply SplashScreenDelay when .show() is called explicitly
2015-01-19 13:42:11 -05:00
sgrebnov
11002d4a56
CB-8201 Add support for auth dialogs into Cordova Android
2015-01-16 13:06:10 +03:00
Bas Bosman
240f27ce97
CB-8314 Speed up Travis CI ( close #148 )
2015-01-15 20:36:30 -05:00
Murat Sutunc
8e5c93a31f
CB-4914 Fix build whitespace issue
2015-01-13 09:59:29 -05:00
Joe Bowser
0e5d72dc5d
Update JS snapshot to version 3.8.0-dev (via coho)
2015-01-12 14:55:49 -08:00
Joe Bowser
4b8069f5ec
Set VERSION to 3.8.0-dev (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
Andrew Grieve
27f1181d53
CB-3679 Move splashscreen logic into splashscreen plugin
...
Tried as hard as possible for this not to be a breaking change (all
symbols were preserved). Planning to remove delegating symbols in 4.0.x
though.
Also for backwards compatability - a copy of the plugin is bundled. It
will likewise be removed in 4.0.x
2014-12-10 15:40:03 -05:00