The instructions at:
https://resources.count.ly/docs/react-native
suggest addeding:
[[UNUserNotificationCenter currentNotificationCenter] setDelegate:self];
and
-(void) userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)(void))completionHandler {
[[RNFirebaseMessaging instance] didReceiveRemoteNotification:response.notification.request.content.userInfo];
completionHandler();
}
This fails the build, UNUserNotificationCenter is an undefined Type.