Bug Report: Media3 Version Mismatch Error (1203)
Description
After successfully generating OTP and navigating to the player screen, the video player fails to load and throws an error both on the UI and in the debug console.
Error Details
VdoPlayerUIFragment(14685): onLoadError code: 1203: Unexpected Media3 version. Expected 1.8.0, but found 1.9.2
Steps to Reproduce
- Launch the app
- Generate OTP and complete login
- Navigate to the video player screen
- Observe the error on player UI and console logs
Expected Behavior
The video player should load and play content without any Media3 version conflicts.
Actual Behavior
The player fails to load and throws a version mismatch error:
Expected Media3 version 1.8.0, but found 1.9.2
Environment Details
Flutter
Android Configuration
- compileSdk: 36
- minSdk: 25
- targetSdk: 35
- Android Gradle Plugin (com.android.application): 8.11.1
- Kotlin Version (org.jetbrains.kotlin.android): 2.2.20
Additional Context
- The issue appears related to Media3 dependency mismatch between the player SDK and project dependencies.
- Possibly caused by transitive dependency resolving to a newer Media3 version (1.9.2).
Troubleshooting Done
- Verified Flutter and Android configurations
- Confirmed error consistently occurs after OTP flow
Request
Please help with:
- Correct way to align Media3 versions
- Recommended dependency versions compatible with this player SDK
- Any Gradle configuration required to resolve this conflict
Bug Report: Media3 Version Mismatch Error (1203)
Description
After successfully generating OTP and navigating to the player screen, the video player fails to load and throws an error both on the UI and in the debug console.
Error Details
VdoPlayerUIFragment(14685): onLoadError code: 1203: Unexpected Media3 version. Expected 1.8.0, but found 1.9.2
Steps to Reproduce
Expected Behavior
The video player should load and play content without any Media3 version conflicts.
Actual Behavior
The player fails to load and throws a version mismatch error:
Expected Media3 version 1.8.0, but found 1.9.2
Environment Details
Flutter
Android Configuration
Additional Context
Troubleshooting Done
Request
Please help with: