deltachat-core-rust
deltachat-core-rust copied to clipboard
warning on WebXDC checklist app: "Delta Chat would like to find and connect to devices on your local network"
A contact of mine is using the WebXDC checklist app in a chat. I don't know how to tell what version the Checklist app is, but i can try to retrieve that info if you give me pointers to how to do so.
- iOS version: 16.1.1
- Device: iPhone 11
- Delta Chat version: 1.48.3
When opening the webxdc app, iOS asks the user for permission "Delta Chat would like to find and connect to devices on your local network". That's a bit surprising given what I understood were the promises about strict limits on network access for WebXDC applications.
this should not pop up for a webxdc not using realtime channels, indeed.
there were some bugs in that area, also leading to some phone warming, so maybe it is already fixed; we should try to reproduce that
i just had that in desktop on macOS as well. after starting a development build from terminal, i got asked the same question. is was starting a recent version of https://codeberg.org/jagtalon/split-bill/ for that.
so, i assume, this is a core issue, something is done in core that triggers the alert, moving the issue to core for now
EDIT: happended again after update to desktop 1.52.1, this is what it looked like for me, came unexpected while delta was in background for a while with 2048.xdc open:
wondering, why that image reads "Electron" instead of "Delta Chat" - i've seen that only when using self-build - but that was the just downloaded "official" release
got the same on iOS when using "Pac 1D" that is no using realtime (i ported the game myself not long ago :), here on iOS 7.
still, it is hard to reproduce as the alerts come from the OS and are not triggered by Delta Chat as other grants. the OS just decides to show the alert when an app decided to use suspicious network things (or so)
otoh, i am also not sure how accurate the OS is displaying the hint.
i just happen to me that after hours of terminating "Android Studio", macOS is showing the question, totally out of context:
note the 3rd icon on the left: Android studio is not running
also, i did not start accidentally, "Android Studio" did not start after confirming the dialog - and was also not started before, due to an error, i remember i even "Force Quit".
i totally believe, that "Android Studio" somehoe triggers the warning, eg. by adb debugging. but the timing was totally out of context
that could also explain the "Electron" name in the dialog above - for sure, i started the app before at some point
so, not sure, maybe macOS or iOS are also buggy here
This is somewhat similar to https://github.com/deltachat/deltachat-desktop/issues/3218 (Windows-only), where a firewall alert would be shown because of WebRTC.
i am just started an webxdc without realtime on a windows computer (wonster) - and indeed, the firewall pops up
https://download.delta.chat/desktop/v2.20.0/ with fix: don't init Iroh on channel leave (#7210) is out, so this can be rechecked