Skip to content
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

[Request]: Define custom actions for sharesheet #2482

Open
l0nax opened this issue Dec 29, 2023 · 0 comments
Open

[Request]: Define custom actions for sharesheet #2482

l0nax opened this issue Dec 29, 2023 · 0 comments
Labels
enhancement New feature or request triage

Comments

@l0nax
Copy link

l0nax commented Dec 29, 2023

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.

@l0nax l0nax added enhancement New feature or request triage labels Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

1 participant