mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Support invoking and returning arbitrary types from Java sync hooks
Reviewed By: mhorowitz Differential Revision: D4409900 fbshipit-source-id: 347e33c442b32f64355d343308c218c15cf5a70f
This commit is contained in:
committed by
Facebook Github Bot
parent
cfb90284d6
commit
f8c72f5441
@@ -18,6 +18,9 @@ var TestJSToJavaParametersModule = {
|
||||
returnBasicTypes: function() {
|
||||
Recording.receiveBasicTypes('foo', 3.14, true, null);
|
||||
},
|
||||
returnBoxedTypes: function() {
|
||||
Recording.receiveBoxedTypes(42, 3.14, true);
|
||||
},
|
||||
returnDynamicTypes: function() {
|
||||
Recording.receiveDynamic('foo');
|
||||
Recording.receiveDynamic(3.14);
|
||||
|
||||
Reference in New Issue
Block a user