Skip to content

cancel PushNotification on a given date or after some Time/Days.. #20129

@GaneshSinghPapola

Description

@GaneshSinghPapola

I have a scheduled notification here like:

PushNotification.localNotificationSchedule({
   alertTitle : "My Notification Title", 
   alertBody :"My Notification Body",
   fireDate : new Date(Date.now() + (120 * 1000)) , //2 mins
   repeatInterval :'day'
});

I assume notification should be fired on daily basis.
Now how do i prevent this notification after 3 days??

Activity

react-native-bot

react-native-bot commented on Jul 10, 2018

@react-native-bot
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

If you'd like to start a discussion, check out https://discuss.reactjs.org or follow the discussion template.

locked as resolved and limited conversation to collaborators on Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @GaneshSinghPapola@react-native-bot

        Issue actions

          cancel PushNotification on a given date or after some Time/Days.. · Issue #20129 · facebook/react-native