davrosull / ti.reminders.helper

CommonJS module providing a one-in-all for setting local notication/reminders for iOS and Android.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reminders/Local Notify

CommonJS module providing a one-in-all for setting local notication/reminders for iOS and Android.

Why?

To make it easier!

How?

The module uses benCoding.AlarmManager and benCoding.localNotify. You need to download these yourself, add both modules to your tiapp.xml.

Learn by example:

var remindersHelper = require('ti.reminders.helper');
    remindersHelper.scheduleReminder({
        id: 1,
        title: 'Reminder',
        alert: 'This is your reminder',
        action: 'view the reminder'
        date: new Date()
      });

    remindersHelper.cancelReminder({
        id:1
      })

About

CommonJS module providing a one-in-all for setting local notication/reminders for iOS and Android.


Languages

Language:JavaScript 100.0%