react-native-battery-monitor
Battery Monitor for React Native.
🚀 Getting Started
Prerequisites
- react-native:
- supported versions ">= 0.60.0"
Installation
with react-native ">=0.60.0"1. Install latest version
2. Install pods
|
🍰 Example
import BatteryMonitor from 'react-native-battery-monitor'; const ubsubscribe = BatteryMonitor; const batteryState = await BatteryMonitor; // unsubscribe;