Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4665

Remove location functionallity and permissions

XMLWordPrintable

    • Hide

      This issue should be tested in 1 Android and 1 iOS device.

      1. Install the plugin attached to this issue in a Moodle site, it doesn't matter the LMS version.
      2. If you don't have one already, create a database that includes a latitude-longitude (latlong) field. We have one in our Database course > More databases > ... all field types.
      3. In the app, open the database and click to add a new entry. Check that the latlong field no longer displays a button to obtain the current location. Instead, you see a message saying that you can obtain the coordinates using a maps app.
      4. Click the "maps app" link. Check that it opens the Google maps app in Android (if it's installed) and the Apple maps app in iOS (if it's installed).
      5. Now go to the More menu and open "Location plugin test" (it's the plugin attached to this issue).
      6. Check that both buttons behave the same way: when you click them, you see a message saying that location is no longer available and you need to use a maps app. 

      Extra test (to be done by someone technical)

      1. Inspect the Android apk, either using Android Studio or any other tool.
      2. Open the Android manifest. Check that the following permissions and features are no longer there: ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION and android.hardware.location.gps.
      Show
      This issue should be tested in 1 Android and 1 iOS device. Install the plugin attached to this issue in a Moodle site, it doesn't matter the LMS version. If you don't have one already, create a database that includes a latitude-longitude (latlong) field. We have one in our Database course > More databases > ... all field types. In the app, open the database and click to add a new entry. Check that the latlong field no longer displays a button to obtain the current location. Instead, you see a message saying that you can obtain the coordinates using a maps app. Click the "maps app" link. Check that it opens the Google maps app in Android (if it's installed) and the Apple maps app in iOS (if it's installed). Now go to the More menu and open "Location plugin test" (it's the plugin attached to this issue). Check that both buttons behave the same way: when you click them, you see a message saying that location is no longer available and you need to use a maps app.  Extra test (to be done by someone technical) Inspect the Android apk, either using Android Studio or any other tool. Open the Android manifest. Check that the following permissions and features are no longer there: ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION and android.hardware.location.gps.
    • Moodle Apps Sprint 2025-I1.4

      Geo-location is only used when the database activity uses the lat-long field so it is not really worth it to keep this functionality because we are constantly asked why an education app needs this (and is not very aligned with our privacy driven company practises) even if the user is only asked to share it when required.

      This will mean that plugins using this functionality via our API will stop working so it has to be announced in the forums and maybe show a warning popup or similar instead of a critical error when someone wants to obtain location.

      After discussing this internally the overall approach would be to replace the "My location" functionality, instead of retrieving the coordinates we will display a popover with information about how to get the coordinates, linking to: https://support.google.com/maps/answer/18539?hl=en&co=GENIE.Platform%3DAndroid&oco=1 for Android and https://support.google.com/maps/answer/18539?hl=en&co=GENIE.Platform%3DiOS&oco=1 for iOS

      For plugins, we will have to display a popup message or toad o similar with a text indicating that this functionality is not supported anymore

        1. image-2025-04-22-16-00-15-086.png
          image-2025-04-22-16-00-15-086.png
          1.30 MB
        2. image-2025-04-22-16-00-45-066.png
          image-2025-04-22-16-00-45-066.png
          93 kB
        3. locationplugintest.zip
          9 kB
        4. s1.png
          s1.png
          49 kB
        5. s2.png
          s2.png
          43 kB
        6. s3.png
          s3.png
          31 kB

            dpalou Dani Palou
            jleyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 weeks, 4 days, 3 hours, 38 minutes
                3w 4d 3h 38m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.