[Request]: In share_plus, make it possible to pass `excludedActivityTypes` to iOS
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start by locating the share_plus Dart API and its iOS native implementation, then trace how sharing options reach UIActivityViewController. Done means an optional iosExcludedActivityTypes parameter is accepted, passed to iOS, and used to populate excludedActivityTypes without breaking existing calls.
Written by the indexing model from the issue text.
Description
Plugin
share_plus
Use case
In Order to fullfill the MASVS-PLATFORM-1 requirement, one should, according to MASTG-TEST-0071 ensure that when sharing is used, only desired activity types are allowed.
For native iOS, this is done by adding the excluded ActivityTypes to UIActivityViewController.excludedActivityTypes before presenting the controller. However, the share_plus plugin currently does not allow to pass this information to the native implementation.
Proposal
I would propose to introduce a new optional named parameter iosExcludedActivityTypes that takes a nullable list of a dart-mapped ActivityTypes enum. This parameter can then be passed to the iOS implementation and be used there to populate the UIActivityViewController.excludedActivityTypes. It would be a simple, non breaking change.
- Dominant language
- Dart
- Stars
- 1.9k
- Forks
- 1.3k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 16
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fluttercommunity/plus_plugins
-
bug triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
fluttercommunity/plus_plugins#3994 ·
Maintainers usually reply within 1 day
-
[package_info_plus]: Use Flutter's compile-time build name/number on web instead of version.jsonOpen
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
fluttercommunity/plus_plugins#3989 ·
Maintainers usually reply within 1 day
-
enhancement triage
Difficulty 4/5 3-5 days Newbie friendliness 55/100
fluttercommunity/plus_plugins#3976 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
fluttercommunity/plus_plugins#3974 · 1 reaction ·
Maintainers usually reply within 1 day
-
enhancement triage
Difficulty 5/5 Over a week Newbie friendliness 48/100
fluttercommunity/plus_plugins#3973 ·
Maintainers usually reply within 1 day
All issues in fluttercommunity/plus_plugins
Similar issues
-
Flutter Improvement Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
getsentry/sentry-dart#4061 · 2 comments ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rokwire/illinois-app#6060 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
openfoodfacts/smooth-app#7817 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
flutter/agent-plugins#245 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100