-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat(connectivity_plus): Add Swift Package Manager support #3173
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example pubspec should not be changed.
Instead, use melos bootstrap
as explained in the contributors document to setup the example project.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would removing this code cause an issue on older apps still using Obj-C?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sure on 99% it won't. Example project works without changing anything, support for swift in plugin was here already.
packages/connectivity_plus/connectivity_plus/example/pubspec.yaml
Outdated
Show resolved
Hide resolved
Thank you Miguel, will educate myself with melos :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and everything works good.
Thanks for another contribution!
ref: #3152
Another spm support
removed obsolete objc code, moved plugin to swift only, which avoid mixing swift project