-
Notifications
You must be signed in to change notification settings - Fork 189
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
fix: flutter_plugin
template generates all platforms no matter the platform flag used
#424
Comments
The same goes with When run for example The workflows directory contains all platforms template and keep my_plugin files even though the plugin name is abc_plugin: I see this file flutter_plugin_bundle.dart has the workflows static path. "my_plugin.yaml, my_plugin_android.yaml, ..." |
Change the template project to reflect the above mentioned changes: VeryGoodOpenSource/very_good_flutter_plugin#41 |
Description
As a developer I can create a
flutter_plugin
template using the CLI and pass which platforms I dont want using the--<platform_name> false
option. This works as expected but the example generated for the plugin will still contain all platforms.Steps To Reproduce
very_good create my_plugin -t flutter_plugin --ios false
my_plugin/my_plugin/example
directory, it will contain an iOS dir.Expected Behavior
That the generated example only has the platforms that I require for my plugin.
The text was updated successfully, but these errors were encountered: