Browser Platform

Running on the Browser Platform for a Quick Loop

The browser platform skips Gradle 19,597 and the install. cordova run browser prepares platforms/browser/www, serves it and opens your default browser, with a browser cordova.js that fires deviceready as a device does:

Serving BookNest through the browser platformShell
cordova run browser
Output
startPage = index.html
Static file server running @ http://localhost:8001/index.html
CTRL + C to shut down
304 /index.html
...
404 /cordova_plugins.js
200 /js/index.js (br)
...

Another server held the default port, 8000, so the CLI moved to 8001; --port=8080 picks one. The 404 for cordova_plugins.js is harmless while BookNest has no plugins.

BookNest served by cordova run browser, captured at phone width in Chrome
BookNest served by cordova run browser, captured at phone width in Chrome 1

Use this loop, with DevTools (F12), for layout, logic and data. It cannot test the WebView's quirks, native plugins or Android's back button, so check on the emulator before you commit.