Once scheduled notification fires, reschedule and another

Please provide the following:

  1. SDK Version: 40
  2. Platforms(Android/iOS/web/all): Android/iOS

I am scheduling a notification with this code:

          content: {
            title: 'title',
            body: 'body'
          trigger: new Date(times[currentPrayerKey]),

When it triggers, even if app is not running, or is in background, I want to schedule the next notification. Is this possible?

Thank you

1 Like

My solution for right now is to use low accuracy location. Which is accurate to 10meters or so. So it keeps retriggering if I set my distanceInterval to 1 meter. Not the most batter efficient solution but it works. Ideally would be nice to only wake up once the next notification fires, but ill go to prod with this solution for now.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.