Skip to content

Expose "3D Touch" handlers in GestureDetector #4838

Closed

Description

@sethladd

iOS has a "3D touch" feature. We could allow developers to respond to a 3D touch from within a Flutter app.

Activity

  1. added
    c: new featureNothing broken; request for a new capability
    platform-iosiOS applications specifically
    a: fidelityMatching the OEM platforms better
    on Jul 7, 2016
  2. modified the milestone: on Sep 12, 2016
  3. modified the milestones: , on Jan 31, 2017
  4. added
    engineflutter/engine related. See also e: labels.
    on Nov 1, 2017
  5. eseidelGoogle commented on Nov 17, 2017

    @eseidelGoogle
    Contributor
  6. chinmaygarde commented on Jun 21, 2018

    @chinmaygarde
    Contributor

    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.

  7. changed the title [-]Way to respond to 3D touch on iOS[/-] [+]Expose "3D Touch" handlers in GestureDetector[/+] on Oct 23, 2018
  8. xster commented on Oct 23, 2018

    @xster
    Member

    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.

  9. dark-chocolate commented on Dec 13, 2018

    @dark-chocolate

    @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?

  10. xster commented on Dec 14, 2018

    @xster
    Member

    No, quick actions would be an orthogonal issue (currently fulfilled by a package https://github.com/flutter/plugins/tree/master/packages/quick_actions)

  11. self-assigned this
    on Dec 14, 2018
  12. dark-chocolate commented on Dec 15, 2018

    @dark-chocolate

    @xster Thank you so much, I didn't know the plugin. Really appreciate your help :)

  13. github-actions commented on Aug 31, 2021

    @github-actions

    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.

  14. locked as resolved and limited conversation to collaborators on Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

a: fidelityMatching the OEM platforms betterc: new featureNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions