fluttercommunity / fluttercommunity/plus_plugins
[Request]: Huawei and Honor phones system UI support
- Dominant language
- Dart
- Stars
- 1.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
### 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!
Contributor guide
Research direction
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: ''.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart, flutter
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100