fix: Fix passing options to frame processors on iOS (#1750)

This commit is contained in:
rkmackinnon 2023-09-06 02:27:35 -07:00 committed by GitHub
parent ca7c8ab22d
commit 6dd1d4147e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ jsi::Value FrameProcessorPluginHostObject::get(jsi::Runtime& runtime, const jsi:
}
// Call actual Frame Processor Plugin
id result = [_plugin callback:frame withArguments:nil];
id result = [_plugin callback:frame withArguments:options];
// Convert result value to jsi::Value (possibly undefined)
return JSINSObjectConversion::convertObjCObjectToJSIValue(runtime, result);