Open orblivion opened 1 year ago
Is it even possible to do this through the sandbox? I think passing through permission requests via Sandstorm was something that was wanted as a feature, but isn't possible today.
Oh interesting, the front end is locked down like this? I guess this is somehow related to the whole thing with blocking WebRTC?
On Thu, Sep 7, 2023 at 5:15 PM Jacob Weisz @.***> wrote:
Is it even possible to do this through the sandbox? I think passing through permission requests via Sandstorm was something that was wanted as a feature, but isn't possible today.
— Reply to this email directly, view it on GitHub https://github.com/orblivion/sandstorm-share-a-map/issues/46#issuecomment-1710780115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAKH6C4DZPY2QLVUZAWUR3XZI2QHANCNFSM6AAAAAA4PHUOQM . You are receiving this because you authored the thread.Message ID: @.***>
Sort of, a big part of it is the fact that the apps are in an iframe. You might want to test it, but I don't think it will work.
Map apps have a "go to my current location" button with GPS. If I tried this on the web, like with Google Maps, my browser would ask for my location, and I'd consider it obnoxious and wouldn't dream of it. However, the whole point of Sandstorm is that the user likely actually trusts the server they're looking at. So maybe it'd be useful. Maybe the user would rather find themselves on the map than export bookmarks to a separate app.
Give a privacy warning. "Make sure you trust this server". If the user says "no" to the location permission, say "no hard feelings" or something; don't act like something went wrong. (Though maybe something did go wrong, don't discount that either)