mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Deprecate receiveCommand method for INT commands
Summary:
This diff deprecates:
```
public void receiveCommand(int reactTag, int commandId, Nullable ReadableArray commandArgs) {
```
in favor of:
```
public void receiveCommand(int reactTag, String commandId, Nullable ReadableArray commandArgs) {
```
Reviewed By: JoshuaGross, TheSavior
Differential Revision: D16019254
fbshipit-source-id: 61efefe5d5c43f9b24b729f17229725b87b60a1f
This commit is contained in:
committed by
Facebook Github Bot
parent
9c20f8ae4d
commit
6eec39313d
@@ -689,6 +689,7 @@ public class UIImplementation {
|
||||
mOperationsQueue.enqueueClearJSResponder();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public void dispatchViewManagerCommand(
|
||||
int reactTag, int commandId, @Nullable ReadableArray commandArgs) {
|
||||
assertViewExists(reactTag, "dispatchViewManagerCommand");
|
||||
|
||||
Reference in New Issue
Block a user