The Chrome App Developer Tool for Mobile is a distribution of Apache Cordova App Harness that can run Chrome Apps. It is based on the plugins from the cca toolkit.
- Enable USB debugging on your device (follow step 2 here).
- Download an APK from here.
- Run
adb install ChromeAppDeveloperTool-debug.apk
(of course, navigating to the appropriate directory first).
- Alternatively, download the
.apk
using your device's browser.
-
Clone this repository:
git clone https://github.com/MobileChromeApps/chrome-app-developer-tool.git
-
Create a Chrome App Developer Tool project using
createproject.sh
. For instance:./createproject.sh ChromeAppDevTool
You can get more info using ./createproject.sh --help
.
-
Run the Chrome App Developer Tool on a device or simulator.
-
Navigate to your app directory and deploy using the
cca push --target=IP_ADDRESS
command.Note: You can find more on cca here.
That's it—you're up and running!
- Use
cca push --watch
to automatically refresh the app when a file is updated. - Minimize the app using a two-finger double-tap.
- Deploying via USB:
- Android: Use
adb forward tcp:2424 tcp:2424
, and then runcca push
- iOS: Use
python tcprelay.py 2424:2424
(available here), and then runcca push
- Android: Use
Suggestions are always welcome! :)
- Applying app settings (DisallowOverscroll, etc)
- Applying app splashscreen
- Applying app's whitelist
- Inject a JSConsole script tag
- Initiate a weinre session
- Suggestions welcome! :)
- Make createproject.sh delete output directory and rm andrew-create-project.sh
- Rename buildharness.sh -> build-android-release.sh
- Make createproject.sh work even when no dependencies are set up ahead of time
- createproject.sh: include ios by default when host=Darwin
- Remove xwalk as a package.json dep. Use the version within cca instead
- Update list of preloaded plugins
- Install plugins from registry when needed
- Fix exception on second launch and stop using plugin whitelist
- Fix wrong path in createproject.sh (failed every time)
- Add ArrayBuffer.slice polyfill for Android pre-KK (#22)
- Update link to Chrome Dev Editor
- Fix line-breaking CSS in About page
- Add chrome.alarms and org.apache.cordova.media plugins (mistakenly left out)
- Fix Android back button always quitting the app (now does what you'd expect)
- App now loads only the plugins that an app uses (instead of all installed plugins)
- Initial app push is now much faster for apps with lots of files
- First cut at "Details" and "About" pages
- Deleted notification bubble
- Fix apps not launching when you: push App A, then push App B, then push App A again
- Fix crash on launch-after-backbutton (#13)
- Speed improvements to initial app push (zippush endpoint)
- Implemented details & about page
- Minor UI tweaks
- New name: Chrome App Developer Tool for Mobile
- Default WebView for Chrome Apps is now using Crosswalk, currently based on Chrome/36.0.1985.18
- Changed the Android Launch Mode to singleTop so that clicking icon from launcher doesn't restart the app unnecessarily
- Few updates to the set of plugins we bundle by default
- Fix "failed to start server" when you close the app and start it again
- Displayed IP address now updates when your device's IP changes
- Some minor UI updates
- Now bundling all core Cordova plugins
- Use relative times for "last updated"
- Deleted in-app menu in favour of showing the main screen on double two-finger tap
- UI Overhaul
- Harness server now written in JS using chrome.socket
- Supports incremental updates to apps for faster pushes
- Server now works on iOS
- Use two-finger double-tap to summon menu instead of three-finger swipe