signalapp / Signal-Android

A private messenger for Android.
https://signal.org
GNU Affero General Public License v3.0
25.64k stars 6.16k forks source link

Inappropriate way of sending locations is used #13006

Open fynngodau opened 1 year ago

fynngodau commented 1 year ago

The Signal app currently uses the following method of sharing a user's location, after the user has selected a location on the in-app map.

  1. Load Google Map.
  2. Wait for Google Map to finish loading.
  3. Take snapshot of Google Map.
  4. Remove Google Map and replace it with its snapshot.
  5. Once the user hits send, send this snapshot as an image.

This is implemented in the following snippet:

https://github.com/signalapp/Signal-Android/blob/55af6ca84e32683662a96f9f621728d47fabae9e/app/src/main/java/org/thoughtcrime/securesms/components/location/SignalMapView.java#L77-L96

The two issues are:

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

fynngodau commented 1 year ago

Still current, don't close.

ggdupont commented 1 year ago

Just discovered the feature today (potentially a very useful feature). Then I understood it uses google map... to transmit a screenshot??

I share the technical concerns expressed by @fynngodau here: why send a screenshot when coordinates would be enough? On which I would add a privacy concern: would it be possible to use alternative privacy-friendly apps like OSM?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

fynngodau commented 1 year ago

Still current, don't close.

stale[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

fynngodau commented 10 months ago

Still current, don't close.

stale[bot] commented 9 months ago

This issue has been closed due to inactivity.

fynngodau commented 9 months ago

@stale You have been a bad bot.

fynngodau commented 9 months ago

Next: #13375.

stale[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

fynngodau commented 7 months ago

Still current, don't close.

ale5000-git commented 6 months ago

The change in microG has been merged by mar-v-in. Are there still problems with Signal?

fynngodau commented 6 months ago

@ale5000-git The Signal issue that was resolved with https://github.com/microg/GmsCore/pull/2182 was https://github.com/signalapp/Signal-Android/issues/12723#issuecomment-1595810834, which has since been closed by stalebot. This issue has little to do with that and is not specific to microG in itself.

stale[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

fynngodau commented 4 months ago

Still current, don't close.

dylanbabel commented 3 months ago

Is there not a way to implement the use of other map services on a device? For example osmand or organic maps? Or simply accessing the GPS location of the device and sending the coordinates instead with links for google and apple maps and possibly others? I use iHunter for mapping offline in hunting areas and it shares locations like this.

mxa commented 1 week ago

Signal should simply get the coordinates from GPS and send them via a geo: link. The user receiving that link can then decide which app to use with the geo: intent. No need for Google Maps.