Matt Boetger
Matt Boetger
@peixinli - what you have discovered is Android's undefined handling of overlapping SurfaceViews. The z-index really needs to be set using one of several API's [read more](https://medium.com/@youmin.tony/handle-multiple-surfaceviews-103b0fccd4bc) - the article...
In normal (non add-to-app), Flutter apps, this is handled by the Android embedder passing touch events into the Flutter engine (https://github.com/flutter/flutter/blob/edf47581fb58e9ea716290908591cd0d4e263ab6/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/AndroidTouchProcessor.java#L155). Unfortunately, Flutter is not receiving these events in the...
I was able prototype something similar to what I described above in [my test app](https://github.com/mboetger/test-add-to-app/compare/main...scroll-issue) (sorry it's not the cleanest diff). It does have two issues that identified: 1. It...
@hellohuanlin - spent the day looking into this. I suspect the two issues I noted above would also be an issue on the [iOS side](https://github.com/flutter/flutter/issues/170020)
https://github.com/user-attachments/assets/1c4eca72-7641-4047-bfc2-288f3edc6e54 Finished working on this proof of concept: https://github.com/mboetger/test-add-to-app/tree/scroll-issue The solutions to the issues mentioned in [the comment above](https://github.com/flutter/flutter/issues/169291#issuecomment-3075977822): 1.) I needed to translate the [global coordinates to the flutter...
@jiahaog Most of the code necessary come from the host app needing to manage it's own touch events and send them to Flutter. What utilities do you propose the Flutter...
Now that the interface PR landed, can you resolve the conflicts and let us know when it is ready for re-review?
> [@mboetger](https://github.com/mboetger): this looks possibly vm-related. Did you mean to transfer it to the IDE issue repository? From Android Flutter triage - it looked IDE related to us. Feel free...
I know why the Google testing is failing - I can fix it. I had to make a similar change in https://github.com/flutter/flutter/pull/176063 in the JNI (will need to rebase it...
> @mboetger, could you please take a look at why Google Testing failed? Working on it.