Skip to content

Comments

Convert project to package from plugin package#21

Open
widarlein wants to merge 1 commit intobabstrap:mainfrom
widarlein:fix/convert-to-package
Open

Convert project to package from plugin package#21
widarlein wants to merge 1 commit intobabstrap:mainfrom
widarlein:fix/convert-to-package

Conversation

@widarlein
Copy link

Hi!

I converted this project to a package instead of a plugin since it doesn't use any platform specific code. I had problem with differences in Java version and I noticed this issue in the project #15 which spoke of the kotlin version. Since this is a flutter only package, there is no need for android or ios specific code, so I removed it thereby solving the whole issue.

You can read more about packages vs plugins here https://docs.flutter.dev/packages-and-plugins/using-packages

Work done

  • removed android folder
  • removed ios folder
  • removed plugin config in pubspec.yaml

Tested and works well on android (no reason not to work well on any other platform) built on Flutter (Channel stable, 3.19.1, on macOS 14.4 23E214 darwin-arm64, locale en-SE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant