fluttercommunity / fluttercommunity/plus_plugins
[Request]: Huawei and Honor phones system UI support
まだ誰も着手していません。
- 主要言語
- Dart
- スター
- 1.9k
- フォーク
- 1.3k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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:
DartSharePlus.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!
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
SharePlus.instance.share と ShareParams.title に対する share_plus の Android 処理から始め、Honor および Huawei デバイスで、デフォルトの経路と文書化されている空のタイトルによる回避策を比較します。Honor または Huawei の端末で変更を検証し、デフォルトで title: '' を指定しなくても OEM のシステムシートが開くことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, dart, flutter
- 領域
- mobile
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100