[Request]: share_plus android remove url_launcher
Plugin
share_plus
Use case
url_launcher is not required when compiling android but it will also be loaded into the app's gradle project
Proposal
Remove url_launcher when compiling android
makes sense, feel free to submit a PR if you think you can do it!
url_launcher is in dependency of share_plus_linux and share_plus_web how can we stop it from being importing in android build, Can anybody guid me?
I feel it's only possible if we have federated plugins.
I feel it's only possible if we have federated plugins.
Nope, the dependency would still be there through the other platform dependency unfortunately
Nope, the dependency would still be there through the other platform dependency unfortunately
Then only way is to have platform channels for each😕
Since url_launcher is fully federated, you could in theory depend directly on url_launcher_linux and url_launcher_web instead of url_launcher. You'd have to code against the platform interface directly instead of the app-facing API though.
Would make a PR for it then thanks @stuartmorgan for the idea