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:
David Vacca authored and Facebook Github Bot committed 2019-07-02 14:47:20 -07:00
1 parent 9c20f8ae4d
commit 6eec39313d
7 files changed
+11

No files matched your search

@@ -659,6 +659,8 @@ public class UIManagerModule extends ReactContextBaseJavaModule
}
}
/** Deprecated, use {@link #dispatchCommand(int, String, ReadableArray)} instead. */
@Deprecated
@Override
public void dispatchCommand(int reactTag, int commandId, @Nullable ReadableArray commandArgs) {
mUIImplementation.dispatchViewManagerCommand(reactTag, commandId, commandArgs);