capacitor-screen-utils
v0.0.5
Published
Capacitor plugin to detect on-screen navigation buttons reliably using Android’s native APIs.
Downloads
3
Maintainers
Readme
screen-utils
A Capacitor plugin to detect on-screen navigation buttons and status bar height.
Install
npm install screen-utils
npx cap sync🚀 Usage
import { ScreenUtils } from 'screen-utils';
const insets = await ScreenUtils.getScreenInsets();📘 API
getScreenInsets()
Returns:
{ hasOnScreenNav: boolean, statusBarHeight: number }🧑 Author
Burhanuddin Hamzabhai
🦩 License
MIT
