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

Geolocation in the mobile app

XMLWordPrintable

    • Hide

      Test on Android and iOS.

      Database

      1. Make sure GPS is enabled in the device and you are next to a window or outdoors.
      2. In the app, go to a database activity with Latitude/longitude field.
      3. Click the "+" button to add a new entry.
      4. Click the "My location" button below Latitude/longitude fields. You will be asked to grant permission to the app, accept.
      5. Wait until the "Getting location" popup is hidden.
      6. Check that the latitude and longitude fields are filled with some coordinates.
      7. Search the coordinates in Google Maps to check they match your current location.
      8. Save the entry and check the latitude/longitude field is displayed correctly.
      9. Uninstall and reinstall the app.
      10. Go to the database activity and click the "+" button to add a new entry.
      11. Click the "My location" button but deny permission to use geolocation.
      12. Check that an error is displayed and the latitude and longitude fields are blank.

      Plugin

      1. Make sure the geolocation permission is not denied and geolocation is enabled in the device (GPS or high precision is not needed this time) .
      2. Install the plugin local_mobile_2159.zip in a 3.7 site.
      3. Open the site in the app and go to the "Geolocation" item in the main menu.
      4. Wait until "Getting location" text is replaced with a link with your coordinates.
      5. Click the link and check Google Maps is opened with your current approximate location.
      Show
      Test on Android and iOS. Database Make sure GPS is enabled in the device and you are next to a window or outdoors. In the app, go to a database activity with Latitude/longitude field. Click the "+" button to add a new entry. Click the "My location" button below Latitude/longitude fields. You will be asked to grant permission to the app, accept. Wait until the "Getting location" popup is hidden. Check that the latitude and longitude fields are filled with some coordinates. Search the coordinates in Google Maps to check they match your current location. Save the entry and check the latitude/longitude field is displayed correctly. Uninstall and reinstall the app. Go to the database activity and click the "+" button to add a new entry. Click the "My location" button but deny permission to use geolocation. Check that an error is displayed and the latitude and longitude fields are blank. Plugin Make sure the geolocation permission is not denied and geolocation is enabled in the device (GPS or high precision is not needed this time) . Install the plugin local_mobile_2159.zip in a 3.7 site. Open the site in the app and go to the "Geolocation" item in the main menu. Wait until "Getting location" text is replaced with a link with your coordinates. Click the link and check Google Maps is opened with your current approximate location.
    • MOODLE_37_STABLE
    • MOODLE_38_STABLE
    • Moodle App 3.8.0

      Hi,

      what do you think about the idea using geolocation in Moodle Mobile? With geolocation or gps we could get a little bit of gamification into Moodle.

      In a course we can allow or disallow the access to a resource, to an activity or to a complete course section with conditions. There is a condition to do something with the mobile app or to do it only with the browser. Also I found conditions for access if someone is member of a group or if he got a activity completion.

      I 'm looking forward for a condition that someone must be at the right geolocation to get a resource or to get a badge. Yes, there is the course format "format_gps". This course format can hide course sections and it shows them only at the correct place. The problem is that this feature looks fine in a browser but the feature does not work in Moodle Mobile.

      The format_gps was an idea from Jürgen Kappus, ka:media in Düsseldorf, Germany.
      https://moodle.org/plugins/format_gps

      To show the features Jürgen made some films about his idea.
      https://m.youtube.com/watch?v=W2dSdzp_b4A
      https://m.youtube.com/watch?v=r-ngT0VHRhA

      What do you think? Could geolocation be a feature for mobile learning with Moodle?

      Best regards, Ralf

            noeldemartin Noel De Martin
            krause Ralf Krause
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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