0.0.4 • Published 4 years ago

@surjit_kumar/react-native-fullscreen v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@surjit_kumar/react-native-fullscreen

This package helps developers to easily toggle between android full screen and normal mode by providing js methods to enable/disable full screen on android. It is specifically for android and has nothing to do with ios full screen.

Installation

npm install @surjit_kumar/react-native-fullscreen

Usage

import Fullscreen from '@surjit_kumar/react-native-fullscreen';

// ...
export default function App() {
  const enterFullScreenMode = () => {
    Fullscreen.enableFullScreen();
  };
// ...
return (
    <View style={styles.container}>
      <View style={{ marginBottom: 16 }}>
        <Button onPress={enterFullScreenMode} title="Enable FullScreen Mode" />
      </View>
      <Button onPress={exitFullScreenMode} title="Exit FullScreen Mode" />
    </View>
  );

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.1.0

4 years ago