File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 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
611611  }
612612}
613613
614+ 
614615RCT_EXPORT_METHOD (getInitialNotification:(RCTPromiseResolveBlock)resolve
615616                  reject:(__unused RCTPromiseRejectBlock)reject)
616617{
@@ -625,11 +626,6 @@ - (void)handleRemoteNotificationRegistrationError:(NSNotification *)notification
625626    initialNotification[@" remote" YES ;
626627    resolve (initialNotification);
627628  } 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 ];
633629    resolve (RCTFormatLocalNotification (initialLocalNotification));
634630  } else  {
635631    resolve ((id )kCFNull );
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments