-
Notifications
You must be signed in to change notification settings - Fork 550
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
Gallery stopped working on Android after Flutter 1.20 upgrade #304
Comments
Yup, this is also happening to me. |
flutter 1.2 or 1.20? |
If you knew the math you wouldn't be asking:), but if you insist, it is 1.20.0 and also confirmed on 1.20.1 |
Gonna look into it asap.
And if you knew package versioning semantics you wouldn't be that rude. |
Ca I see your flutter doctor? Couldnt reproduce over on channel master SDK version 1.21 |
Please note: This issue is only on Android phone. On iPhone it works as expected. Doctor summary (to see all details, run flutter doctor -v): [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) Thanks |
Is the example gallery working fine for you?
On an Android 10 device and simulator, I can not reproduce this bug. |
Running example on multiple devices. Here is the summary: I wonder what device was used by other user who was able to reproduce it. |
May be relate to: #293 |
i think you can check this |
News about this:After some days over this, I think we can have two approaches to fix, the red and the blue pill. The red pill:We (PhotoViewGestureDetector) fight harder but wiser in the gesture arena. Happens that the
This is where we fight harder. We can modify the This brings the problem that we always will win over the This is where we fight wiser. The bug lies in the fact that the current implementation of our recognizer and I'm working on that here: https://github.com/renancaraujo/photo_view/compare/detector-refactor The Blue pill:We (PhotoViewGestureDetector) don't fight in the gesture arena. Rather than that, we make the GestureRecognizer from the gallery's PageView give up in certain conditions. I haven't worked on this approach yet. |
Any progress on this issue? |
#326 should fixed it. You can try to ref the lib in your pubspec.yaml as the following code:
|
Cannot browse gallery images. Images do not respond to slides and taps, only to resize.
This is on Android only. iPhone works as expected.
This started after Flutter 1.2 upgrade.
The text was updated successfully, but these errors were encountered: