Fix NativeVideoStore isBlockingAds for release builds.
build_runner had stripped a hand-patched override from the generated store; implement the VideoPlayerInterface getter on the hand-written base class so assembleRelease succeeds. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
d8247843c4
commit
b84a02003c
2 changed files with 7 additions and 1 deletions
|
|
@ -131,6 +131,12 @@ abstract class NativeVideoStoreBase
|
|||
@readonly
|
||||
var _blockingAds = false;
|
||||
|
||||
/// Exposes [_blockingAds] via [VideoPlayerInterface.isBlockingAds]
|
||||
/// (must live in the hand-written store — build_runner will strip a
|
||||
/// hand-patched override from the `.g.dart`).
|
||||
@override
|
||||
bool get isBlockingAds => _blockingAds;
|
||||
|
||||
@readonly
|
||||
var _paused = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
|||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 5.2.2+72
|
||||
version: 5.2.3+73
|
||||
|
||||
environment:
|
||||
sdk: ^3.9.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue