Commit Graph
16 Commits
Author SHA1 Message Date
Henrik RydgårdandClaude Opus 5.5 19e4b77be4 Android: Ask for the local network permission for ad hoc, UPnP and servers
Part of #21585

Android 17 blocks LAN traffic in both directions (TCP and UDP, including
broadcast and multicast) without ACCESS_LOCAL_NETWORK. Ask for it when
networking, the built-in ad hoc server, UPnP, share-on-startup or the
remote debugger gets turned on, when a game initializes ad hoc with
networking enabled, and at startup if a server is set to start then.

A denied ad hoc send fails with EPERM, which the games never see, so show
a message for it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-16 20:44:05 +02:00
Henrik RydgårdandClaude Opus 5.5 d2e9e87242 Android: Ask for the local network permission before starting file upload
Part of #21585

Android 17 apps need ACCESS_LOCAL_NETWORK to serve other devices on the LAN.
The upload screen now asks for it when it opens, starts the web server once
it's granted, and shows a warning and a retry button if it's denied.

The permission only exists from API 37, so check for that rather than 35.
On Android 15 and 16 it reads as denied, which left Remote ISO's connect tab
stuck behind a permission request that could never succeed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-16 20:44:04 +02:00
Henrik Rydgård 9fb0973852 Unrelated UI fix 2026-07-18 11:57:48 +02:00
Henrik Rydgård 1846163985 Replace Path::ToVisualString with GetFriendlyPath which shortens. Much better on iOS 2026-02-13 21:16:00 +01:00
Henrik Rydgård 59ad5b4be4 More UI refactor, fixes to control customization screens 2025-11-25 19:27:57 +01:00
Henrik Rydgård 1ae76e871b Partial game-info-screen rework 2025-11-15 20:44:14 +01:00
Henrik Rydgård fd6dbd3813 Add a title to the upload files screen 2025-11-09 22:18:57 +01:00
Henrik Rydgård 78f20846c5 Convert more screens to SimpleDialogScreen 2025-10-29 09:12:37 +01:00
Henrik Rydgård 2b9f2672bb UI screens header cleanup 2025-10-29 00:15:41 +01:00
Henrik Rydgård 5826b61d95 Extract some useful view classes from UploadScreen, use on CreditsScreen 2025-10-28 15:32:45 +01:00
Henrik Rydgård 5a0af8d313 UploadScreen: Filter out link-local IP addresses 2025-10-28 11:54:07 +01:00
Henrik Rydgård b1d14d8221 More upload UI polish 2025-10-27 12:20:24 +01:00
Henrik Rydgård fa64598b4f More polish 2025-10-27 12:20:24 +01:00
Henrik Rydgård 9abd8c21e1 Finish implementing the multipart protocol, now multi file uploads work without corruption. 2025-10-27 12:20:24 +01:00
Henrik Rydgård dc682fb2c8 Basic upload via web browser support, only single file almost works 2025-10-27 12:20:24 +01:00
Henrik Rydgård c686d48268 Add prototype Upload screen and a couple new icons. Some refactoring. 2025-10-27 12:20:20 +01:00