README: M3+M4 shipped status
Browse files
README.md
CHANGED
|
@@ -3,8 +3,9 @@
|
|
| 3 |
A sophisticated Android browser built on **GeckoView** with:
|
| 4 |
|
| 5 |
- **Real WebExtensions support** β the Firefox add-on model, powered by `WebExtensionController`
|
| 6 |
-
- **Built-in developer console** β in-page inspector (Eruda) +
|
| 7 |
-
-
|
|
|
|
| 8 |
|
| 9 |
## Status β milestones shipped
|
| 10 |
|
|
@@ -13,9 +14,9 @@ A sophisticated Android browser built on **GeckoView** with:
|
|
| 13 |
| M0 β GeckoView shell, tabs, dev-console extension, remote debugging | β
v0.1.0 |
|
| 14 |
| M1 β tab tray, session restore across restarts, VIEW-intent link handling | β
v0.2.0 |
|
| 15 |
| M2 β toolbar polish: loading bar, live URL sync, back/fwd states, history autocomplete | β
v0.3.0 |
|
| 16 |
-
| M3 β
|
| 17 |
-
| M4 β full native Console screen |
|
| 18 |
-
| M5 β AMO `.xpi` install flow with permission prompts |
|
| 19 |
| M6 β privacy, storage, downloads, reader mode, release build | planned |
|
| 20 |
|
| 21 |
## Build it
|
|
@@ -31,45 +32,44 @@ A sophisticated Android browser built on **GeckoView** with:
|
|
| 31 |
(`eruda-loader.js` also falls back to the CDN at runtime if the file is missing.)
|
| 32 |
5. Run βΆ on a device or emulator (minSdk 26 β required by GeckoView 147).
|
| 33 |
|
| 34 |
-
Prebuilt APKs: see [`apk/`](apk/) (e.g. `nova-browser-0.
|
| 35 |
|
| 36 |
## Dependency pins (verified, cloud-build tested)
|
| 37 |
|
| 38 |
| Dependency | Version |
|
| 39 |
|---|---|
|
| 40 |
| `org.mozilla.geckoview:geckoview` (stable) | `147.0.20260212191108` β [maven.mozilla.org](https://maven.mozilla.org/maven2/org/mozilla/geckoview/) |
|
| 41 |
-
| AGP | 8.9.1
|
| 42 |
| Gradle | 8.11.1 |
|
| 43 |
-
| Kotlin | 2.2.21 + built-in Compose compiler plugin
|
| 44 |
| Compose BOM | 2024.09.03 |
|
| 45 |
| minSdk / compileSdk | 26 / 36 |
|
| 46 |
|
| 47 |
-
To bump GeckoView, pick the newest version string from the Mozilla Maven index above and edit `app/build.gradle.kts`.
|
| 48 |
-
|
| 49 |
## Project layout
|
| 50 |
|
| 51 |
```
|
| 52 |
app/src/main/java/dev/nova/browser/
|
| 53 |
-
BrowserActivity.kt
|
| 54 |
-
TabManager.kt
|
| 55 |
-
|
| 56 |
-
TabTray.kt
|
|
|
|
|
|
|
| 57 |
app/src/main/assets/devconsole/
|
| 58 |
-
manifest.json
|
| 59 |
-
eruda-loader.js
|
| 60 |
-
background.js
|
| 61 |
```
|
| 62 |
|
| 63 |
-
## Dev console β the
|
| 64 |
-
|
| 65 |
-
1. **In-page inspector**: the bundled `devconsole@nova` extension injects [Eruda](https://github.com/liriliri/eruda) into every page (console, DOM, network). Console output is also forwarded over GeckoView **native messaging** (`sendNativeMessage("browser", ...)`) to the app's message delegates, which log it and feed the native Console panel.
|
| 66 |
-
2. **Remote debugging**: `runtime.settings.setRemoteDebuggingEnabled(true)` is set at startup β open `about:debugging` in desktop Firefox and connect over USB/Wi-Fi to attach full DevTools.
|
| 67 |
|
| 68 |
-
|
|
|
|
|
|
|
| 69 |
|
| 70 |
-
|
| 71 |
|
| 72 |
-
|
| 73 |
|
| 74 |
## License
|
| 75 |
|
|
|
|
| 3 |
A sophisticated Android browser built on **GeckoView** with:
|
| 4 |
|
| 5 |
- **Real WebExtensions support** β the Firefox add-on model, powered by `WebExtensionController`
|
| 6 |
+
- **Built-in developer console** β in-page inspector (Eruda) + native console screen + remote debugging from desktop Firefox DevTools
|
| 7 |
+
- **Add-ons manager** β list installed extensions, enable/disable per add-on
|
| 8 |
+
- Multi-tab engine, tab tray, session restore, loading bar, history autocomplete
|
| 9 |
|
| 10 |
## Status β milestones shipped
|
| 11 |
|
|
|
|
| 14 |
| M0 β GeckoView shell, tabs, dev-console extension, remote debugging | β
v0.1.0 |
|
| 15 |
| M1 β tab tray, session restore across restarts, VIEW-intent link handling | β
v0.2.0 |
|
| 16 |
| M2 β toolbar polish: loading bar, live URL sync, back/fwd states, history autocomplete | β
v0.3.0 |
|
| 17 |
+
| M3 β add-ons manager screen (list, enable/disable) | β
v0.4.0 |
|
| 18 |
+
| M4 β full native Console screen | β
v0.4.0 |
|
| 19 |
+
| M5 β AMO `.xpi` install flow with permission prompts | next |
|
| 20 |
| M6 β privacy, storage, downloads, reader mode, release build | planned |
|
| 21 |
|
| 22 |
## Build it
|
|
|
|
| 32 |
(`eruda-loader.js` also falls back to the CDN at runtime if the file is missing.)
|
| 33 |
5. Run βΆ on a device or emulator (minSdk 26 β required by GeckoView 147).
|
| 34 |
|
| 35 |
+
Prebuilt APKs: see [`apk/`](apk/) (e.g. `nova-browser-0.4.0-debug.apk`).
|
| 36 |
|
| 37 |
## Dependency pins (verified, cloud-build tested)
|
| 38 |
|
| 39 |
| Dependency | Version |
|
| 40 |
|---|---|
|
| 41 |
| `org.mozilla.geckoview:geckoview` (stable) | `147.0.20260212191108` β [maven.mozilla.org](https://maven.mozilla.org/maven2/org/mozilla/geckoview/) |
|
| 42 |
+
| AGP | 8.9.1 |
|
| 43 |
| Gradle | 8.11.1 |
|
| 44 |
+
| Kotlin | 2.2.21 + built-in Compose compiler plugin |
|
| 45 |
| Compose BOM | 2024.09.03 |
|
| 46 |
| minSdk / compileSdk | 26 / 36 |
|
| 47 |
|
|
|
|
|
|
|
| 48 |
## Project layout
|
| 49 |
|
| 50 |
```
|
| 51 |
app/src/main/java/dev/nova/browser/
|
| 52 |
+
BrowserActivity.kt β activity: runtime, UI shell, overlays, restore, intents
|
| 53 |
+
TabManager.kt β one GeckoSession per tab, session persistence/restore,
|
| 54 |
+
nav/loading state, history, extension registry
|
| 55 |
+
TabTray.kt β M1 full-screen tab tray
|
| 56 |
+
ExtensionManagerScreen.kt β M3 add-ons manager (list, enable/disable)
|
| 57 |
+
ConsoleScreen.kt β M4 full console screen
|
| 58 |
app/src/main/assets/devconsole/
|
| 59 |
+
manifest.json β privileged built-in extension (geckoViewAddons, nativeMessaging)
|
| 60 |
+
eruda-loader.js β content script: injects Eruda, bridges console logs
|
| 61 |
+
background.js β extension background script
|
| 62 |
```
|
| 63 |
|
| 64 |
+
## Dev console β the layers
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
+
1. **In-page inspector**: the bundled `devconsole@nova` extension injects [Eruda](https://github.com/liriliri/eruda) into every page (console, DOM, network).
|
| 67 |
+
2. **Native console screen**: console output is forwarded over GeckoView **native messaging** (`sendNativeMessage("browser", ...)`) and shown in the full-screen Console screen (newest first, clearable), with a 3-line preview in the main shell.
|
| 68 |
+
3. **Remote debugging**: `runtime.settings.setRemoteDebuggingEnabled(true)` β desktop Firefox DevTools attach via `about:debugging` over USB/Wi-Fi.
|
| 69 |
|
| 70 |
+
## Add-ons manager (M3)
|
| 71 |
|
| 72 |
+
Lists installed extensions from `WebExtensionController.list()` with name/version/description and enable/disable switches (`controller.enable/disable(ext, EnableSource.USER)`). Enabled state is tracked by Nova (no stable `isEnabled` accessor in current GV javadoc). AMO installs arrive in M5.
|
| 73 |
|
| 74 |
## License
|
| 75 |
|