Closed ATeal closed 3 years ago
@ATeal where did you run this command? In the plugin directory or the flutter app's directory?
It seems very odd that this change is necessary. Especially the getPlatformVersion()
should not be necessary. Any thoughts?
@basel-sader I ran it within the plugin directory, I had to do some shenadagins because the plugin name doesn't match the actual git project name if thats causing you any confusion
@pikaju That was part of the generated code so I just left it in there, I can remove and test if you'd like
Edit: Sorry if my comments are delayed only check github so often these days with most of my 9-5 being on gitlab
Please accept!
I'll merge it for now. @ATeal if you find the time to test it without the extra Dart file, that would be much appreciated.
@pikaju it seems that web support broke in one of the later versions: https://github.com/pikaju/flutter-maps-launcher/issues/6
I resolved this via
flutter create --template=plugin --platforms=web .
as described here: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#add-support-for-platforms-in-an-existing-plugin-projectAdditionally it looks like web is now requiring a trailing slash, not sure when that got changed.