go-flutter-desktop / go-flutter

Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.
https://hover.build/
BSD 3-Clause "New" or "Revised" License
5.87k stars 283 forks source link

New system channels #503

Closed provokateurin closed 4 years ago

provokateurin commented 4 years ago
go-flutter: no method handler registered for method 'routeUpdated' on channel 'flutter/navigation'

https://github.com/flutter/flutter/pull/60299

chunhtai commented 4 years ago

This should not have throw because we also change the navigation channel to OptionalMethodChannel. Do you have a repro?

provokateurin commented 4 years ago

It only happened once seemingly random. I've never seen it again.

stuartmorgan commented 4 years ago

This should not have throw because we also change the navigation channel to OptionalMethodChannel.

@chunhtai This isn't throwing; that message is coming from the go-flutter-desktop embedding, which logs every unrecognized method channel call.

I'm not sure why this embedding does that, given that it's at odds with the concept of OptionalMessageChannel, but it's not a Flutter issue.