fluttercommunity / fluttercommunity/plus_plugins

[Request]: Define custom actions for sharesheet

Open
#2,482 0 comments 0 reactions 0 assignees View on GitHub
enhancement triage
Dominant language
Dart
Stars
1.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

### Plugin

share_plus

### Use case

It would allow to natively integrate a "create link" feature in _Immich_ without the need to add more screens/ modals.

### Proposal

Starting with Android 14 (API level 34) it is possible to define custom actions, see https://developer.android.com/training/sharing/send#custom-actions.

A new function could be added where the icon, the label, and a listener/ callback function can be defined.

Since only a `Intent.EXTRA_CHOOSER_CUSTOM_ACTIONS` extra has to be added to the share intent, we could define a

I never developed an iOS thus I do not know whether it is possible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.