-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Crashes on full-screen button pressed for LANDSCAPE! #46
Comments
|
The Error ☝️ |
`import 'package:flutter/material.dart'; void main() { class MyApp extends StatelessWidget { class MyHomePage extends StatefulWidget { @OverRide class _MyHomePageState extends State { String _videoId = "BBAyRBTfsOU"; void listener() { @OverRide @OverRide
} void _showThankYouDialog() { |
The Code. ☝️ |
Note: The App also crashes on multiple Orientation Changes |
@punkooz What's your device brand and model ? There's a bug in flutter for chinese device mnufacturer regarding Platform Views. There's also a PR for it. This crashing issue will only fix after the PR rolls into Flutter engine. |
Device: Any workaround till the bug gets fixed? |
I'm having the exact same issue with a Samsung S8+ , Android v9, youtube_player_flutter: ^4.1.0 |
There's no workaround currently. Fixed the fullscreen mechanism with Version 5 to minimize the crash. |
Finally fixed with Version 6.0.0. |
Hey,
Thanks for the package!
But there's an issue which is a very fundamental one:
The app functions nicely, until the ** Full-Screen Button for Landscape mode** is pressed
Actions to crash the app:
Open App --> Let the video play --> Press FullScreen Icon --> App Crashes
Request you to please look into the issue.
Any help is hugely appreciated!
Thanks.
The text was updated successfully, but these errors were encountered: