-
Notifications
You must be signed in to change notification settings - Fork 17
Fix parsing bug for dispose method #173
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
Conversation
In PlatformViewChannel::HandleMethodCall, a argument for 'dispose' method includes a map. Hence, to get a proper view_id value, it should be parsed by 'id' key.
bbrto21
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
bwikbs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 👍
|
Shouldn't this be fixed in the plugin side? should be await SystemChannels.platform_views.invokeMethod<void>('dispose', viewId); |
|
engine/shell/platform/tizen/channels/platform_view_channel.cc Lines 180 to 184 in bdd0af4
It was initially handled using map value. |
It doesn't matter. |
swift-kim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway the change looks good to me.
In PlatformViewChannel::HandleMethodCall, a argument for 'dispose' method includes a map. Hence, to get a proper view_id value, it should be parsed by 'id' key.
In PlatformViewChannel::HandleMethodCall, a argument for 'dispose' method includes a map. Hence, to get a proper view_id value, it should be parsed by 'id' key.
In PlatformViewChannel::HandleMethodCall, a argument for 'dispose' method includes a map. Hence, to get a proper view_id value, it should be parsed by 'id' key.
In PlatformViewChannel::HandleMethodCall, a argument for 'dispose' method includes a map. Hence, to get a proper view_id value, it should be parsed by 'id' key.
In PlatformViewChannel::HandleMethodCall, a argument for 'dispose' method includes a map. Hence, to get a proper view_id value, it should be parsed by 'id' key.
In PlatformViewChannel::HandleMethodCall, a argument for 'dispose' method includes a map. Hence, to get a proper view_id value, it should be parsed by 'id' key.
In PlatformViewChannel::HandleMethodCall, a argument for 'dispose' method includes a map. Hence, to get a proper view_id value, it should be parsed by 'id' key.
In PlatformViewChannel::HandleMethodCall, a argument for 'dispose' method includes a map. Hence, to get a proper view_id value, it should be parsed by 'id' key.
In PlatformViewChannel::HandleMethodCall, a argument for 'dispose' method includes a map. Hence, to get a proper view_id value, it should be parsed by 'id' key.
In PlatformViewChannel::HandleMethodCall, a argument for 'dispose' method includes a map.
Hence, to get a proper view_id value, it should be parsed by 'id' key.