Giter Club home page Giter Club logo

Comments (11)

ntharim avatar ntharim commented on July 18, 2024 1

@kevinejohn Hi so is it possible to listen to keyboard backspaces with this library?

from react-native-keyevent.

imbudhiraja avatar imbudhiraja commented on July 18, 2024 1

Keycode for android keyboard backpress is 67.

from react-native-keyevent.

kevinejohn avatar kevinejohn commented on July 18, 2024

Could you elaborate? Are you talking about the Android Back button?

from react-native-keyevent.

imbudhiraja avatar imbudhiraja commented on July 18, 2024

from react-native-keyevent.

kevinejohn avatar kevinejohn commented on July 18, 2024

React Native has an easy way to read the bottom back button: https://facebook.github.io/react-native/releases/0.41/docs/backandroid.html

Are you talking about the keyboard backspace key?

from react-native-keyevent.

imbudhiraja avatar imbudhiraja commented on July 18, 2024

from react-native-keyevent.

kevinejohn avatar kevinejohn commented on July 18, 2024

@nthtran theoretically yes: https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_DEL

I haven't personally tried it though so I can't verify it. Let me know if it does work

from react-native-keyevent.

Mactub07 avatar Mactub07 commented on July 18, 2024

@kevinejohn , keyboard backspaces event is not listening :( . is it possible to implement one? RN-0.42, tested in avd emulator

from react-native-keyevent.

kevinejohn avatar kevinejohn commented on July 18, 2024

Ah that's unfortunate. I wish I had an answer right now. Any expert android developers out there that know a solution?

from react-native-keyevent.

Mactub07 avatar Mactub07 commented on July 18, 2024

Btw I've create own native module to fire key-events, it works like your module, but not listen backspace events, hope this happens only on emulator

from react-native-keyevent.

kevinejohn avatar kevinejohn commented on July 18, 2024

@Mactub07 firing key-events would be a great addition to this library. Do you care to open source it or make a pull-request to this library?

from react-native-keyevent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.