react-native 每周重复本地推送通知

问题描述

我试图通过使用 react-native-local-push-notification 来发出警报以重复特定的工作日。我使用了 react-native-push-notification (https://github.com/zo0r/react-native-push-notification#readme),但在 IOS 中,除了“day”之外,不可能设置 repeatType。 你有什么想法做每周重复警报(每周重复推送通知

 PushNotification.localnotificationSchedule({
                    id: parseInt(endAlarm.id),title: 'endAlarm',message: endAlarm.message,date: endAlarm.date,channelId: endAlarm.channelId,number: endAlarm.number,//android
                    vibrate: true,vibration: 300,visibility: 'public',importance: 'high',//both
                    playSound: true,actions: ['OK'],repeatType: 'week',})

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)