diff --git a/ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.mm b/ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.mm index 9cae5a3517..ed2d68dd3a 100644 --- a/ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.mm +++ b/ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.mm @@ -115,12 +115,9 @@ static NSDictionary *convertJSIObjectToNSDictionary(jsi::Runtime &runtime, const static RCTResponseSenderBlock convertJSIFunctionToCallback(jsi::Runtime &runtime, const jsi::Function &value, std::shared_ptr jsInvoker); static id convertJSIValueToObjCObject(jsi::Runtime &runtime, const jsi::Value &value, std::shared_ptr jsInvoker) { - if (value.isUndefined()) { + if (value.isUndefined() || value.isNull()) { return nil; } - if (value.isNull()) { - return (id)kCFNull; - } if (value.isBool()) { return @(value.getBool()); }