Skip to content

Native Video Ads isn't paused when the tab isn't active (switched to another tab) on Android #1047

Description

@ultraon

[REQUIRED] Step 1: Describe your environment

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.3, on macOS 13.6.2 22G320 darwin-arm64, locale en-UA)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] IntelliJ IDEA Community Edition (version 2023.3.4)
[✓] VS Code (version 1.85.1)
[✓] Connected device (5 available)

Plugin Version

v4.0.0

[REQUIRED] Step 2: Describe the problem

Steps to Reproduce

The problem is simple. And it is 100% reproducible on Android (iOS works well).

Steps to reproduce:

  • Add BottomNavigationBar with a few tabs
  • Integrate Native Template Ads on the 1st tab
  • use the test ad_unit_id: /6499/example/native-video and load the ads, video Ads should be played
  • unmute sound (if it is muted) on the Ads Video frame
  • switch to another tab

Expected: The video Ads playback should be paused, the sound shouldn't be playing.
Actual: The video Ads playback continues playing, and the sound is playing.

On iOS it works properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    native adIssues related to Native Adplatform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions