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

Polish HostMessages #4515

Merged
merged 1 commit into from
Jun 10, 2016
Merged

Polish HostMessages #4515

merged 1 commit into from
Jun 10, 2016

Conversation

abarth
Copy link
Contributor

@abarth abarth commented Jun 10, 2016

Cleans up a few style nits in hello_services and adds support for automatic
JSON encoding and decoding to the HostMessages interface.

@abarth
Copy link
Contributor Author

abarth commented Jun 10, 2016

@jason-simmons @Hixie


void _onReceivedLocation(String json) {
Map<String, num> reply = JSON.decode(json);
Map<String, num> reply = await HostMessages.sendJSON('getLocation', message);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

won't the returned Map be a Map<String, dynamic> ?

@Hixie
Copy link
Contributor

Hixie commented Jun 10, 2016

LGTM.
ObjectiveC changes RSLGTM.

Cleans up a few style nits in hello_services and adds support for automatic
JSON encoding and decoding to the HostMessages interface.
@abarth abarth merged commit 0b6df63 into flutter:master Jun 10, 2016
@abarth abarth deleted the host_messages branch June 10, 2016 22:04
cdotstout pushed a commit to cdotstout/flutter that referenced this pull request Apr 3, 2018
…r#4515)

* Roll Dart to version 8d7219a5b6a7c2505ff57f23e7cf80da4c724512

* Update third_party license file.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants