Skip to content

Commit 0093e2e

Browse files
[video_player_android] Add note about Android platform views known issue (#9312)
Just a README update to flag the [known issue](flutter/flutter#164899) regarding the platform view mode implementation. The issue is affecting [the optional platform view mode](flutter/flutter#86613), but the decision is to go ahead with the release including this note. cc: @stuartmorgan-g. I'm not exactly sure about the versioning regarding this, but I think it should be visible on pub, so bumping the version is IMO appropriate. ## 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.
1 parent c637ecb commit 0093e2e

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

packages/video_player/video_player_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.8.7
2+
3+
* Adds note about known issue regarding platform views to the README.
4+
15
## 2.8.6
26

37
* Fixes a [bug](https://github.com/flutter/flutter/issues/165149) where the `isBuffering` flag

packages/video_player/video_player_android/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,10 @@ so you do not need to add it to your `pubspec.yaml`.
1111
However, if you `import` this package to use any of its APIs directly, you
1212
should add it to your `pubspec.yaml` as usual.
1313

14+
## Known issues
15+
16+
Using `VideoViewType.platformView` is not currently recommended on Android due to a known [issue][3] affecting platform views on Android.
17+
1418
[1]: https://pub.dev/packages/video_player
1519
[2]: https://flutter.dev/to/endorsed-federated-plugin
20+
[3]: https://github.com/flutter/flutter/issues/164899

packages/video_player/video_player_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: video_player_android
22
description: Android implementation of the video_player plugin.
33
repository: https://github.com/flutter/packages/tree/main/packages/video_player/video_player_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
5-
version: 2.8.6
5+
version: 2.8.7
66

77
environment:
88
sdk: ^3.7.0

0 commit comments

Comments
 (0)