[Android] Flutter 3.16 & 3.19 make the widget invisible on Android < 10.
timbotimbo opened this issue · 4 comments
timbotimbo commented
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:
- Use Flutter 3.16.5
- Run any project with flutter_unity_widget
- 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 commented
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 commented
Not fixed on the new 3.19 stable.
it is fixed on public beta 3.20.0-1.1.pre
Zhang-Zhi-Jie commented
the same question
timbotimbo commented
Fixed in Flutter 3.22.0 stable