Repository navigation
fix(app): Android app reaches the Mac; launcher icon; apps check for updates - #22
Merged
Merged
Conversation
Owner
Author
EvidenceI captured this in an Android 15 emulator (arm64, WebView 124) on the Mac. The files are in 1. Connect, before and after ( Before, with the released beta.15 APK: After, with this branch's APK against a dev host ( The page reported 2. Launcher icon 3. Update check: a build stamped The Mac's host name in Nearby is replaced with |
…for updates - Tapping Connect in the Android app said "Can't reach <IP>" every time. Its page is https://dioxus.index.html, and Android's WebView blocks every http:// request from it as mixed content, so the page could never reach a host (Nearby still worked: its sweep is native). Requests to a host now go through native code in the apps, window.mullionNative.http, which calls mullion_proto::lanhttp: plain HTTP to a private or loopback IPv4 address only, GET or POST, only the Content-Type and X-Mullion-Auth headers, one total deadline, size caps. The page uses one mullionFetch for every host request (offer, challenge, pairing, hello, layout map); in a browser it is fetch. Bridge replies are tagged and slow work runs on its own thread, so a Nearby sweep no longer holds up requests or the full screen toggle. - The APK showed Android's template robot as its icon: dx 0.7.10 ignores the bundle icons on Android. tools/make-icons.py --android writes adaptive and legacy launcher icons (crates/app/android/res), and build-android.sh lays them over dx's. - The Windows and Android apps check GitHub for a newer release at start and every 6 hours, and show "Get Mullion <version>" linking to that platform's file. The page asks GitHub itself (HTTPS is allowed). The version order is the same as mullion_proto::version::is_newer. On Android the link says to remove the app first: beta APKs are signed with a different key each build. Checked: 72 tests pass (4 new for lanhttp). In an Android 15 emulator: the beta.15 APK's fetch is blocked as mixed content; this branch's APK pairs and connects (ICE, DTLS and data channel up); the launcher shows Mullion's icon; a build stamped beta.14 offers beta.15.
th3r-dev
force-pushed
the
fix/app-lan-requests-icon-updates
branch
from
November 11, 2026 18:09
7205ccf to
10fb4b3
Compare
|
❌ The last analysis has failed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes three problems in the Windows and Android apps.
1. Connect on the Android app always said "Can't reach "
The app's page is
https://dioxus.index.html, and Android's WebView blocks everyhttp://request from it as mixed content, so the tablet app could never reach a Mac:Nearby still found the Mac because its sweep runs in native code. Before pairing, the failure read "Failed to fetch"; pairing's
/hellostep now reports it as "Can't reach".Fix:
window.mullionNative.http, which callsmullion_proto::lanhttp.Content-TypeandX-Mullion-Authheaders.It also enforces one total deadline and size caps.
mullionFetchfor every request to a host: offer, challenge, pairing,/helloand the layout map. In a browser it's plainfetch.2. The APK's launcher icon was Android's template robot
dx0.7.10 ignores the bundle icons on Android.tools/make-icons.py --androidnow writes adaptive and legacy launcher icons tocrates/app/android/res, andbuild-android.shlays them over the generated ones.3. The apps check for updates
-windows-x64.exeor-android-arm64.apk).mullion_proto::version::is_newer: all 13 of its test cases agree.Testing
cargo test: 72 pass, including 4 newlanhttptests.fetchis blocked as mixed content;