是手势冲突:
Android有onTouchEvent可以抛异常 
flutter需要用GestureDetector 重写 onTapDown:(e){}
虽然看着没啥用 但是解决 多指滑动报错问题 (android 8.1以下)
return GestureDetector(
    onTapDown: (event) {},
    child: webview());

如果是公司内部 PlatformViews ,那么它的的三指滑动可能被重写了,需要联系内部中台处理。

比如https://github.com/flutter/flutter/pull/72611

阿里的人处理了,因为他们重写了PlatformViews的Android触摸event

//三指奔溃冲突 用触摸点数量判断是否提前返回null,避免冲突。

// These array must have the same length, otherwise below android motion conver will throw exception.

 if (pointers.length != pointerProperties.length ||

        pointers.length != pointerPositions.length) {

      return null;

}

Logo

开源鸿蒙跨平台开发社区汇聚开发者与厂商,共建“一次开发,多端部署”的开源生态,致力于降低跨端开发门槛,推动万物智联创新。

更多推荐