Skip to content

v1.6.6 — iOS: getPictureInPictureStatus asks the native side

Choose a tag to compare

@DaniKemper010 DaniKemper010 released this 15 Oct 17:05
· 100 commits to master since this release
a6608e8

Fixed

  • iOS: getPictureInPictureStatus() asks the native side. It returned
    the last pipStart/pipStop event, so a pipStop that never reached Dart
    left isPipEnabled on forever, for example after the window outlived its
    screen. It now asks the controller's native views, including a view kept
    alive for its open window, and replays the missed pipStop. It only clears
    the flag: pipStop is sent before the window finishes closing.