React native with expo reacts to the pressing of a button on the device

  Kiến thức lập trình

I need my background application to be able to react to a combination of buttons, for example, pressing the device’s unlock button twice and based on that, generate an event in my application.
Is there a way to achieve this behavior with expo or with any react native library?

I didn’t try anything since I can’t find documentation about it, maybe someone had the same need and knows how to solve it.

New contributor

Pablo Beckmann is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT