Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify ViewManager.receiveCommand to call into delegate #37070

Closed
wants to merge 1 commit into from

Conversation

genkikondo
Copy link
Contributor

Summary:
This diff fixes an issue where codegened native commands are not able to be triggered, as codegen adds command handling to the delegate. This also brings how receiveCommand is handled into parity with how setProperties is called on the delegate.

Changelog:
[Fixed][Android] - Modify ViewManager.receiveCommand to call into delegate

Differential Revision: D45236213

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Apr 24, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45236213

@analysis-bot
Copy link

analysis-bot commented Apr 24, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,624,982 +85
android hermes armeabi-v7a 7,937,626 +94
android hermes x86 9,111,866 +88
android hermes x86_64 8,966,725 +94
android jsc arm64-v8a 9,189,029 +85
android jsc armeabi-v7a 8,379,129 +88
android jsc x86 9,247,261 +88
android jsc x86_64 9,505,758 +84

Base commit: 5e983d5
Branch: main

Summary:
Pull Request resolved: facebook#37070

This diff fixes an issue where codegened native commands are not able to be triggered, as codegen adds command handling to the delegate. This also brings how receiveCommand is handled into parity with how setProperties is called on the delegate.

Changelog:
[Fixed][Android] - Modify ViewManager.receiveCommand to call into delegate

Reviewed By: javache

Differential Revision: D45236213

fbshipit-source-id: 241c678dadee16e2a371641c15b9556a92ee9238
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45236213

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 585057d.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Apr 25, 2023
jeongshin pushed a commit to jeongshin/react-native that referenced this pull request May 7, 2023
Summary:
Pull Request resolved: facebook#37070

This diff fixes an issue where codegened native commands are not able to be triggered, as codegen adds command handling to the delegate. This also brings how receiveCommand is handled into parity with how setProperties is called on the delegate.

Changelog:
[Fixed][Android] - Modify ViewManager.receiveCommand to call into delegate

Reviewed By: javache

Differential Revision: D45236213

fbshipit-source-id: 78f232f288f0a9c5f444e680a9cc49dca1d6af9b
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
Summary:
Pull Request resolved: facebook#37070

This diff fixes an issue where codegened native commands are not able to be triggered, as codegen adds command handling to the delegate. This also brings how receiveCommand is handled into parity with how setProperties is called on the delegate.

Changelog:
[Fixed][Android] - Modify ViewManager.receiveCommand to call into delegate

Reviewed By: javache

Differential Revision: D45236213

fbshipit-source-id: 78f232f288f0a9c5f444e680a9cc49dca1d6af9b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants