Skip to content

[Bug Report]: Android端末にてWebShareAPIが正しく動作しない #116

@nekono-dev

Description

@nekono-dev

What's the matter?

Android実機端末において、WebShareAPIが正しく動作しない。
具体的には

  • テキストのみのポストをWebShareAPIで共有した場合 → 正常に処理
  • 画像+テキストのポストをWebShareAPIで共有した場合 → テキストがオミットされてしまう
  • 画像のみのポストをWebShareAPIで共有した場合 → 正常に処理
  • URLつきのポストをWebShareAPIで共有した場合 → 正常に処理
    という動作となっている。

When/How the issue was occured?

  1. 画像と文字を含むポストを設定
  2. 共有メニューでアプリ版Xを開くオプションをON
  3. 投稿処理

What environmet you using to cause issue?

Android端末ほとんどの実機

  • Pixel 7 Pro
  • Nothing Phone?
  • moto g(50)
    ...など

Android 11, 13 エミュレータでは確認できず

Can you occur issue again?

再現性あり。

時々以下のようなエラーが発生する様子。

NotAllowedError: Failed to execute 'share' on 'Navigator': Must be handling a user gesture to perform a share request

処理順序が影響?

Other infomation pls.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions