0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Flutter】iOS26でshare_plusのsharePositionOriginが必須になったかも

0
Last updated at Posted at 2026-02-02

Flutterの共有のライブラリ(share_plus)について。

iOS26で、sharePositionOrigin が未指定だとPlatformExceptionが出る。

PlatformException(error, sharePositionOrigin: argument must be set, {{0, 0}, {0, 0}} must be non-zero and within coordinate space of source view: {{0, 0}, {390, 844}}, null, null)

sharePositionOriginはiPadのみ必須だったが、
iOS26で共有のダイアログの見た目が変わったので、
iPhoneでも表示元となる座標の指定が必要になったと思われる。

Androidは未指定でも平気。

環境

  • Flutter 3.38.5
  • Xcode 26.2
  • iOS 26.2.1

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?