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

Use the official npm package for local-notifications plugin

XMLWordPrintable

    • Hide
      1. Uninstall our local notifications plugin and install the official one.
      2. Add a calendar event to trigger a local notification in the app.
      3. Check that the notification is triggered.
      4. Click the notification and check that you're redirected to the event.
      Show
      Uninstall our local notifications plugin and install the official one. Add a calendar event to trigger a local notification in the app. Check that the notification is triggered. Click the notification and check that you're redirected to the event.
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE

      A while ago we decided to use our own npm package for the local-notifications plugin because the official one wasn't in npm. Now it is, so we should use that one. This is the package:

      https://www.npmjs.com/package/de.appplant.cordova.plugin.local-notification

      In our fork we tried to fix the error of notifications showing when the device was rebooted. I see that the official repo now has a commit saying that they fix some notifications show on reboot, so maybe they fixed it too but using a different approach. We should test it.

      Also, we should use the property "text" instead of "message" (deprecated).

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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