You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expose "3D Touch" handlers in GestureDetector #4838
The pressure property on PointerData is wired up in the engine on iOS/Android. I don't think the framework makes use of this in higher layers of the stack.
@eseidel Does flutter also support 3D touch shortcuts in iOS when you hard press the app icon? And also in Android, when we long press app icon (on devices running Android 7.0 and higher), they show app shortcuts.
So, does flutter provide support for both platforms?
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 flutter doctor -v and a minimal reproduction of the issue.
Activity
eseidelGoogle commentedon Nov 17, 2017
FYI @rock3r
chinmaygarde commentedon Jun 21, 2018
The
pressureproperty onPointerDatais wired up in the engine on iOS/Android. I don't think the framework makes use of this in higher layers of the stack.[-]Way to respond to 3D touch on iOS[/-][+]Expose "3D Touch" handlers in GestureDetector[/+]xster commentedon Oct 23, 2018
The original FR title was a bit too generic. Changed it to a more specific task of adding the responder to the gesture detector in this issue.
Let specific usages of it be in other specific bugs like #17030 since native versions of https://flutter.io/widgets/cupertino/ generally don't respond to 3d touch.
dark-chocolate commentedon Dec 13, 2018
@eseidel Does flutter also support 3D touch shortcuts in iOS when you hard press the app icon? And also in Android, when we long press app icon (on devices running Android 7.0 and higher), they show app shortcuts.
So, does flutter provide support for both platforms?
xster commentedon Dec 14, 2018
No, quick actions would be an orthogonal issue (currently fulfilled by a package https://github.com/flutter/plugins/tree/master/packages/quick_actions)
dark-chocolate commentedon Dec 15, 2018
@xster Thank you so much, I didn't know the plugin. Really appreciate your help :)
github-actions commentedon Aug 31, 2021
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
flutter doctor -vand a minimal reproduction of the issue.