Commit 79394b12 authored by Libin Lu's avatar Libin Lu Committed by GitHub

Update RNFIRMesssaging.m

parent ac377f0a
...@@ -161,6 +161,7 @@ RCT_EXPORT_MODULE() ...@@ -161,6 +161,7 @@ RCT_EXPORT_MODULE()
// For iOS 10 data message (sent via FCM) // For iOS 10 data message (sent via FCM)
dispatch_async(dispatch_get_main_queue(), ^{ dispatch_async(dispatch_get_main_queue(), ^{
[[FIRMessaging messaging] setRemoteMessageDelegate:self]; [[FIRMessaging messaging] setRemoteMessageDelegate:self];
[self connectToFCM];
}); });
} }
......
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