Skip to content

Switch to using the async NDK APIs for hardware key events #312

Description

@collinjackson

This will allow applications to say whether or not they handled the event. Right now if they listen for events at all, we assume they are handling all events, so default behaviors for things like back button don't work.

Activity

  1. collinjackson commented on Nov 11, 2015

    @collinjackson
    ContributorAuthor

    For example this is what happens when you press the back button in the raw_keyboard.dart example. We should allow the app to declare that it didn't handle this event so it ends up closing the app.

    image

  2. added
    c: contributor-productivityTeam-specific productivity, code health, technical debt.
    engineflutter/engine related. See also e: labels.
    on Nov 12, 2015
  3. modified the milestone: on Feb 3, 2016
  4. sethladd commented on Dec 2, 2016

    @sethladd
    Contributor

    Curious if this is still planned? I see the referenced PR has been merged.

  5. Hixie commented on Jun 6, 2017

    @Hixie
    Contributor

    We're going to close this because we don't have a specific need for it at the moment. If you desire this to be addressed please file a new bug and we'll track your specific need.

  6. github-actions commented on Aug 17, 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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: contributor-productivityTeam-specific productivity, code health, technical debt.engineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions