setScreenName 上的 react-native 0.64.2 firebase 编译错误

react-native 0.64.2 firebase compilation error on setScreenName

RNFirebaseAnalytics.m

[FIRAnalytics setScreenName ...] 处的 Firebase 编译错误

0.61

更新为 react-native 0.64.2

node_modules/react-native-firebase/ios/RNFirebase/analytics/RNFirebaseAnalytics.m:20:19:错误:没有已知的 class 选择器方法 'setScreenName:screenClass:'

[FIRAnalytics setScreenName:screenName screenClass:screenClassOverriew];

以下构建命令失败: 编译C/<PATH_TO_DERIVEDDATA>/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNFirebase.build/Objects-normal/x86_64/RNFirebaseAnalytics.o/<PROJECT_PATH>/node_modules/react-native-firebase/ios/RNFirebase/analytics/RNFirebaseAnalytics.m正常x86_64objective-ccom.apple.compilers.llvm.clang.1_0.compiler

在以下文件的节点模块中

/node_modules/react-native-firebase/ios/RNFirebase/analytics/RNFirebaseAnalytics.m

更新以下代码行

[FIRAnalytics setScreenName:screenName screenClass:screenClassOverriew];

[FIRAnalytics logEventWithName:kFIREventScreenView parameters: @{kFIRParameterScreenName: screenName}];