dengzq
dengzq
> 发生这个异常的机型基本都是 pix 3XL, 有其他人遇到类似问题吗 同pix 3XL 😭
> 需要在混淆文件中添加 -keep class io.flutter.embedding.android.FlutterTextureView { *; } 加混淆应该在你对应项目工程的 proguard-rules 文件进行添加,不过这个问题应该还是低版本系统纹理被异常释放的问题。方便的话提供下可复现的demo ?
> retore surface的时候暴力地判断了6.0及以下系统版本,有可能这个6.0.1系统的机型也有相同的问题。可以尝试的方案:本地拉取你要的 boost 分支,修改 flutterTextureHooker 里面的判断6.0的逻辑,拿当前手机再试一下。
https://user-images.githubusercontent.com/15603319/128522752-4b9f2040-a138-4faf-bb99-271832f12d7c.mov
在第二次进入到flutter页面后,由于前一次进入时已经设置过状态栏颜色,即 _latestStyle 并不为空,所以 第二次进入页面时,`renderView` 在_updateSystemChrome 时并不会真正调用到原生去设置状态栏。 ``` #SystemChrome static void setSystemUIOverlayStyle(SystemUiOverlayStyle style) { assert(style != null); if (_pendingStyle != null) { // The microtask has already been queued; just update...
原意是为了在 用户请求 没回来的情况下,不至于让视图停止在loading的状态,所以允许手动让 刷新布局回到初始位置。下个版本我再增加一个请求的过滤,让回调只走一次。
Is there any update on this issue? Hoping we can have an api to solve this.
Same issue. I think this should be the top issue for flutter web cause it's really a bad experience for h5 users.
学习了~