Commit a1f06920 authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Suddenly only "future" notifications are accessible via `scheduledLocalNotifications`

parent 2816ab89
Loading
Loading
Loading
Loading
+1 −1
Changes for src/ios/APPLocalNotification.m: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@
{
    UILocalNotification* notification = [[UILocalNotification alloc] init];

    double    timestamp = [[options objectForKey:@"date"] doubleValue];
    double    timestamp = [[options objectForKey:@"date"] doubleValue] + 1;
    NSString* msg       = [options objectForKey:@"message"];
    NSString* title     = [options objectForKey:@"title"];
    NSString* sound     = [options objectForKey:@"sound"];