react-native-battery-info

## Getting started

Usage no npm install needed!

<script type="module">
  import reactNativeBatteryInfo from 'https://cdn.skypack.dev/react-native-battery-info';
</script>

README

react-native-battery

Getting started

$ npm install react-native-battery --save

Mostly automatic installation

$ react-native link react-native-battery

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-battery and add RNBattery.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNBattery.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Usage

import RNBattery from 'react-native-battery';

// TODO: What to do with the module?
RNBattery;