Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

230
Views
Selection of the day of the week for notification in react native

The notification works if you set the year, month, day and time. What is required is to configure the notification so that it would come only on Thursdays at 15:00

const pushNoti1 = () => {
PushNotification.localNotificationSchedule({
  channelId: "test-channel",
  title: "Неблагоприятный день для:",
  message: "Today is Thursday",
  date: new Date("2021-09-29T13:00:00"),
  id: 1
});

}

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

In Android,You could set it to repeating notifications in react-native-push-notification like this (for every 100 days): actually You could specify repeatType and optionally repeatTime (Android-only) while scheduling the local notification. Property repeatType could be one of month, week, day, hour, minute, time.

`

PushNotification.localNotificationSchedule({
                ...
                date: new Date(Date.now() + 60 * 1000 * 60, 
                repeatType:'time',
                repeatTime:(100) * 86400000), //Repeat every 100 days 
                importance:Importance.HIGH
               ...
            }); 

`

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!