1.0.5 • Published 1 year ago

react-native-disable-android-back v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

React Native Disable Android Back Button

A custom hook that disables the Android back button in React Native when a screen is focused.

Installation

To install the package, run:

npm install --save react-native-disable-android-back

Usage

To use the hook, simply import it into your component and call it:

import useDisableAndroidBackButton from "react-native-disable-android-back";

function MyScreen() {
  useDisableAndroidBackButton();

  // rest of your component code...
}
1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago