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

no handler found for channel flutter/restoration #667

Closed
bltavares opened this issue Jul 20, 2022 · 1 comment · Fixed by #669
Closed

no handler found for channel flutter/restoration #667

bltavares opened this issue Jul 20, 2022 · 1 comment · Fixed by #669

Comments

@bltavares
Copy link
Contributor

Hover doctor

hover doctor
hover: Hover version v0.47.1 running on darwin
hover: Sharing packaging tools
hover: darwin-bundle is supported
hover: darwin-dmg is supported
hover: darwin-pkg is supported
hover: Packaging linux-appimage is not supported on darwin
hover: To still package linux-appimage on darwin you need to run hover with the `--docker` flag.
hover: Packaging linux-deb is not supported on darwin
hover: To still package linux-deb on darwin you need to run hover with the `--docker` flag.
hover: Packaging linux-pkg is not supported on darwin
hover: To still package linux-pkg on darwin you need to run hover with the `--docker` flag.
hover: Packaging linux-rpm is not supported on darwin
hover: To still package linux-rpm on darwin you need to run hover with the `--docker` flag.
hover: Packaging linux-snap is not supported on darwin
hover: To still package linux-snap on darwin you need to run hover with the `--docker` flag.
hover: Packaging windows-msi is not supported on darwin
hover: To still package windows-msi on darwin you need to run hover with the `--docker` flag.
hover:
hover: Sharing flutter version
Flutter 3.3.0-0.0.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision f90da9b167 (2 days ago) • 2022-07-18 18:59:23 -0700
Engine • revision 1388adb442
Tools • Dart 2.18.0 (build 2.18.0-271.2.beta) • DevTools 2.15.0
hover: Flutter engine commit: https://github.com/flutter/engine/commit/1388adb442192ce155630eeb6806b74db07dd15e
hover: Finding out the C compiler version
Apple clang version 13.0.0 (clang-1300.0.29.30)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
hover: Sharing the content of go.mod
module gallery/go

go 1.18

require (
	github.com/go-flutter-desktop/go-flutter v0.52.1
	github.com/go-flutter-desktop/plugins/path_provider v0.4.0
	github.com/go-flutter-desktop/plugins/shared_preferences v0.4.3
	github.com/go-flutter-desktop/plugins/url_launcher v0.1.3
	github.com/pkg/errors v0.9.1
)

require (
	github.com/Xuanwo/go-locale v1.1.0 // indirect
	github.com/adrg/xdg v0.4.0 // indirect
	github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6 // indirect
	github.com/go-gl/glfw/v3.3/glfw v0.0.0-20220712193148-63cf1f4ef61f // indirect
	github.com/golang/snappy v0.0.4 // indirect
	github.com/syndtr/goleveldb v1.0.0 // indirect
	golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
	golang.org/x/text v0.3.7 // indirect
)
hover: Sharing the content of hover.yaml
application-name: ""
executable-name: ""
package-name: ""
organization-name: com.gallery
license: ""
target: lib/main_desktop.dart
branch: ""
cache-path: ""
opengl: ""
engine-version: ""
hover: Sharing the content of go/cmd
go/cmd/import-path_provider-plugin.go	go/cmd/import-shared_preferences-plugin.go	go/cmd/import-url_launcher-plugin.go	go/cmd/main.go	go/cmd/options.go

Error output

Using hover run to build my application, I get the following
error:

hover: Using engine from cache
hover: Cleaning the build directory
hover: listing available plugins:
hover:        plugin: [path_provider] can be updated
hover:        plugin: [shared_preferences] can be updated
hover:        plugin: [url_launcher] can be updated
hover: Run `hover plugins get` to update plugins
hover: Bundling flutter app

💪 Building with sound null safety 💪

hover: Compiling 'go-flutter' and plugins
hover: Successfully compiled executable binary for darwin
hover: Build finished, starting app...
hover: Running gallery in debug_unopt mode
flutter: The Dart VM service is listening on http://127.0.0.1:50300/
hover: Connecting hover to 'gallery' for hot reload
go-flutter: no handler found for channel flutter/restoration

Steps to reproduce:

@pchampio
Copy link
Member

@pchampio pchampio reopened this Jul 20, 2022
bltavares added a commit to bltavares/go-flutter that referenced this issue Jul 22, 2022
Since the upgrade to Flutter 3.0 there were new method channels introduced.

This commit implement a couple of them, to reduce the amount of warnings when running the project.

Fixes go-flutter-desktop#667
bltavares added a commit to bltavares/go-flutter that referenced this issue Jul 22, 2022
Since the upgrade to Flutter 3.0 there were new method channels introduced.

This commit implement a couple of them, to reduce the amount of warnings when running the project.

Fixes go-flutter-desktop#667
pchampio pushed a commit that referenced this issue Jul 24, 2022
* Implement new method channels to avoid warnings

Since the upgrade to Flutter 3.0 there were new method channels introduced.

This commit implement a couple of them, to reduce the amount of warnings when running the project.

Fixes #667

* Update restoration.go

Co-authored-by: Pierre Champion | Drakirus <pierrescalade@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants