Fix NativeVideoStore isBlockingAds for release builds.
All checks were successful
Actions probe / probe (push) Successful in 0s
Release APK / Build & publish release (push) Successful in 8m20s

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:
copilot 2026-09-30 23:25:33 +02:00
parent d8247843c4
commit cff29232c7
2 changed files with 7 additions and 1 deletions

View file

@ -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;