fluttercommunity / fluttercommunity/plus_plugins
[Request]: Huawei and Honor phones system UI support
- Vorherrschende Sprache
- Dart
- Sterne
- 1.9k
- Forks
- 1.3k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### 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!
Beitragsleitfaden
Rechercherichtung
Beginne mit der Android-Behandlung von share_plus für SharePlus.instance.share und ShareParams.title und vergleiche den Standardpfad mit dem dokumentierten Workaround mit leerem Titel auf Honor- und Huawei-Geräten. Überprüfe die Änderung auf einem Honor- oder Huawei-Telefon und bestätige, dass der Standard die OEM-Systemauswahl öffnet, ohne title: '' zu erfordern.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, dart, flutter
- Bereich
- mobile
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 52/100