Make shared new bridge work in wilde/pyml
Reviewed By: javache Differential Revision: D3926487 fbshipit-source-id: 6c40233c6140ef7ca1f78a5119e34c0979c444ee
This commit is contained in:
parent
af5c8a8fd2
commit
9981b8928d
|
@ -798,7 +798,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithBundleURL:(__unused NSURL *)bundleUR
|
||||||
RCT_PROFILE_BEGIN_EVENT(0, @"callFunctionOnModule", (@{ @"module": module, @"method": method }));
|
RCT_PROFILE_BEGIN_EVENT(0, @"callFunctionOnModule", (@{ @"module": module, @"method": method }));
|
||||||
[jsExecutor callFunctionOnModule:module
|
[jsExecutor callFunctionOnModule:module
|
||||||
method:method
|
method:method
|
||||||
arguments:arguments
|
arguments:arguments ?: @[]
|
||||||
jsValueCallback:^(JSValue *result, NSError *jsError) {
|
jsValueCallback:^(JSValue *result, NSError *jsError) {
|
||||||
if (error) {
|
if (error) {
|
||||||
*error = jsError;
|
*error = jsError;
|
||||||
|
|
Loading…
Reference in New Issue