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
59d23e05b1
Merge branch 'master' into 4.0.x (apk signing with interactive passwords)
2014-12-22 10:22:41 -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
87cdc5ad1c
Merge branch 'master' into 4.0.x (SplashScreen breakout)
...
Conflicts:
framework/src/org/apache/cordova/CordovaActivity.java
framework/src/org/apache/cordova/CordovaWebView.java
2014-12-10 16:09:22 -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
Ian Clelland
f953e6adb8
CB-8143: Use the correct Android Gradle plugin for the installed Gradle version
2014-12-10 10:07:05 -05:00
Ian Clelland
3206c2100d
Merge branch 'plugin-gradle' into 4.0.x
2014-12-09 09:43:37 -05:00
Andrew Grieve
e597f98c62
Merge branch 'master' into 4.0.x (gradle java 6 & PluginManager race fix)
2014-11-26 11:48:08 -05:00
Andrew Grieve
7fbb2b195f
CB-8081 Allow gradle builds to use Java 6 instead of requiring 7
2014-11-26 11:44:49 -05:00
fujunwei
9b82ae19b0
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-11-17 15:52:40 +08:00
Mark Koudritsky
9d3c13065b
CB-7980: Add 9 to versionCode for minSdk 20+ if not multiarch
2014-11-06 18:27:36 -05:00
Andrew Grieve
fdef0db87c
Merge branch 'master' into 4.0.x (Load timeout, bridge secret, content: URI)
...
Conflicts:
framework/src/org/apache/cordova/CordovaWebView.java
2014-11-06 15:37:30 -05:00
Chris Alfano
832e626573
CB-7726 fix typo in gitignore: ant-built -> ant-build
...
github: close #131
2014-10-27 12:33:09 -04:00
Andrew Grieve
cc7d352209
Merge branch 'master' into 4.0.x (gradle signing+SecureRandom)
2014-10-21 13:00:07 -04:00
Andrew Grieve
ce5d9a2ee8
gradle: Allow storeType to be set (allows using .p12 files)
2014-10-21 12:59:34 -04:00
Andrew Grieve
77c51d3ae7
gradle: Allow absolute paths to keystore files
2014-10-21 12:43:30 -04:00
Marcel Kinard
c255a84941
CB-7674 move preference activation back into onCreate()
...
The preference creation actually needs to be before
super.onCreate(savedInstance) in order to avoid the exception
"requestFeature() must be called before adding content". Also ran into an
issue in the native tests "Whitelist" and "User WebView/Client/Chrome" where
it would throw an exception that the CordovaWebView appView already had
a parent and needed to be removed from that parent before the invocation
to root.addView(appView). So I conditionally remove the wrong parent.
Also made a change to the native tests so the menus test would work.
I also put super.init() back into the template, though invoking it is optional
as loadUrl will call it automatically if needed.
2014-09-30 19:38:34 -04:00
Andrew Grieve
f7f49d27c5
Merge branch 'master' into 4.0.x (gradle Android Studio)
2014-09-23 21:04:55 -04:00
Andrew Grieve
9e3ccf4b3e
gradle: Fix warning about dynamic properties being deprecated
2014-09-23 21:04:04 -04:00
Andrew Grieve
6b71c2f392
gradle: Have project's build.gradle look for a build-extras.gradle
2014-09-23 21:03:17 -04:00
Andrew Grieve
0d313a3964
gradle: Write sub-project list explicitly to make Android Studio happy
2014-09-23 21:03:00 -04:00
Andrew Grieve
363fc8deb5
Merge branch 'master' into 4.0.x (gradle plugin template)
...
Conflicts:
bin/templates/cordova/lib/build.js
framework/build.gradle
2014-09-22 22:28:59 -04:00
Andrew Grieve
2b128b85f7
CB-7512 Make gradle build only a single config for sub-libraries (release vs debug)
2014-09-22 20:54:28 -04:00
Andrew Grieve
d022be547b
Merge branch 'master' into 4.0.x (gradle)
2014-09-17 21:27:55 -04:00
Andrew Grieve
3f83fdbfc1
CB-7512 Fix gradle asking for release password when building for debug
2014-09-17 21:27:06 -04:00
Ian Clelland
215adab1f9
Merge branch 'master' into 4.0.x (Gradle env vars)
2014-09-17 15:58:46 -04:00
Ian Clelland
7ce46ed60c
CB-3445: Make minSdkVersion and base versionCode settable through env vars
2014-09-17 15:58:22 -04:00
Andrew Grieve
c32bcca67b
Merge branch 'master' into 4.0.x (gradle optional password)
2014-09-17 15:30:20 -04:00
Andrew Grieve
cb442364ca
CB-7512 Make key password optional & prompt for it when missing
2014-09-17 15:29:57 -04:00
Andrew Grieve
8f27b2ab56
Merge branch 'master' into 4.0.x (gradle fixes)
2014-09-16 13:02:55 -04:00
Andrew Grieve
25be42d385
CB-7512 Add gradle environment vars for signing apks
2014-09-16 13:01:25 -04:00
Andrew Grieve
00f6d30e08
CB-7512 Change gradle android plugins from 0.10 -> 0.12
2014-09-16 13:00:27 -04:00
mbillau
d9900a725d
Second part of CB-7499, support RTL text direction
2014-09-15 16:03:00 -04:00
Ian Clelland
4c1efe7ad4
Merge branch 'master' into 4.0.x
2014-09-15 12:16:03 -04:00
Ian Clelland
4be92f285a
CB-7512: Fix logic for detecting SDK directory
2014-09-15 12:15:32 -04:00
Ian Clelland
dd5a337a49
Merge branch 'master' into 4.0.x
...
Conflicts:
framework/src/org/apache/cordova/CordovaActivity.java
2014-09-11 10:18:35 -04:00
Ian Clelland
0e78dc35d8
CB-7512: Read android target from project.properties if possible
2014-09-10 11:39:29 -04:00
Ian Clelland
c8bbdb23de
CB-7512: Determine SDK and build tools version dynamcally at build time
2014-09-10 10:57:43 -04:00
Ian Clelland
7ee8117186
CB-7463: Adding licence to project template gradle file
2014-09-10 10:54:21 -04:00
Ian Clelland
623b2306ca
CB-3445: Add environment variable 'BUILD_MULTIPLE_APKS' for splitting APKs based on architecture
2014-08-28 16:18:51 -04:00
Ian Clelland
34dde53506
CB-3445: Add environment variable 'BUILD_MULTIPLE_APKS' for splitting APKs based on architecture
2014-08-28 16:18:02 -04:00
Ian Clelland
7a09182446
CB-3445: Ensure that JAR files in libs directory are included
2014-08-28 13:17:26 -04:00
Ian Clelland
233e513860
CB-3445: Ensure that JAR files in libs directory are included
2014-08-28 11:26:58 -04:00
Ian Clelland
b2776269cf
Merge branch 'master' into 4.0.x (Gradle library dependencies)
2014-08-20 11:43:58 -04:00
Ian Clelland
b6c5a5fc9a
CB-3445: Read project.properties to configure gradle libraries
2014-08-20 11:42:04 -04:00
Andrew Grieve
4c1942e3fe
Merge branch 'master' into 4.0.x (build & create script updates)
...
Conflicts:
bin/lib/check_reqs.js
bin/lib/create.js
bin/node_modules/which/package.json
bin/templates/cordova/lib/build.js
2014-08-19 12:02:36 -04:00
Andrew Grieve
71e72f215d
CB-7335 Add a .gitignore to android project template
2014-08-19 11:59:18 -04:00
Andrew Grieve
dfa66b9dd4
CB-7330 Don't run "android update" during creation
...
Instead, have the build script copy do the equivalent logic on each
build.
Advantages:
- Scripts run much faster
- No more duplicate CordovaLib entries in project.properties
- Building is more independent from create/update script (more robust)
2014-08-18 23:24:29 -04:00
Ian Clelland
a91bd095b0
CB-3445: android: Copy Gradle wrapper from Android SDK rather than bundling a JAR
2014-08-18 09:48:31 -04:00
Ian Clelland
8aa813b862
CB-3445: Add an initial set of Gradle build scripts
...
These scripts will build an android project, in debug and release mode.
They also support additional library projects, such as Crosswalk, being
added to libraries.gradle (and settings.gradle). A flag can be set in
libraries.gradle to enable multi-architecture builds.
2014-08-18 09:48:31 -04:00
Andrew Grieve
1571b26a65
Merge branch 'master' into 4.0.x (ConfigXmlParser + two-phase init)
...
Conflicts:
framework/src/org/apache/cordova/CordovaActivity.java
framework/src/org/apache/cordova/CordovaChromeClient.java
framework/src/org/apache/cordova/CordovaWebView.java
framework/src/org/apache/cordova/CordovaWebViewClient.java
framework/src/org/apache/cordova/PluginManager.java
2014-07-07 16:23:51 -04:00
Andrew Grieve
0f15608175
CB-4404 Revert setting android:windowSoftInputMode to "adjustPan"
...
"adjustResize" is what the value has been set to for the longest time (due to it
being in the wrong place in the manifest). "adjustResize" is a better default value anyways.
2014-07-07 13:07:51 -04:00
Andrew Grieve
705991e5b0
Refactor: Use ConfigXmlParser in activity. Adds CordovaWebView.init()
...
This does subtly change the API surface due to CordovaWebView.init(),
but only minimally, and is backwards compatibly with the default
generated projects from prior versions.
2014-07-04 16:32:09 -04:00
Andrew Grieve
96a1192474
Merge branch 'master' into 4.0.x (back button default behaviour fix)
...
Conflicts:
framework/src/org/apache/cordova/CordovaChromeClient.java
framework/src/org/apache/cordova/CordovaWebView.java
2014-06-23 14:50:01 -04:00
Ian Clelland
0ffb5d253a
CB-3445: android: Copy Gradle wrapper from Android SDK rather than bundling a JAR
2014-06-19 16:12:40 -04:00
Ian Clelland
fa189b3234
CB-3445: Add an initial set of Gradle build scripts
...
These scripts will build an android project, in debug and release mode.
They also support additional library projects, such as Crosswalk, being
added to libraries.gradle (and settings.gradle). A flag can be set in
libraries.gradle to enable multi-architecture builds.
2014-06-17 17:36:26 -04:00
Joe Bowser
663a919ed1
CB-4404: Changing where android:windowSoftInputMode is in the manifest so it works
2014-06-12 11:47:41 -07:00
Andrew Grieve
6abb9da88a
Merge branch 'master' into 4.0.x
...
Conflicts:
bin/templates/project/custom_rules.xml
framework/src/org/apache/cordova/CordovaWebView.java
test/src/org/apache/cordova/test/junit/MessageTest.java
2014-06-08 22:54:21 -04:00
Ian Clelland
7e9fdb3555
Remove Ant custom build directories
2014-06-05 13:11:14 -04:00
Andrew Grieve
743541218f
CB-6860 Add activity_name and launcher_name to AndroidManifest.xml & strings.xml
2014-06-03 16:08:35 -04:00
Andrew Grieve
94de0a7ce2
Add a comment to custom_rules.xml saying why we move AndroidManifest.xml
2014-06-03 15:29:06 -04:00
Ningxin Hu
4a67dd2e28
Crosswalk runtime needs the two permissions to auto detect connection status.
...
See more details at: https://crosswalk-project.org/jira/browse/XWALK-1324
2014-04-29 22:50:11 -04:00
Michal Mocny
298cd9e065
Fix CB-6048: Set launchMode=singleTop so tapping app icon does not always restart app
2014-04-01 11:33:40 -04:00
Marcel Kinard
87285d94f7
CB-5908: add splascreen images to template
...
This will enable the default splashscreens to reside in the correct place
after creating a new project. Before only the default icons were present.
I copied these from cordova-app-hello-world.
2014-02-10 16:56:45 -05:00
Andrew Grieve
5b2a73e3eb
CB-5715 For CLI, hide assets/www and res/xml/config.xml by default
...
Add a helper file under assets to say how to re-show the hidden files.
Move the config.xml, www, merges entries to the root to be more discoverable.
2014-01-28 00:28:42 -05:00
Andrew Grieve
6f163a6ba5
CB-5793 ant builds: Rename AndroidManifest during -post-build to avoid Eclipse detecting ant-build/ as a project when importing
2014-01-25 21:58:28 -05:00
Andrew Grieve
1fe7bbbbc4
CB-5793 Make ant work-around work on windows.
2014-01-21 21:14:32 -05:00
Andrew Grieve
f83d7a7cd1
CB-5793 Add work-around for library references not working with custom output directory (ugh).
2014-01-21 15:09:15 -05:00
Andrew Grieve
fcae58d355
CB-4910 Fix CLI's eclipse project template not working on windows due to "*" in the virtual folder name.
2014-01-17 12:00:29 -05:00
Andrew Grieve
51abf5b0a6
CB-4910 Update CLI project template to point to config.xml at the root now that it's not in www/ by default.
2014-01-14 12:29:53 -05:00
Andrew Grieve
5e0479e414
CB-5715 Add Eclipse .project file to create template.
...
Adds resource filter to hide CordovaLib/, platform_www/, and cordova/.
Adds linked resources to root www/, merges/, config.xml
2014-01-02 16:40:48 -05:00
Andrew Grieve
942c77816d
CB-5447 Removed android:debuggable=“true” from project template.
2013-12-30 11:27:17 -05:00
charles bourasseau
e646a0840d
Add missing semicolon
2013-12-05 12:41:28 -05:00
Josh Soref
74ea6bf00a
Spelling fixes
2013-12-05 12:20:58 -05:00
Andrew Grieve
34bdef9c45
[CB-4817] Remove unused assets in project template.
2013-09-13 23:07:41 -04:00
Andrew Grieve
cad673f8cd
[CB-4817] Avoid generating unused files in create script
...
by using "android update project" instead of "android create project"
2013-09-13 22:49:15 -04:00
Joe Bowser
39d32bcb5b
CB-4620: Throwing this over the fence, since there is a problem actually in the wild here
2013-09-11 15:02:00 -07:00
Fil Maj
5ee178789f
Axed all permissions from template manifest except for INTERNET. Bumped minSDkVersion to 10.
2013-06-17 11:23:17 -07:00
Andrew Grieve
8a95ed8ee6
[CB-3307] Rename cordova-VERSION.js -> cordova.js
2013-05-08 09:52:56 -04:00
Joe Bowser
b42c918973
Prep for 2.6.0 final
2013-04-01 14:54:51 -07:00
Joe Bowser
31bc015cdd
Pre-2.6 prep
2013-03-21 10:35:09 -07:00
Joe Bowser
fb1455a17b
Preparing to tag 2.5.0
2013-02-26 13:49:47 -08:00
Joe Bowser
5cd17730b1
Tagging 2.5.0rc1. Updating files
2013-02-19 11:53:36 -08:00
Joe Bowser
db099e7722
Preparing for 2.4.0
2013-02-04 11:12:52 -08:00
Andrew Grieve
d29eb84010
Tagging 2.4.0rc2
2013-01-30 09:51:40 -05:00
Fil Maj
09035eb4c4
Setting template AndroidManifest values for version to 1.0 and code to 1.
2013-01-23 12:13:07 -08:00
Joe Bowser
dbfe12a993
Partial fix for CB-2269, we probably shoudln't call Config.init twice
2013-01-18 16:41:10 -08:00
Joe Bowser
679de40780
2.4.0rc1 updating
2013-01-18 15:33:38 -08:00
Braden Shepherdson
55074b925f
Added a comment to explain where the start page is getting set.
2013-01-11 10:24:03 -08:00
Braden Shepherdson
958424ce59
Add configurable start location to config.xml and template
...
Still possible to hardcode, there's a comment in the template showing
how that can be done.
2013-01-11 10:24:02 -08:00
Braden Shepherdson
d04fc289ac
Move config.xml parsing into its own Config class
...
Now the parsing happens very early in the bootstrap process, before
loadUrl() is called. This enables a future change to put the start page
in config.xml instead of hardcoding it.
2013-01-11 10:24:02 -08:00
Joe Bowser
7c069f14f8
Incrementing version to 2.3.0 final
2013-01-02 17:07:21 -08:00
Joe Bowser
6efeb1471c
Incremeting version to 2.3.0rc2
2012-12-10 14:26:38 -08:00
Simon MacDonald
7b3724972b
Tagging to 2.3.0rc1
2012-11-26 16:09:52 -05:00
Joe Bowser
e55327b064
Tagging the 2.2.0 release after this commit
2012-10-31 10:57:57 -07:00
Joe Bowser
bef0d47924
Starting incrementing the tag to RC2
2012-10-24 12:06:00 -07:00
Joe Bowser
d3ee322d7c
Updating Hello World
2012-10-15 14:19:46 -07:00
Joe Bowser
08dfb13dbf
Updating Android to 2.2.0rc1
2012-10-15 13:52:19 -07:00
Simon MacDonald
451688a12e
CB-1126: Splashscreen
2012-09-18 11:49:11 -04:00
Simon MacDonald
37b3e980dc
CB-1362: We should add android:hardwareAccelerated=true to the template manifest.xml
2012-09-17 22:09:51 -04:00