Split the package for native Dart support #90
Replies: 2 comments
-
I agree that a separation would be nice, but I think it would take some effort to find a good solution. A concern that comes to my mind is that there is a dependence on |
Beta Was this translation helpful? Give feedback.
-
We could migrate from As we already have the |
Beta Was this translation helpful? Give feedback.
-
This is something I've been thinking about after seeing this issue on the repo we've initially forked: poitch/dart-matomo#41
The idea would be to move Flutter code and dependencies to a separate package (e.g.:
matomo_tracker_flutter
) and only keep pure Dart code inmatomo_tracker
. The biggest change would be to convert this repository into a monorepo (probably managed using melos) and redirect the userbase to the new Flutter package to keep using it easily inside their Flutter project.This would allow for a better separation of responsibilities and make the whole logic useable inside 3rd party Dart frameworks.
Beta Was this translation helpful? Give feedback.
All reactions