Offlin33er commited on
Commit
7a5e986
·
verified ·
1 Parent(s): d0342fe

README: minSdk 26, AGP/Gradle bumps from cloud build findings

Browse files
Files changed (1) hide show
  1. README.md +10 -7
README.md CHANGED
@@ -8,25 +8,27 @@ A sophisticated Android browser built on **GeckoView** with:
8
 
9
  ## Build it
10
 
11
- 1. Install [Android Studio](https://developer.android.com/studio) (Koala 2024.1 or newer).
12
  2. Clone this repo (or download as zip): https://huggingface.co/datasets/Offlin33er/nova-browser
13
- 3. Open the folder in Android Studio and let it sync (Gradle 8.x, AGP 8.5.2, Kotlin 1.9.24).
14
  4. Download the inspector bundle once:
15
  ```
16
  curl -L -o app/src/main/assets/devconsole/eruda.min.js \
17
  https://cdn.jsdelivr.net/npm/eruda/eruda.min.js
18
  ```
19
  (`eruda-loader.js` also falls back to the CDN at runtime if the file is missing.)
20
- 5. Run â–¶ on a device or emulator (minSdk 24).
21
 
22
- ## Dependency pins (verified)
23
 
24
  | Dependency | Version |
25
  |---|---|
26
- | `org.mozilla.geckoview:geckoview` (stable) | `147.0.20260212191108` — confirmed on [maven.mozilla.org](https://maven.mozilla.org/maven2/org/mozilla/geckoview/) |
27
- | AGP | 8.5.2 |
 
28
  | Kotlin | 1.9.24 (Compose compiler 1.5.14) |
29
  | Compose BOM | 2024.09.03 |
 
30
 
31
  To bump GeckoView, pick the newest version string from the Mozilla Maven index above and edit `app/build.gradle.kts`.
32
 
@@ -39,11 +41,12 @@ app/src/main/java/dev/nova/browser/
39
  app/src/main/assets/devconsole/
40
  manifest.json — privileged built-in extension (geckoViewAddons, nativeMessaging)
41
  eruda-loader.js — content script: injects Eruda, bridges console logs
 
42
  ```
43
 
44
  ## Dev console — the two layers
45
 
46
- 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 `NovaMessageDelegate` in the app, which logs it and feeds the native Console screen.
47
  2. **Remote debugging**: `runtime.settings.setDebugSupportEnabled(true)` is set at startup — open `about:debugging` in desktop Firefox and connect over USB/Wi-Fi to attach full DevTools.
48
 
49
  ## Roadmap
 
8
 
9
  ## Build it
10
 
11
+ 1. Install [Android Studio](https://developer.android.com/studio) (2024.2 or newer).
12
  2. Clone this repo (or download as zip): https://huggingface.co/datasets/Offlin33er/nova-browser
13
+ 3. Open the folder in Android Studio and let it sync.
14
  4. Download the inspector bundle once:
15
  ```
16
  curl -L -o app/src/main/assets/devconsole/eruda.min.js \
17
  https://cdn.jsdelivr.net/npm/eruda/eruda.min.js
18
  ```
19
  (`eruda-loader.js` also falls back to the CDN at runtime if the file is missing.)
20
+ 5. Run ▶ on a device or emulator (minSdk 26 — required by GeckoView 147).
21
 
22
+ ## Dependency pins (verified, cloud-build tested)
23
 
24
  | Dependency | Version |
25
  |---|---|
26
+ | `org.mozilla.geckoview:geckoview` (stable) | `147.0.20260212191108` — [maven.mozilla.org](https://maven.mozilla.org/maven2/org/mozilla/geckoview/) |
27
+ | AGP | 8.9.1 (bumped from 8.5.2 — required by androidx.core 1.17.0 transitive) |
28
+ | Gradle | 8.11.1 |
29
  | Kotlin | 1.9.24 (Compose compiler 1.5.14) |
30
  | Compose BOM | 2024.09.03 |
31
+ | minSdk / compileSdk | 26 / 36 |
32
 
33
  To bump GeckoView, pick the newest version string from the Mozilla Maven index above and edit `app/build.gradle.kts`.
34
 
 
41
  app/src/main/assets/devconsole/
42
  manifest.json — privileged built-in extension (geckoViewAddons, nativeMessaging)
43
  eruda-loader.js — content script: injects Eruda, bridges console logs
44
+ background.js — extension background script
45
  ```
46
 
47
  ## Dev console — the two layers
48
 
49
+ 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.
50
  2. **Remote debugging**: `runtime.settings.setDebugSupportEnabled(true)` is set at startup — open `about:debugging` in desktop Firefox and connect over USB/Wi-Fi to attach full DevTools.
51
 
52
  ## Roadmap