EddyVerbruggen / nativescript-local-notifications

:mailbox: NativeScript plugin to easily schedule local notifications
MIT License
162 stars 57 forks source link

New option to pass seconds as input for interval #192

Open danielorihuela opened 4 years ago

danielorihuela commented 4 years ago

We think this plugin is awesome and easy to use. Keep up the good work. This is a more of a new feature request than an issue. We would like to be able to set a custom interval passing seconds as an argument.

It would look something like this:

LocalNotifications.schedule([
      {
        title: "some title",
        intervalSeconds: 60 * 24 * 10, // 60 seconds by 24 hours by 10 days
      },
    ])

Thanks for your time.