fluttercommunity / fluttercommunity/plus_plugins
[Request]: Huawei and Honor phones system UI support
- Lingua principale
- Dart
- Stelle
- 1.9k
- Fork
- 1.3k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Plugin
share_plus
### Use case
Honor / Huawei: share_plus shows a plain chooser instead of the system OEM share sheet
Device: Honor phone
On Honor (and Huawei) devices, share_plus currently shows a plain Android chooser UI that looks different from the system / OEM share sheet used by native apps.
Current share_plus UI (default) | Expected OS / OEM share sheet
|
Workaround that works today
Setting an empty title forces the system OEM sheet:
SharePlus.instance.share(
ShareParams(
// ...
title: Platform.isAndroid ? '' : null, // required on Honor/Huawei to get the proper system sheet
),
);### Proposal
Request
Could share_plus default to the system / OEM share sheet on Honor and Huawei devices (instead of the plain chooser), so we don’t need the title: '' hack?
Thanks!
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with share_plus's Android handling of SharePlus.instance.share and ShareParams.title, comparing the default path with the documented empty-title workaround on Honor and Huawei devices. Verify the change on an Honor or Huawei phone and confirm the default opens the OEM system sheet without requiring title: ''.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android, dart, flutter
- Ambito
- mobile
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 52/100