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

Android: Declare permission to use exact alarms

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1.0
    • 4.0.2
    • Android
    • Hide

      This issue only needs to be tested in 1 Android device with Android 12.

      1. Install the app and login in master site.
      2. Go to calendar and set a new reminder.
      3. Wait for the reminder to trigger. Check that the local notification is displayed.
      Show
      This issue only needs to be tested in 1 Android device with Android 12. Install the app and login in master site. Go to calendar and set a new reminder. Wait for the reminder to trigger. Check that the local notification is displayed.
    • MOODLE_401_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0.2

    Description

      Right now we use exact alarms, but we aren't declaring the permissions SCHEDULE_EXACT_ALARM or USE_EXACT_ALARM.

      The permission SCHEDULE_EXACT_ALARM is mandatory when targetting API 31.

      When targeting API 32 or higher, it's mandatory to declare one of them.

       https://developer.android.com/training/scheduling/alarms#exact-permission-declare

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              dpalou Dani Palou
              Noel De Martin Noel De Martin
              Isabel Renedo Rouco Isabel Renedo Rouco
              Juan Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Oct/22