Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #611

Open
wants to merge 316 commits into
base: android-service-take-2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
316 commits
Select commit Hold shift + click to select a range
132c143
Don't build multi-arch apks when --webview=system is used.
agrieve Dec 24, 2014
b23d75f
Delete fixEnv() from cca.js now that it's fully upstreamed!
agrieve Dec 24, 2014
b381a7f
Add cca build --android-minSdkVersion flag
agrieve Dec 24, 2014
59e2790
Don't include INTERNET permission in chrome.gcm plugin since it doesn…
agrieve Jan 2, 2015
a6d1467
chrome.gcm: Don't require GET_ACCOUNTS permission in newer Android ve…
agrieve Jan 2, 2015
9b85b4a
chrome.gcm: Add custom permission so that other apps can't snoop our …
agrieve Jan 2, 2015
c2c7114
Add callback parameters to `chrome.alarms.clear` and `clearAll` (fixe…
agrieve Jan 2, 2015
6c7989a
Don't execute inline scripts before non-inline ones that proceed them…
agrieve Jan 2, 2015
99aabf8
Allow adding --link to first run command so that plugins will be --li…
agrieve Jan 6, 2015
96d80da
Allow setting error.code as well as error.message for callbackWithErr…
agrieve Jan 6, 2015
2145c3a
Split Android permissions within plugin.xml into separate tags (fixes…
agrieve Jan 6, 2015
9b8fa2d
Add GET_ACCOUNTS permission to chrome.identiy (fixes #495)
agrieve Jan 6, 2015
987760a
chrome.identity: ios: Call failure callback when auth fails (fixes #498)
agrieve Jan 7, 2015
a4e2765
Change ChromeI18n.java from using okhttp's Base64 to Android's Base64
agrieve Jan 7, 2015
b947b85
chrome.identity: Allow passing scopes via details object (fixes #491)
agrieve Jan 7, 2015
0b28a5b
Pretty print `manifest.json` within `platforms/` directory
agrieve Jan 7, 2015
eda8eb9
Remove --copy-from=spec logic from cca, and add a dedicated dev-bin/c…
agrieve Jan 7, 2015
fdbf5d8
chrome.identity: Fix link hash in README
agrieve Jan 7, 2015
467eb61
Move chrome-apps-api-tests into a www/ subdirectory to split out the …
agrieve Jan 8, 2015
e5e530a
Update to latest version of cordova-android to pull in gradle changes
agrieve Jan 8, 2015
a8965bb
chrome.bluetooth: respect the characteristic's writeWithoutResponse p…
bpowers Jan 8, 2015
2c70ebe
Update create-spec.sh to support building from other paths
mmocny Jan 9, 2015
48d9f6a
Remove the cca symlink from root
mmocny Jan 9, 2015
7b64024
Add .fetch.json to gitignore
mmocny Jan 9, 2015
d549312
Make create-spec.sh work when invoked with absolute or relative paths
agrieve Jan 9, 2015
2e093f9
Delete framework-google-open-source plugin (moved to its own repo)
agrieve Jan 9, 2015
ad3caff
Delete framework-google-plus (moved to its own repo)
agrieve Jan 9, 2015
3757722
Add --ios and --android flags to create-spec.sh
agrieve Jan 9, 2015
b93e52d
Add support for --verbose to prePrepare
agrieve Jan 13, 2015
10aff9f
Fix compile errors on [email protected] (fixes #506)
agrieve Jan 13, 2015
e8e8f44
Merge pull request #500 from bpowers/_bluetooth
mmocny Jan 13, 2015
b27637a
Make chrome.bluetoothSocket js-module android only
mmocny Jan 13, 2015
9d64b33
chrome.bluetoothLowEnergy: keep track of isConnected locally
bpowers Jan 13, 2015
935ead6
Update to latest version of cordova-android to get all CSP changes
jpchase Jan 14, 2015
f676d52
Merge pull request #507 from bpowers/master
mmocny Jan 14, 2015
6ee0609
Enable CSP for Chrome Spec tests
jpchase Jan 15, 2015
9c2a5fb
Merge branch 'master' of github.com:MobileChromeApps/mobile-chrome-apps
jpchase Jan 15, 2015
d31e47a
chrome.runtime: Correctly handle missing manifest.json (Fixes #486)
jpchase Jan 16, 2015
680e07e
Fix ChromeSocketsTcpServer.java innerClass needlessly shadowing an en…
agrieve Jan 16, 2015
73b85bf
Change helpers.delayDeviceReadyUntil() and helpers.queueLifeCycleEvent()
agrieve Jan 16, 2015
a0615ea
Make all Event.fire()s equate to queueStartUpEvent calls.
agrieve Jan 16, 2015
05bddf8
Fix build signing settings to use new gradle environment variables
agrieve Jan 16, 2015
9a69643
chrome.runtime: fix getURL when running in Cordova (fixes #487)
jpchase Jan 16, 2015
fd8ac63
Ignore <!-- html --> when parsing main page (fixes #510)
agrieve Jan 21, 2015
fde5bc0
Update cordova-ios snapshot to fix exec() bridge <iframe> explosion bug
agrieve Jan 21, 2015
15598cf
Fix mutli apk builds
agrieve Jan 16, 2015
f00f2f5
Automatically install the bluetooth plugins
mmocny Jan 22, 2015
850472a
Reset ChromeSpec default webview to crosswalk
mmocny Jan 22, 2015
89b9e20
Update cordova-android to target android-21
agrieve Jan 26, 2015
8caf872
Delete google-play-services submodule (wasn't being used)
agrieve Jan 26, 2015
731205f
Update cordova-crosswalk-engine to working version
agrieve Jan 26, 2015
8460d5b
Continue with pushing even if ulimit fails (fixes #511)
agrieve Jan 27, 2015
cf58c6e
Update env var for cdvMinSdkVersion
agrieve Jan 27, 2015
6bd0d2b
Move setting of gradle properties from js to chrome-bootstrap gradle
agrieve Jan 27, 2015
6952c33
Updated plugin release notes and version numbers for release.
agrieve Jan 27, 2015
d569065
Update chrome.i18n plugin to work under CSP
jpchase Jan 27, 2015
e6d532e
Reset version of pushMessaging to 1.0.2-dev since 1.0.2 was never pub…
agrieve Jan 28, 2015
70a87c6
Added check-published-plugin.js for validating published plugins
agrieve Jan 28, 2015
57678f1
Update cordova-android & cordova-crosswalk-engine for CookieManager fix
agrieve Jan 28, 2015
c13d757
Rename crosswalk engine plugin ID to not have "apache" in it
agrieve Jan 28, 2015
808d39f
Make --link work for platforms. Required update of cordova-ios submodule
agrieve Jan 28, 2015
bf98dd1
Fix up missing newlines at eof
agrieve Jan 28, 2015
8565f11
Add a .gitignore to cordova-crosswalk-engine
agrieve Jan 28, 2015
ac10278
Remove gradle framework to unbreak older cca versions
agrieve Jan 28, 2015
fa1fcd1
Updated plugin release notes and version numbers for release.
agrieve Jan 28, 2015
a96df46
Create a new, bundled-with-repo plugin for adding in the cca.gradle file
agrieve Jan 28, 2015
f72a123
.gitignore change to cordova-crosswalk-engine
agrieve Jan 28, 2015
56e89c0
Added -dev suffix to plugin versions
agrieve Jan 28, 2015
4aa7644
Remove cordova/cordova-plugins from search path since it no longer ex…
agrieve Jan 29, 2015
2ca864f
Update cordova-android and cordova-crosswalk-engine with gradle changes
agrieve Jan 30, 2015
ad84772
Another cordova-android update since last one missed the gradle chang…
agrieve Jan 30, 2015
39fccd4
Add <engine> to cca-hooks-plugin (for gradleReference)
agrieve Jan 30, 2015
0300bee
Use .aar version of cordova-crosswalk-engine (and update to crosswalk…
agrieve Jan 30, 2015
3a2dd1b
Correct typo in error message
jpchase Jan 30, 2015
fb1e30c
Exclude chrome.notifications tests that are not supported on iOS
jpchase Jan 30, 2015
fcaac3b
Adding TI Sensor tag UUIDs
mmocny Jan 23, 2015
9c6661e
Auto remove org.apache.cordova.engine.crosswalk now that plugin id ch…
mmocny Feb 2, 2015
a2f86c4
Fix incorrect syntax in spec manifest.json
jpchase Feb 3, 2015
78fdf03
Formatting change to Publish.md
agrieve Feb 3, 2015
cc2566d
Remove android.support.v4 dependency from chrome.bluetooth (using @Nu…
agrieve Feb 3, 2015
ac282c2
Auto-add platform for "cca run PLATFORM" and "cca build PLATFORM" (cl…
agrieve Feb 4, 2015
e04ce3e
Revert crosswalk plugin to plugin_with_arm_binary branch to fix compile
agrieve Feb 4, 2015
61f4f28
chrome.bluetooth: Fix crash in multi-page apps from `unregisterReceiv…
agrieve Feb 4, 2015
3d5970d
Update cordova-crosswalk-engine to xwalk 11 and use .aar rather than …
agrieve Feb 4, 2015
7db6dfe
Update xwalk with .gitignore
agrieve Feb 4, 2015
4568fb7
Fix race conditions causing onLaunched not to fire
jpchase Feb 5, 2015
2e4866d
Generate unique ids for gcm test messages
jpchase Jan 28, 2015
c50e2b1
Refactor chrome.gcm to use messageQueue for native -> JS events
jpchase Nov 11, 2014
999454f
Make chrome.gcm Java 1.6 compatible
jpchase Nov 28, 2014
2e84717
Move newly added test to correct location
jpchase Jan 29, 2015
f9a5c2c
Refactor chrome.pushMessaging to work under CSP
jpchase Jan 30, 2015
75ae121
Update CSP policy for ChromeSpec tests
jpchase Feb 6, 2015
b1ff053
Adding new instructions for cloning mca
mmocny Feb 6, 2015
6ec3f23
Merge pull request #474 from oahziur/udp-multicast-paused
mmocny Feb 11, 2015
a1b7b81
Fix various jshint minor warnings
jpchase Feb 6, 2015
7e71ad0
MCA #519 Use explicit require of InAppBrowser
jpchase Feb 6, 2015
0ccdcfb
Fix incorrect client id in chrome.identity test
jpchase Feb 9, 2015
95329c7
MCA #519: Restore default window.open()
jpchase Feb 10, 2015
8da868e
Moving plugins out to their own repos
mmocny Feb 11, 2015
c9bd31d
Update README's for plugins to make links work
mmocny Feb 11, 2015
b0fd69d
Update URLs for plugins in our docs
mmocny Feb 11, 2015
be8ee37
Remove needless README
mmocny Feb 11, 2015
b51b1cd
Adding an update-notifier for cca, woot
mmocny Feb 12, 2015
100dd9f
Create mobile-chrome-apps-plugins dir
mmocny Feb 12, 2015
8821dcb
Minor cleanup of git-up.js
mmocny Feb 13, 2015
074ccc9
Use https: instead of git: for git-up.js
agrieve Mar 4, 2015
014100a
Update cordova-android, cordova-ios and cordova-crosswalk-engine to l…
agrieve Feb 25, 2015
6e9b17b
Fix lint errors
agrieve Mar 5, 2015
81c555e
Generate <icon> within config.xml rather than copy files directly (fi…
agrieve Mar 5, 2015
a837d66
Rename url-policy -> whitelist
agrieve Mar 5, 2015
6a1263b
Update cordova-android and whitelist plugin with minor tweaks
agrieve Mar 6, 2015
9115578
Add post-prepare processing to inject CSP `<meta>` tags
agrieve Mar 6, 2015
46e34dd
Pin major version of bootstrap, i18n, and navigation plugins
agrieve Mar 6, 2015
af5e233
Move createCspString into cca-manifest-logic
agrieve Mar 6, 2015
ae2786f
Add missing semicolon
agrieve Mar 6, 2015
e81afe5
Make last-week.sh list plugin changes as well
agrieve Mar 9, 2015
949715a
Add initial background-app plugin
agrieve Oct 31, 2014
98a4d4f
Change notifications tests to use background-app plugin.
jpchase Feb 26, 2015
07b6d6a
Correct delegation of onMessage to underlying activity
jpchase Nov 24, 2014
b56c262
Move native source files into src/android directory for consistency
jpchase Nov 26, 2014
8452b36
Add javascript event for switching background to foreground
jpchase Feb 26, 2015
2b62e73
Extract background event handling into reusable component (native only)
jpchase Feb 26, 2015
677fb88
Change chrome.system.storage to use component for background event ha…
jpchase Feb 26, 2015
0b70a9c
Auto-release message channels for plugins using background events
jpchase Feb 26, 2015
5701743
Add missing source file for background-app plugin
jpchase Dec 2, 2014
1bd3392
Tweak the response for delay messages in the gcm server
jpchase Dec 2, 2014
b893e8b
Add chrome.alarms manual tests for background events
jpchase Feb 26, 2015
1bdf658
Add onload=true to BackgroundPlugin
agrieve Dec 12, 2014
d47a8d4
Move newly added test to correct location
jpchase Feb 26, 2015
e4a499c
Start activity from background event similar to existing logic
jpchase Mar 12, 2015
20232ee
Update android / crosswalk repos
agrieve Mar 13, 2015
62d090f
Switch whitelist plugin to a submodule
agrieve Mar 13, 2015
b414c84
Switch whitelist ID to cordova-plugin-whitelist from reverse-DNS style
agrieve Mar 13, 2015
3a6d02b
Tweak CSP again. Update default template to contain comments
agrieve Mar 16, 2015
1e4f049
Add background-app to git-up.js
agrieve Mar 17, 2015
cd11b98
Delete nested copy of background-app (moved to own repo)
agrieve Mar 17, 2015
0be35de
Update cordova-android to pick up removed res/ and assets/
agrieve Mar 17, 2015
cc08934
Don't build project from create-spec.sh
agrieve Mar 17, 2015
ba3d666
Add check to injection of CSP tag
jpchase Mar 17, 2015
7da40b9
Releasing [email protected]
agrieve Mar 17, 2015
0da8899
Set version of cca-manifest-logic to 1.0.1-dev
agrieve Mar 17, 2015
20466b2
Bump version dependency of shelljs
agrieve Mar 17, 2015
1a7a8df
Update release-instructions.md for broken-out plugin repos
agrieve Mar 17, 2015
31ab721
Set version to 0.6.0-rc1
agrieve Mar 17, 2015
406b301
Minor tweak to release-instructions.md
agrieve Mar 17, 2015
b403457
Fix `cca push` for node v0.12 (fixes #527)
agrieve Mar 17, 2015
219e430
Update cordova-android to pick up i18n performance improvement via `h…
agrieve Mar 18, 2015
0ed3646
Make locales use "_locales" instead of "CCA_locales"
agrieve Mar 24, 2015
ad6ea14
Update pinned version of i18n plugin (for CCA_locales -> _locales)
agrieve Mar 24, 2015
6d6f821
Update cordova-plugin-whitelist to latest
jpchase Mar 24, 2015
8eeb336
Set version to 0.6.0
agrieve Mar 24, 2015
ae789e2
Set version to 0.6.1-dev and removed shrinkwrap.
agrieve Mar 24, 2015
c2e9411
Merge branch 'master' of https://github.com/MobileChromeApps/mobile-c…
agrieve Mar 24, 2015
988be9d
Update README.md
agrieve Mar 25, 2015
56c2cef
Update Crosswalk.md
agrieve Mar 25, 2015
90de215
Update faq.md
agrieve Mar 25, 2015
6e029b8
Update Installation.md
agrieve Mar 25, 2015
5ae1c7f
Update Develop.md
agrieve Mar 25, 2015
b404924
Update CordovaConsiderations.md
agrieve Mar 25, 2015
3f06b5f
Document manifest.json and manifest.mobile.json within NextSteps.md
agrieve Mar 25, 2015
67836fc
Add `--android-minSdkVersion=21` to Publish.md
agrieve Mar 25, 2015
4b60955
Mention `--webview` and `--android-minSdkVersion` in NextSteps.md
agrieve Mar 25, 2015
16a5fa1
Merge branch 'master' of https://github.com/MobileChromeApps/mobile-c…
agrieve Mar 25, 2015
ce573c6
Update cordova-crosswalk-engine to with changed ID (cordova-crosswalk…
agrieve Mar 25, 2015
975d4b4
Don't set android:theme=translucent anymore (#322)
agrieve Mar 27, 2015
0a0a0de
Remove reference to deleted plugin repo (syncFileSystem)
jpchase Mar 30, 2015
ba18166
Add chrome.usb plugin to manifest logic, and add tests for chrome.usb
joth76 Mar 30, 2015
3dbbb26
Fix #540: Improve upgrade prompts
mmocny Apr 2, 2015
342bb7f
Remove mapping for obsolete syncFileSystem plugin
jpchase Apr 5, 2015
9fa1b64
Fix JSHint warnings
jpchase Mar 27, 2015
ebc25b8
Remove plugin tests moved to appropriate plugin repos
jpchase Apr 5, 2015
8c37ac0
Remove usb plugin tests moved to plugin repo
jpchase Apr 5, 2015
d6bace5
Update styles to match mobilespec
jpchase Apr 6, 2015
075c122
Update creation of ChromeSpec for new-style tests
jpchase Apr 9, 2015
1529d70
Remove plugin tests moved to appropriate plugin repos
jpchase Apr 10, 2015
7e572a7
Add dev script to show status for all plugin repos
jpchase Apr 10, 2015
c85d267
Remove page load tests moved to bootstrap plugin repo
jpchase Apr 13, 2015
685542f
Use Cordova test framework directly
jpchase Apr 13, 2015
ab7636e
Remove obsolete assets
jpchase Apr 13, 2015
471417d
Remove obsolete test code
jpchase Apr 13, 2015
edf7757
Remove obsolete permission from ChromeSpec
jpchase Apr 17, 2015
e424934
Use npm plugin id for cordova test framework in ChromeSpec
jpchase Apr 17, 2015
826685c
Added icon76.png to example complete manifest.json
tswast Apr 19, 2015
1825234
Merge pull request #559 from tswast/patch-1
agrieve Apr 20, 2015
27c3a5e
Update cordova-android to 4.0.0 release!
agrieve Apr 21, 2015
838dbdf
Bump crosswalk plugin to 1.1.0
agrieve Apr 21, 2015
a84bf74
Bump crosswalk plugin to 1.2.0
agrieve Apr 22, 2015
53eb665
Allow setting "webview": "crosswalk@version"
agrieve Apr 23, 2015
30a1033
Bump cordova dependency to 5.0.0. Unbundle whitelist & crosswalk plugins
agrieve Apr 23, 2015
95d19e8
Update cca to use NPM plugin ids
jpchase Apr 28, 2015
e424175
Remove obsolete setup for multiple apks
jpchase Apr 28, 2015
2213d26
Remove obsolete plugin from defaults
jpchase Apr 29, 2015
efe4b6e
Add usb & test-framework to git-up.js
agrieve Apr 28, 2015
ce71bc9
Update plugin IDs of polyfills and google.payments plugins
agrieve Apr 29, 2015
22075d6
Delete fileChooser plugin (was folded into chrome.fileSystem)
agrieve Apr 29, 2015
7fed16c
Don't warn about usbDevices being an unknown permission
agrieve Apr 29, 2015
352bee1
Add polyfills & payments repos to git-up.js
agrieve Apr 30, 2015
0e2deba
Delete copies of polyfill & payment plugins now that they have dedica…
agrieve Apr 30, 2015
74acecc
Update to new plugin names in pre-prepare and templates/config.xml
agrieve Apr 30, 2015
46f72aa
Update release-instructions.md now that plugins are on npm
agrieve Apr 30, 2015
21d2da1
Pin MAJOR of crosswalk plugin
agrieve Apr 30, 2015
feed2e0
Remove unneeded word in Publish.md
bbigras May 3, 2015
1ae6a49
Merge pull request #565 from brunoqc/patch-1
mmocny May 3, 2015
bdbc7cb
Releasing [email protected]
agrieve May 5, 2015
3cf5559
Set version of cca-manifest-logic to 1.1.1-dev
agrieve May 5, 2015
55f7420
Update notifier and crypto-js module deps
agrieve May 5, 2015
fe1f8d2
Make background-plugin a default plugin
agrieve May 5, 2015
a3a1285
Releasing [email protected]
agrieve May 5, 2015
a1f0ab3
Set version of cca-manifest-logic to 1.1.2-dev
agrieve May 5, 2015
d845af2
Set version to 0.7.0
agrieve May 5, 2015
120c491
Set version to 0.7.1-dev and removed shrinkwrap.
agrieve May 5, 2015
89c49c2
Update to work when default shell is not bash
lex148 Jun 22, 2015
2bc5eaa
Merge pull request #579 from lex148/master
agrieve Jun 22, 2015
f96f153
Pin down whitelist plugin version
lrascao Jun 23, 2015
8828185
Merge pull request #580 from lrascao/fix/use_legacy_whitelist_plugin
agrieve Jun 26, 2015
fd45e59
Releasing [email protected]
agrieve Jun 26, 2015
04f9cc2
Set version of cca-manifest-logic to 1.1.3-dev
agrieve Jun 26, 2015
c3c2a1b
Add cordova-plugin-google-sign-in-ios to git-up.js
agrieve Jun 26, 2015
99d0f1e
Set version to 0.7.1
agrieve Jun 26, 2015
1bc20d2
Set version to 0.7.2-dev and removed shrinkwrap.
agrieve Jun 26, 2015
5f8ef3b
Add gopher to default CSP
agrieve Jul 27, 2015
4a35945
Releasing [email protected]
agrieve Jul 27, 2015
b3c6435
Set version of cca-manifest-logic to 0.7.2
agrieve Jul 27, 2015
b578101
Set version to 0.7.2
agrieve Jul 27, 2015
de50fd0
Set version to 0.7.3-dev and removed shrinkwrap.
agrieve Jul 27, 2015
a846802
Set version to 0.7.3
agrieve Jul 27, 2015
d1d6a52
Set version to 0.7.4-dev and removed shrinkwrap.
agrieve Jul 27, 2015
6fecc3c
Add blob: to default CSP (fixes #589)
agrieve Aug 6, 2015
8b1f281
Releasing [email protected]
agrieve Aug 6, 2015
a075d07
Set version of cca-manifest-logic to 1.1.5-dev
agrieve Aug 6, 2015
3781f65
Set version to 0.7.4
agrieve Aug 6, 2015
7a7984d
Add back .gitignore
agrieve Aug 6, 2015
bf10c30
Set version to 0.7.5-dev and removed shrinkwrap.
agrieve Aug 6, 2015
3aaa46a
Update README.md to say the project is not getting any new features
agrieve Aug 10, 2015
e3c0262
Add chrome.proxy to cca-manifest-logic
agrieve Nov 10, 2015
01bdf52
Releasing [email protected]
agrieve Nov 10, 2015
6196f3a
Set version of cca-manifest-logic to 1.1.6-dev
agrieve Nov 10, 2015
9b65acc
Update dependencies
agrieve Nov 10, 2015
bc05fc6
Set version to 0.8.0-rc1
agrieve Nov 10, 2015
c16404f
Update release process to work around newer npm not packing node_modules
agrieve Nov 11, 2015
355f7c7
Set version to 0.8.0-rc2
agrieve Nov 11, 2015
bea3b76
Fix typo in create-tgz.sh script
agrieve Nov 11, 2015
727a04a
Set version to 0.8.0-rc3
agrieve Nov 11, 2015
38ef525
Set version to 0.8.0
agrieve Nov 11, 2015
effe838
Set version to 0.8.1-dev and removed shrinkwrap.
agrieve Nov 11, 2015
7e7838b
Update APIStatus of syncFileSystem to "unfeasible"
agrieve Nov 12, 2015
fe362ec
Remove debugging console.log
agrieve Nov 17, 2015
617ac93
Set version to 0.8.1
agrieve Nov 17, 2015
0ec9dc2
Set version to 0.8.2-dev and removed shrinkwrap.
agrieve Nov 17, 2015
ab60c26
Mention setting the xwalk version via "webview": "crosswalk@ver"
agrieve Nov 27, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.DS_Store
**/node_modules
/docs/generator/chrome_apps_on_mobile.html
*.pyc
/cca-manifest-logic/node_modules/
/node_modules/
/ChromeSpec/
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@
[submodule "cordova/cordova-ios"]
path = cordova/cordova-ios
url = https://git-wip-us.apache.org/repos/asf/cordova-ios.git
[submodule "cordova/cordova-crosswalk-engine"]
path = cordova/cordova-crosswalk-engine
url = https://github.com/MobileChromeApps/cordova-crosswalk-engine/
24 changes: 15 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Create Chrome Apps for Mobile Using Apache Cordova
_**The Chrome Apps for Mobile toolchain is in developer preview. We welcome your feedback on the [Github issue tracker](https://github.com/MobileChromeApps/mobile-chrome-apps/issues), the [Chrome Apps developer forum](http://groups.google.com/a/chromium.org/group/chromium-apps/topics), [Stack Overflow](http://stackoverflow.com/questions/tagged/google-chrome-app), and our [G+ Developers page](https://plus.google.com/+GoogleChromeDevelopers/).**_
The Chrome Apps for Mobile Toolchain _**is no longer being actively developed**_. We intend to keep it functional, but do not intend on adding any new features.

![A Chrome App running on both desktop and mobile](docs/images/todomvc-chromebook.png)

Expand All @@ -15,16 +15,16 @@ For an overview and demo of hybrid development, Chrome Apps for Mobile, and our

![Using CDE, cca, and CADT to develop Chrome Apps for Mobile](docs/images/cde-cadt-diagram.png)

### [The `cca` Command Line Tool](https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/Installation.md#install-the-cca-command-line-tool)

`cca` provides all the functionality you need to develop and package Chrome Apps for Mobile from the command line. Use it with Chrome App Developer Tool (below) to rapidly iterate on your code: live deploy allows you to instantly see your Chrome App running on a connected mobile device. When you are ready to publish your Chrome App for Mobile to the Apple App Store and Google Play Store, use `cca` to bundle up your Chrome App into the proper mobile packages.

### [Chrome App Developer Tool for Mobile (CADT)](https://github.com/MobileChromeApps/chrome-app-developer-tool/)

CADT is an app for your mobile development device that makes it quick and easy to see your code in action. It provides the Cordova framework of Chrome Apps for Mobile so you can test your code by simply pushing your Chrome App assets to your mobile device (made easy with our tools), which is must faster than packaging up the entire mobile app. This is called **live deploy**.

With CADT running on your mobile device, live deploy can be initiated from your development computer with either Chrome Dev Editor or the `cca` command line tool, allowing you to instantly preview the Chrome App you're editing, running right on Android or iOS. When you make a change to the code in your editor, you're a quick push away from seeing it straight on your device.

### [The `cca` Command Line Tool](https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/Installation.md#install-the-cca-command-line-tool)

`cca` provides all the functionality you need to develop and package Chrome Apps for Mobile from the command line. Use it with CADT to rapidly iterate on your code: live deploy allows you to instantly see your Chrome App running on a connected mobile device. When you are ready to publish your Chrome App for Mobile to the Apple App Store and Google Play Store, use `cca` to bundle up your Chrome App into the proper mobile packages.

### [Chrome Dev Editor (CDE)](https://github.com/dart-lang/chromedeveditor)

CDE is an IDE built specifically for Chrome Apps. Use it with CADT for live deploy.
Expand All @@ -45,13 +45,19 @@ Try out Chrome Apps for Mobile by following these steps:

It's also a good idea to go through our [codelab](https://github.com/MobileChromeApps/workshop-cca-eh), where you will learn to use `chrome.gcm` and `chrome.notifications` to build a simple chat app.

## Notes and Resources
## Things to Know

* The Chrome Apps for Mobile project is built on top of [Apache Cordova](http://cordova.apache.org), the open source mobile development framework for building mobile apps with native capabilities using HTML, CSS and JavaScript.

* `cca` projects *are* Cordova projects.

* By default, Chrome Apps built with `cca` use [Crosswalk](http://crosswalk-project.org/), ([advantages and tradeoffs](docs/Crosswalk.md)).

* The Chrome Apps for Mobile project is built on top of [Apache Cordova](http://cordova.apache.org), the open source mobile development framework for building mobile apps with native capabilities using HTML, CSS and JavaScript. By default, Chrome Apps for Mobile leverage an embeddable Chromium WebView provided by the [Crosswalk](http://crosswalk-project.org/) project by default, which has both [advantages and some tradeoffs](docs/Crosswalk.md).
* Most Cordova plugins that provide `chrome.*` APIs work with regular Cordova projects.

* There are a few special considerations that you should keep in mind when developing with Cordova. We've listed them in the [considerations section](https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/CordovaConsiderations.md).
* There is a [List of Chrome App APIs](https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/APIsAndLibraries.md) that are supported on mobile.

* To view which Chrome APIs and other libraries are supported on mobile, visit the [APIs and Libraries page](https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/APIsAndLibraries.md).
* For even more, see the [FAQ](https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/faq.md).

## Let's get started

Expand Down
65 changes: 65 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,71 @@ For detailed release notes for plugins, refer to each plugin's `README.md`.

For Android / iOS detailed release notes, refer to `RELEASENOTES.md` with `cordova/cordova-android` and `cordova/cordova-ios`

### v0.8.0 (Nov 10, 2015)
* Upgrade to [email protected] (fixes errors with newer versions of npm / nodejs)
* Upgrade cordova-android to v5.0.0 (support for Marshmallow)
* Upgrade cordova-ios to v3.9.2
* Adds experimental support for `chrome.proxy` permission on Android

### v0.7.4 (Aug 6, 2015)
* Add blob: to default CSP (fixes #589)

### v0.7.3 (Jul 27, 2015)
* Fixed 0.7.2 release being broken

### v0.7.2 (Jul 27, 2015)
* Switch from chrome-extension: to gopher: to fix apps being broken on latest Andrew WebView (http://crbug.com/513352)

### v0.7.1 (June 26, 2015)
* Pin cordova-plugin-whitelist to v1.0.0 to avoid iOS breakage
* Fix cca push on OS X when shell is not bash

### v0.7.0 (May 05, 2015)
* Big! Rewrite of `cordova-plugin-background-app` so that `android:theme=translucent` is no longer needed (#322)
* Add support for `chrome.usb`
* All plugins are now hosted on npm
* Update crosswalk plugin to 1.2.0 (Crosswalk 13)
* Allow setting "webview": "crosswalk@version"
* Update notifier and crypto-js module deps
* Update to official cordova-android to 4.0.0 release!
* Android: CB-8834 Don't fail to install on VERSION_DOWNGRADE
* Android: CB-8829 Set targetSdk to 22

### v0.6.0 (Mar 17, 2015)
* Updated cordova-android to use latest 4.0.0-dev version
* Updated cordova-ios to 3.8.0 (Fixes `exec()` bridge `<iframe>` explosion bug)
* Updated Crosswalk to version 11
* Android now sets target-sdk=21 (Lollipop)
* Content-Security-Policy now works and enabled by default (can be disabled though)
* `cca` is now smarter about not adding iOS when building for Android (and vice-versa)
* Pin major version of bootstrap, i18n, and navigation plugins (`cca` will no longer break when plugins are updated)
* Generate `<icon>` within `config.xml` rather than copy files directly (Fixes iPhone 6+ issues)
* Android builds now work the same when built via Android Studio vs. command-line
* No longer rename `_locales` -> `CCA_locales`
* Ignore `<!-- html -->` when parsing main page (fixes #510)
* Add `cca build --android-minSdkVersion` flag
* Add `cca run --list` to list available deploy targets
* Add `cca run --link` to link rather than copy native source files (useful when developing plugins)
* `cca push` now works on node 0.12
* Don't build multi-arch apks when `--webview=system` is used.
* Added "new version of cca available" logic via `update-notifier` module
* New publishing instructions on how to use Crosswalk for pre-L Android, and system webview for L+

### 0.5.1 (Dec 16, 2014)
* Fix #412 #448 Warn when adding plugins explicitly when you need a manifest permission
* Fix #455 Support setting androidTheme in manifest.mobile
* Fix HTMLImports not working with imports polyfill (#450)
* Android: Look for Android SDK in Android Studio 1.0's default location
* Android: CB-7881 Android tooling shouldn't lock application directory
* Android: CB-3679 Move splashscreen logic into splashscreen plugin
* Android: CB-8143 Use the correct Android Gradle plugin for the installed Gradle version
* Android: Revert Gradle distributionUrlRegex cleanup.
* Android: CB-8119 Restart adb when we detect it's hung
* Android: CB-8112 Turn off mediaPlaybackRequiresUserGesture
* Android: CB-6153 Add a preference for controlling hardware button audio stream (DefaultVolumeStream)
* Android: CB-8081 Allow gradle builds to use Java 6 instead of requiring 7
* Android: CB-8031 Fix race condition that shows as ConcurrentModificationException

### v0.5.0 (Nov 18, 2014)
* Bumping cordova-ios version to 3.7.0
* Update cordova-android and cordova-crosswalk-engine submodules
Expand Down
33 changes: 32 additions & 1 deletion cca-manifest-logic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,38 @@ and published when publishing cca.

## Using from chrome-app-developer-tool

When developing changes, npm link cca-manifest-logic, install CADT and then run `gulp`
When developing changes, npm link cca-manifest-logic, install CADT and then run gulp`
whenever files change. When happy with change, publish a new version to npm so that
chrome-app-deleloper-tool always works without needing to `npm link` in this module.

# Release Notes

# 1.1.5 (Nov 10, 2015)
- Add chrome.proxy to list of plugins

# 1.1.4 (Aug 6, 2015)
- Add blob: to default CSP (fixes #589)

# 1.1.3 (July 27, 2015)
- Add gopher: to default Content-Security-Policy (http://crbug.com/513352)

# 1.1.2 (June 26, 2015)
* Pin cordova-plugin-whitelist to v1.0.0 to avoid breakage in following version

# 1.1.1 (May 4, 2015)
* Add background-app to default plugin list

# 1.1.0 (May 4, 2015)
* Update plugin IDs of polyfills and google.payments plugins
* Remove obsolete plugin from defaults
* Use NPM plugin ids
* Allow setting "webview": "crosswalk@version"
* Remove mapping for obsolete syncFileSystem plugin
* Add chrome.usb plugin to manifest logic

# 1.0.0 (March 17, 2015)
* Added `createCspString` to `analyse-manifest`
* Generate `<icon>` within `config.xml` rather than copy files directly (fixes #404, fixes #403)
* Depend on `cordova-plugin-whitelist`
* Rename crosswalk engine plugin ID to not have "apache" in it
* Automatically install the bluetooth plugins
2 changes: 1 addition & 1 deletion cca-manifest-logic/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cca-manifest-logic",
"author": "The Chrome Team",
"version": "0.0.5",
"version": "1.1.6-dev",
"description": "Shared logic between cca and chrome-app-developer-tool",
"main": "main.js",
"license": "Apache version 2.0",
Expand Down
66 changes: 63 additions & 3 deletions cca-manifest-logic/src/analyse-manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ function mapPermissionsToPlugins(knownPermissionsMap, requestedPermissionsList)
ret.toUninstall = ret.toUninstall.concat(knownPermissionsMap[permission]);
});
// Final step, bit of a hack, remove duplicate plugins from toUninstall list that exist in toInstall
// e.g. syncFS depends on identity. So, even if identity isn't in your manifest, don't uninstal it if you have syncFS
// The way we handle this is to add org.chromium.identity to the list of plugins to install for the syncFS permission
// e.g. syncFS depends on identity. So, even if identity isn't in your manifest, don't uninstall it if you have syncFS
// The way we handle this is to add identity to the list of plugins to install for the syncFS permission
// so, the last thing to do is subtract the plugins to install from the plugins to not install, since there can be overlap.
ret.toUninstall = ret.toUninstall.filter(function(plugin) {
return ret.toInstall.indexOf(plugin) == -1;
Expand Down Expand Up @@ -93,7 +93,10 @@ module.exports = function analyseManifest(manifest, options) {
});

var pluginsForPermissions = mapPermissionsToPlugins(PLUGIN_MAP, ret.permissions);
var pluginsForEngines = mapPermissionsToPlugins(ENGINE_MAP, [options.webview || manifest.webview || "crosswalk"]);
var engineSpec = options.webview || manifest.webview || "crosswalk";
ret.engineName = engineSpec.replace(/@.*/, '');
ret.engineVer = engineSpec.slice(ret.engineName.length + 1);
var pluginsForEngines = mapPermissionsToPlugins(ENGINE_MAP, [ret.engineName]);
var pluginsForSockets = mapPermissionsToPlugins(SOCKETS_MAP, Object.keys(manifest.sockets || {}));

ret.pluginsToBeInstalled = [].concat.apply([], [
Expand All @@ -110,6 +113,35 @@ module.exports = function analyseManifest(manifest, options) {
]);
ret.pluginsNotRecognized = pluginsForPermissions.unknown.concat(pluginsForSockets.unknown);

// Special case for bluetooth, since it uses boolean flags and not just the existance of keys.
if (manifest.bluetooth && typeof manifest.bluetooth === 'object') {
ret.pluginsToBeInstalled.push('cordova-plugin-chrome-apps-bluetooth');
(manifest.bluetooth.low_energy ? ret.pluginsToBeInstalled : ret.pluginsToBeNotInstalled).push('cordova-plugin-chrome-apps-bluetoothlowenergy');
(manifest.bluetooth.socket ? ret.pluginsToBeInstalled : ret.pluginsToBeNotInstalled).push('cordova-plugin-chrome-apps-bluetoothsocket');
} else {
ret.pluginsToBeNotInstalled = ret.pluginsToBeNotInstalled.concat([
'cordova-plugin-chrome-apps-bluetoothlowenergy',
'cordova-plugin-chrome-apps-bluetoothsocket',
'cordova-plugin-chrome-apps-bluetooth'
]);
}

// This next filter seems needless, but it happens when we still want plugins installed for which there are missing permissions, e.g. chrome.storage
ret.pluginsToBeNotInstalled = ret.pluginsToBeNotInstalled.filter(function(plugin) {
return ret.pluginsToBeInstalled.indexOf(plugin) == -1;
});

// Take only unique values
ret.pluginsToBeInstalled = ret.pluginsToBeInstalled.sort().filter(function(value, index, self) {
return self.indexOf(value) === index;
});
ret.pluginsToBeNotInstalled = ret.pluginsToBeNotInstalled.sort().filter(function(value, index, self) {
return self.indexOf(value) === index;
});
ret.pluginsNotRecognized = ret.pluginsNotRecognized.sort().filter(function(value, index, self) {
return self.indexOf(value) === index;
});

// This should happen rarely
pluginsForEngines.unknown.forEach(function(unknownEngine) {
console.warn('Engine not supported by cca: ' + unknownEngine + ' (skipping)');
Expand All @@ -123,3 +155,31 @@ module.exports = function analyseManifest(manifest, options) {

return ret;
};

function createCspString(manifest, platform) {
// Allow apps to define their own CSP.
if (manifest.csp) {
return manifest.csp;
}
var defaultSrc = 'file: data: blob: chrome-extension: gopher:';
if (platform == 'ios') {
defaultSrc += ' gap:';
} else if (platform == 'android') {
// Required for TalkBack
defaultSrc += ' https://ssl.gstatic.com';
}
if (manifest.cspUnsafeEval) {
defaultSrc += " 'unsafe-eval'";
}
if (manifest.cspUnsafeInline) {
defaultSrc += " 'unsafe-inline'";
}
var ret = 'default-src ' + defaultSrc + ';';
ret += ' connect-src *; media-src *;';
if (!manifest.cspUnsafeInline) {
ret += ' style-src ' + defaultSrc + " 'unsafe-inline';";
}
return ret;
}
module.exports.createCspString = createCspString;

Loading
Loading