Skip to content

video_player_android-v2.12.4

@stuartmorgan stuartmorgan tagged this 13 Nov 10:56
Converts `FVPVideoEventListener` and the `FVPEventBridge` implementation from Obj-C to Swift, and now that it uses Swift, adopts Pigeon's Swift event channel support to eliminate the use of stringly-typed data.

The overhauled Dart unit test code is taken directly from the rewrite that I did previously for `video_player_android`'s Kotlin Pigeon event channel conversion, with minimal changes to match the iOS test cases.

Also includes a minor adjustment to `video_player_android` to add missing unregistration code to avoid a minor native object leak, matching changes made on the iOS side during review. This requires a Pigeon update to pick up the functionality needed to unregister.

Part of https://github.com/flutter/flutter/issues/119105

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Assets 2
Loading