We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6889b93 commit 160d2f4Copy full SHA for 160d2f4
src/ios/UILocalNotification+APPLocalNotification.m
@@ -61,7 +61,10 @@ - (void) __init
61
self.fireDate = options.fireDate;
62
self.timeZone = [NSTimeZone defaultTimeZone];
63
self.applicationIconBadgeNumber = options.badgeNumber;
64
- self.repeatInterval = options.repeatInterval;
+ // required check since iOS 10
65
+ if (NSCalendarUnitEra != options.repeatInterval) {
66
+ self.repeatInterval = options.repeatInterval;
67
+ }
68
self.alertBody = options.alertBody;
69
self.soundName = options.soundName;
70
0 commit comments