Commit ef790295 authored by Libin Lu's avatar Libin Lu Committed by GitHub

Update RNFIRMessaging.m

parent 1eb5e3c1
...@@ -322,7 +322,7 @@ RCT_EXPORT_MODULE(); ...@@ -322,7 +322,7 @@ RCT_EXPORT_MODULE();
[[FIRMessaging messaging] setDelegate:self]; [[FIRMessaging messaging] setDelegate:self];
}); });
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(10 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
if(!jsHandlerRegistered){ if(!jsHandlerRegistered){
[self sendPendingNotifications]; [self sendPendingNotifications];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment