Skip to content

Due ​

Due is a superfast reminder app for iPhone, iPad, and Mac that helps you never forget anything again. Protocol Launcher allows you to generate deep links to add reminders and search in Due.

Usage ​

There are two ways to use this library:

  • On-Demand import from subpaths enables tree-shaking and keeps bundles small.
  • Full Import from the root package is convenient but includes all app modules.

Pick On-Demand for production builds; Full Import is fine for quick scripts or demos.

Select Installation Method

On-Demand
Recommended. Optimized for production.
Full Import
Convenient. Good for quick scripts.

Add Reminder ​

{{currentMethod}}
ts
import { add } from 'protocol-launcher/due'

const url = add({
  title: 'Call John',
  duedate: 1333238400,
})

Add Recurring Reminder ​

{{currentMethod}}
ts
import { add } from 'protocol-launcher/due'

const url = add({
  title: 'Pay rent',
  duedate: 1306954800,
  timezone: 'GMT',
  recurunit: 8,
  recurfromdate: 1306954800,
})

Add Reminder with Callback ​

{{currentMethod}}
ts
import { add } from 'protocol-launcher/due'

const url = add({
  title: 'Call John',
  secslater: 3600,
  xSource: 'SuperCal',
  xSuccess: 'supercal://x-callback-url/returnAction',
})

Search Reminders ​

{{currentMethod}}
ts
import { search } from 'protocol-launcher/due'

const url = search({
  query: '#work',
  section: 'Reminders',
})

Search Timers ​

{{currentMethod}}
ts
import { search } from 'protocol-launcher/due'

const url = search({
  query: '#HIIT',
  section: 'Timers',
})
{{currentMethod}}
ts
import { search } from 'protocol-launcher/due'

const url = search({})