-
Notifications
You must be signed in to change notification settings - Fork 598
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the requested feature
Feature Request
It would be great to have the possiblity to enable Flet apps to appear in the share menu when users share content (e.g., links, text) from other applications on iOS and Android.
Example
If the user is on safari and selects share, our icons is visible and if the user taps on it, the app opens and gets the data which the user shared.
There must be some kind of configuration to select which data (text, images, links, ...) the app wants to get (the os must know this) and some kind of api to receive the shared data to process it later.
It this already planned? I think its a very important feature for app development.
This issue is related but it propably means something different: Issue
Suggest a solution
IOS and andoid support this but have different approaches how to handle it.
IOS: Share Extension
On iOS, this feature is known as a Share Extension. The developer creates an additional target in Xcode that registers the app as a destination for specific types of data, such as URLs or text. This enables the app to appear in the share sheet when the user clicks the "Share" button in another app.
Android: Share Intent
On Android, this feature is known as a Share Intent. When an app has a Share Intent filter configured in its manifest, it can be listed in the share menu of other apps. This intent can specify the type of content the app can handle, such as plain text, URLs, or images.
Further ideas and links
Seems like flutter supports this already for andoid:
- Docs: https://docs.flutter.dev/get-started/flutter-for/android-devs#how-do-i-handle-incoming-intents-from-external-applications-in-flutter
- Plugin: https://github.com/d-silveira/flutter-share
Screenshots
No response
Additional details
No response