Skip to content
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

[Android] Flutter 3.16 & 3.19 make the widget invisible on Android < 10. #912

Open
timbotimbo opened this issue Jan 7, 2024 · 4 comments
Labels
android This issue is specific to the Android Platform. bug This issue refers to a bug in the plugin Flutter issue/bug Problem caused by Flutte that we can't fix

Comments

@timbotimbo
Copy link
Collaborator

Describe the bug
When using this widget with the default settings on Flutter 3.16, the widget is invisible on Android < 10.
I recommend not going past Flutter 3.13.9 for now.

See this issue in the Flutter repo for more details.
Looks like it is a Flutter bug.

To Reproduce
Steps to reproduce the behavior:

  1. Use Flutter 3.16.5
  2. Run any project with flutter_unity_widget
  3. On Android >= 10 everything is normal, on Android <10 the widget is invisible.

Screenshots

3.13.9 Visible 3.16.5 Invisible
3.13.9.mp4
3.16.5.mp4

Unity:

  • Any Unity version

Smartphone
Devices affected during my tests:

  • Android 9 emulator
  • Samsung Galaxy S8, Android 9
  • Samsung Galaxy J5, Android 6.
  • WileyFox Swift, Android 7.2.1
@timbotimbo timbotimbo added bug This issue refers to a bug in the plugin android This issue is specific to the Android Platform. Flutter issue/bug Problem caused by Flutte that we can't fix labels Jan 7, 2024
@timbotimbo
Copy link
Collaborator Author

timbotimbo commented Jan 19, 2024

The fix might make it into the next Flutter release, so it is best to completely skip 3.16.

It seems to be fixed as of tag 3.20.0-0.0.pre in the flutter repo.

@timbotimbo
Copy link
Collaborator Author

Not fixed on the new 3.19 stable.
it is fixed on public beta 3.20.0-1.1.pre

@timbotimbo timbotimbo changed the title [Android] Flutter 3.16 makes the widget invisible on Android < 10. [Android] Flutter 3.16 & 3.19 make the widget invisible on Android < 10. Feb 16, 2024
@Zhang-Zhi-Jie
Copy link

the same question

@timbotimbo
Copy link
Collaborator Author

Fixed in Flutter 3.22.0 stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android This issue is specific to the Android Platform. bug This issue refers to a bug in the plugin Flutter issue/bug Problem caused by Flutte that we can't fix
Projects
None yet
Development

No branches or pull requests

2 participants