Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

5538 notifications for fake loc ipscrambling

Description

Fake location and Hide My IP have side effects. To reminder the user about that, when Fake location and Hide my IP are enabled, display a notification to the user. It will remind them that there is something "not real" on the device. The user has the possibility to read the whole notification if it is cut before tapping on it. The notification is removable.

Fake location:

  • text: Fake location is on, all apps using your location including your navigation app are now using this fake location.
  • icon: image
  • action when tapping the notification: send the user to the Manage my Internet address screen

Hide my IP:

  • text: Real IP hidden, this could impact the functioning of some applications.
  • icon: image
  • action when tapping the notification: send the user to the Manage my location screen

Screenshots

Technical details

This MR is dependant on this other MR : privacymoduletor!12 (merged) on PrivacyModuleTor (to fix an orbotservice "bug").

We use here ongoing notifications (so that they stay while the feature is running). To offer the user the possibility to hide them with the system notification settings, there is a dedicated notification channel for the fake location and one for the ipscrambling feature, and we also use a private API (setBlockable), to unblock this feature for Advanced Privacy which is a system app.

Tests

Add test cases:

Update following test cases, adding notification presence check :

Issues

e/backlog#5538 (closed)

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/development/code-review

Merge request reports

Loading