Repeating notification is not working on IOS
Repeating notification don't working on IOS
Here is my code
PushNotification.localNotificationSchedule({
message: 'test',
date: ...,
repeatType: 'time',
repeatTime 120000 // 2 minutes
})
On Android it works normally. But on IOS only the first notification is received.
I already see another issues about that. But I don't understand If was resolved or not.
Any idea?
@rodrigowpl This issue is also affecting me. Same description, I see the first notification, but none of the repetitions.
Same code works perfectly for Android.
Same here, plus setup with repeatType (doesn't matter on value of repeatType)
PushNotification.localNotification({
message: 'test',
repeatType: 'minute',
})
on android cause infinite loop of notifications. localNotificationSchedule works correctly on android.
I try it on example project.
The problem can be caused, because from react native itself the PushNotificationIOS doesn't support repeatType "time". https://facebook.github.io/react-native/docs/pushnotificationios see under scheduleLocalNotification => repeatInterval
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
any solution?
Is this repository active? most of sensitive issues are stale or closed by bot...
Hi @bostnis All staled / closed issues by bot are inactive for at least a year. If it's important, this should be active and with reproducible project. Most of issue are duplicated because no one search in history. And I don't have time to look 500 issues where there is no informations and outdated version.
@bostnis
Also, if you read the readme, this issue is not related to this repository but the iOS one.
Then repeatTime is an Android-Only feature because it's not possible to do it on iOS SDK.
Regards
Hi @Dallas62 Thanks for the response. Currently I am struggling with ios issue.. repeatType: 'day' not working on ios apps and I checked most of issues posted here but couldn't find good solution yet. If I made you confused, sorry for that.
Regards