BackHandler

Learn how to detect hardware button presses for back navigation using the BackHandler API.

The BackHandler API in React Native detects the hardware button pushes for back navigation in Android applications. We have a physical back button that can be mapped to any action we want to perform, such as closing the application or exiting it.

Get hands-on with 1200+ tech skills courses.