fluttercommunity / fluttercommunity/plus_plugins

[Request]: Android support for `Intent.createChooser` for `ACTION_EDIT`

Aperta
#1,723 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
enhancement triage
Lingua principale
Dart
Stelle
1.9k
Fork
1.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Plugin
share_plus

### Description
We would like to request to have the plugin support for `Intent.createChooser` with `ACTION_EDIT` as well as the `ACTION_SEND`.

### Problematic Use Case
As an example use case, in Android I want to `Share` a word docx file to `Microsoft Word` to open the file, but `Microsoft Word` doesn't appear in the list of apps to share to.

For iOS, by using the [`UIActivityViewController`](https://developer.apple.com/documentation/uikit/uiactivityviewcontroller), it seems to achieve the equivalent of `Intent.createChooser` of both `ACTION_SEND` and `ACTION_EDIT`. In the case of sharing a word docx file, I can share it to `Microsoft Word` and edit the file with it.

It would be great to have parity between iOS and Android.
And my request/question is to have (or whether it's possible to have) support for Android to have parity with iOS functionality.

### Other Solutions Considered
I have actually attempted to achieve this function of `Intent.createChooser` with `ACTION_EDIT` through `android_intent_plus`, but wasn't successful.

I have no Android native experience outside of Flutter, so it could be due to my unfamiliarity.
If `android_intent_plus` is the suggested solution to my case, please let me know, and any guidance on it (if possible) would be greatly appreciated.

### Proposal
We are currently using https://github.com/enfold/file_edit_launcher to achieve this use case of `Intent.createChooser` with `ACTION_EDIT`.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia esaminando l’implementazione Android di share_plus e il modo in cui gestisce attualmente Intent.createChooser con ACTION_SEND. Confronta il comportamento richiesto di ACTION_EDIT con l’approccio tentato con android_intent_plus e la soluzione file_edit_launcher menzionata nella issue. Il lavoro è completato quando Android può aprire i file modificabili supportati in app come Microsoft Word, mantenendo il comportamento di condivisione esistente e la parità con iOS.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, dart, flutter
Ambito
mobile-dev
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.