question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Specific time in week repeatType

See original GitHub issue

Is that possible?

 PushNotification.localNotificationSchedule({
      date: date,

      channelId: ANDROID_CHANNEL_NAME,
      id: id, // (optional) Valid unique 32 bit integer specified as string. default: Autogenerated Unique ID
      vibrate: true,
      vibration: 300,
      title: title, // (optional)
      message: message, // (required)
      userInfo: {screen: 'blabla'},
      soundName: 'bell.mp3', 
      repeatType: 'week',
      allowWhileIdle: true,
    });

I use these codes but the time is not set. 00:00 appears as the notification time. Can’t I set weekly notifications at different times on the same day?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
Dallas62commented, Sep 14, 2021

Hi,

The time of the notification is the one defined in date. It cannot be different on each repetition.

Regards

0reactions
anhquan291commented, Jun 4, 2022

@zeeshan112233 hi. still don’t find it. I managed to use other way without using react-native-push-notification’s feature.

Hi @cynde. Could you please share the way you handle this issue? Really appreciate that. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Selection of the day of the week for notification in react native
In Android,You could set it to repeating notifications in ... Property repeatType could be one of month, week, day, hour, minute, time ....
Read more >
Show something for specific time and day and else
Ok, i got the idea from an example `[time-restrict-repeat type=”weekly” onday=”Saturday” offday=”Saturday” ontime=”10:00:00″ offtime=”23:00:00″ else=”Work sucks ...
Read more >
Time Interval in Windows Forms Scheduler control | Syncfusion
Learn about Time Interval support in Syncfusion Windows Forms Scheduler (Schedule) ... the repeat type value for every Month on the selected date...
Read more >
Scheduling layouts with Repeats - Get Help - Xibo Community
(Since my schedule duration is longer I think the layout time ... and end time 14th Jan 7am and set repeat type as...
Read more >
Schedules & Shifts: Add and assign staff to a recurring shift
For example, if a shift repeats weekly on Tuesdays and your End Date is on a ... the Day of Month Pattern repeat...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found