Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

232
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda