mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-02 09:08:58 +08:00
Add support for async bridged methods to android
Differential Revision: D2595414 fb-gh-sync-id: 3b44ce1737bdd1e0861a285a45976631a57ab3b5
This commit is contained in:
committed by
facebook-github-bot-4
parent
b73bf16349
commit
b86a6e3b44
@@ -199,6 +199,7 @@ public class NativeModuleRegistry {
|
||||
MethodRegistration method = module.methods.get(i);
|
||||
jg.writeObjectFieldStart(method.name);
|
||||
jg.writeNumberField("methodID", i);
|
||||
jg.writeStringField("type", method.method.getType());
|
||||
jg.writeEndObject();
|
||||
}
|
||||
jg.writeEndObject();
|
||||
|
||||
Reference in New Issue
Block a user