File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -611,6 +611,7 @@ - (void)handleRemoteNotificationRegistrationError:(NSNotification *)notification
611
611
}
612
612
}
613
613
614
+
614
615
RCT_EXPORT_METHOD (getInitialNotification:(RCTPromiseResolveBlock)resolve
615
616
reject:(__unused RCTPromiseRejectBlock)reject)
616
617
{
@@ -625,11 +626,6 @@ - (void)handleRemoteNotificationRegistrationError:(NSNotification *)notification
625
626
initialNotification[@" remote" ] = @YES ;
626
627
resolve (initialNotification);
627
628
} else if (initialLocalNotification) {
628
- NSMutableDictionary *userInfo = [content.userInfo mutableCopy ];
629
- NSMutableDictionary *localInfo = [initialLocalNotification.userInfo mutableCopy ];
630
- localInfo[@" userInteraction" ] = [NSNumber numberWithInt: 1 ];
631
- initialLocalNotification.userInfo = localInfo;
632
- initialLocalNotification[@" userInteraction" ] = [NSNumber numberWithInt: 1 ];
633
629
resolve (RCTFormatLocalNotification (initialLocalNotification));
634
630
} else {
635
631
resolve ((id )kCFNull );
You can’t perform that action at this time.
0 commit comments