-
Notifications
You must be signed in to change notification settings - Fork 663
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
hover auto-import! #153
hover auto-import! #153
Conversation
This template is used to auto-import plugin upon `flutter plugins get`. Adding this file to your project, enables users to easily import this plugin into they go-flutter/hover project.
Hi, thank you for keeping this updated @Drakirus. Do you think that additional information related to this, should be added to the Wiki? |
Humm, that a great question. Maybe change the bullet 4 in https://github.com/miguelpruivo/flutter_file_picker/wiki/Setup#--desktop-go-flutter and tell people to add this plugin by using: |
@Drakirus so basically all line from that bullet snippet should be removed as well in place of |
YES.
When running
is injected, so both approach will work.
While we could keep both steps, this is really not necessary, I'd say (changed my mind after your comment), removing the legacy is better, the steps to install this plugin are much easier.
Not replace, it's another way to import plugins, an automatic one. If you have any other questions (was the Versioning part clear?) please let me know! |
All clear @Drakirus. Merging into |
This template is used to auto-import plugin upon `flutter plugins get`. Adding this file to your project, enables users to easily import this plugin into they go-flutter/hover project.
* Better handling on Android of buggy file managers that return no intent when canceling the file selection even though it returns Activity.RESULT_OK (#111) * removes deprecated Android SDK code and fixes an issue that could prevent some downloaded files from being picked * adds getMultiFile and prevents UI blocking when picking large remote files * updates readme file * fixes an issue that could prevent internal storage files from being properly picked * Update go/go.mod dependency versions (#144) * feat: go-flutter, add hover plugin template (#153) This template is used to auto-import plugin upon `flutter plugins get`. Adding this file to your project, enables users to easily import this plugin into they go-flutter/hover project. * Update go-flutter dependencies (#162) * Update issue templates * Update go-flutter dependencies * Updates version and README file
This template is used to auto-import plugin upon
hover plugins get
.Adding this file to your project, enables users to easily import this
plugin into their go-flutter/hover project.
How to test this:
go to the example of this project
Init the hover project:
Note that the plugin is in 'dev' move, it's because we are using the Golang source code located on the filesystem for dev purposes.
The check for plugins can be also made by running
hover plugins list
.import missing plugins (
file_picker
)Run!
And test the desktop plugin!
Version management! (optional, very recommended)
https://pub.dev/ is inherently versioning any plugin, as go-flutter-desktop/go-flutter#191 (comment) inform, we cannot plug external build tool (like hover) into flutter and thus pub.dev.
To handle plugin version management for go-flutter/hover plugins, you must use the built-in golang module system.
It's very simple, golang wiki, TL;DR: create a tag named
go/$VERSION
.To create and push this tag you can use
hover
:hover publish:
or simply create a github release flutter_file_picker/releases named
go/v1.4.2
(just like done in https://github.com/Drakirus/flutter_file_picker/releases)