Commit 84ed3b35 authored by Jógvan Olsen's avatar Jógvan Olsen

Added requiresMainQueueSetup as required by newer RN versions

parent 5185356a
......@@ -141,6 +141,10 @@ RCT_EXPORT_MODULE();
return @[FCMNotificationReceived, FCMTokenRefreshed, FCMDirectChannelConnectionChanged];
}
+ (BOOL)requiresMainQueueSetup {
return YES;
}
+ (void)didReceiveRemoteNotification:(nonnull NSDictionary *)userInfo fetchCompletionHandler:(nonnull RCTRemoteNotificationCallback)completionHandler {
NSMutableDictionary* data = [[NSMutableDictionary alloc] initWithDictionary: userInfo];
[data setValue:@"remote_notification" forKey:@"_notificationType"];
......
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