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

Push notifications not working in iOS 10.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1
    • Component/s: Push notifications
    • Labels:
    • Testing Instructions:
      Hide
      1. Install the app in a iOS device.
      2. Login in a site where your device isn't registered yet (you can manually delete it from the database).
      3. Now login in web to the same site and same user and go to see the user devices.
        • In Moodle 3.2 or higher, go to Preferences > Notification preferences and click the gear next to Mobile.
        • In Moodle 3.1 or previous, go to Preferences > Messaging and scroll to the bottom.
      4. Check that your device is listed in the list of registered devices.
      Show
      Install the app in a iOS device. Login in a site where your device isn't registered yet (you can manually delete it from the database). Now login in web to the same site and same user and go to see the user devices. In Moodle 3.2 or higher, go to Preferences > Notification preferences and click the gear next to Mobile . In Moodle 3.1 or previous, go to Preferences > Messaging and scroll to the bottom. Check that your device is listed in the list of registered devices.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2.1

      Description

      The call to $cordovaPushV5.register() is not working in iOS 10.2.

      Reported in this issue: https://github.com/phonegap/phonegap-plugin-push/issues/1514

      I verified that setting it to true in XCode fixes it, but we cannot do it in Phonegap Build. We should try to use cordova-ios 4.4.0 or phonegap-plugin-push 1.9.0.

      "there was an attempt at a fix in cordova-ios 4.3.x and a true fix should be in cordova-ios 4.4.0. You should try using version 1.9.0 where we have the partial fix."

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Feb/17