Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-6013

iOS: Local notification not triggered when NOT setting repeat

    Details

      Description

      Hi, it seems like this https://jira.appcelerator.org/browse/TIMOB-26339

      has now broken the scheduling of local notification when you DO NOT set "repeat"

      The code below will never fire the notification

      // The following code snippet schedules an alert to be sent within three seconds
      var notification = Ti.App.iOS.scheduleLocalNotification({
        category: "TEST",
        alertAction: 'Read now',
        alertBody: 'Custom message',
        date: new Date(new Date().getTime() + 30000),
        //repeat: "never",
        //The following URL is passed to the application
        userInfo: {
          "task": "test2"
        }
      })
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shossain Shak Hossain (Inactive)
                Reporter:
                dieskim David van de Meer
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Integration