Skip to content

plugin registry, completely reworked platform channels, test plugin #5

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

Merged
merged 4 commits into from
Sep 29, 2019

Conversation

ardera
Copy link
Owner

@ardera ardera commented Sep 29, 2019

  • plugin registry featuring hardcoded plugins
  • platform channels now support all of the following: String-, Binary-, StandardMessage-, StandardMethod-, JSONMessage- & JSONMethod-codec, including StandardMethodCodec & JSONMethodCodec responses and sending and receiving "not implemented" messages.
  • testplugin for testing the functionality of StandardMethod- & JSONMethodCodec.
  • helper functions for handling StdMsgCodec- & JSONMsgCodecValues
  • ServicesPlugin for handling some service messages, but this is just a stub right now.

ardera and others added 4 commits September 22, 2019 10:31
- completely reworked platform channels
- added support for JSON Method Calls
- added support for JSON & Standard Method Call responses
- implemented basic plugin registry with hardcoded plugin support
- started working on services plugin
- added test plugin for testing JSON/Standard method calls & responses
- added a notImplemented response
- support for JSON/Standard Method call envelopes
- added more code documentation
- added jsobject_get, jsvalue_equals, stdmap_get, stdvalue_equals
- added kNotImplemented codec for detecting when a flutter-side platform message
handler is not present, or for notifying there's no plugin listening on
that channel
- made testplugin check for kNotImplemented responses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant