fluttercommunity / fluttercommunity/plus_plugins

[Request]: Huawei and Honor phones system UI support

オープン
#3,940 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement triage
主要言語
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

share_plus default UI on Honor | OS share sheet on Honor

Workaround that works today

Setting an empty title forces the system OEM sheet:

Dart
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!

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。