-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
AndroidView Exception #29294
Comments
Hi, could you please confirm if this problem still exists with the latest versions on stable or master? Thanks a lot |
This comment has been minimized.
This comment has been minimized.
@duzenko What do you need to to to get that error? Also three finger drag? |
This comment has been minimized.
This comment has been minimized.
I make screenshot in Xiaomi device (while google map module is opened). (swipe down with 3 fingers). These gestures always throw such exception. |
Is there a better way to solve the problem so far. |
Same issue as above LOG with latest version of flutter stable channel and latest version of google_maps_flutter package. Take a look at #20517 solved the problem with a workaround, modify the file |
Same issue with Flutter v1.12.13+hotfix8, stack trace is:
|
Hi all Given these prs Thank you |
I have same bug, when i use |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! |
when I hold down on 2 View have flutter doctor: `Doctor summary (to see all details, run flutter doctor -v): [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) |
I solved this problem by a sinple modification in packages/flutter/lib/src/rendering/platform_view.dart: bool isSinglePointerAction(PointerEvent event) =>
//change from
!(event is PointerDownEvent) && !(event is PointerUpEvent);
//to
!(event is PointerDownEvent) && !(event is PointerUpEvent) && !(event is PointerCancelEvent); |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
I used AndroidView to call the native map component, which happens when I use a three-finger drag.
Logs
The text was updated successfully, but these errors were encountered: