是手势冲突:
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;
}