Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-device-info

Package Overview
Dependencies
Maintainers
5
Versions
256
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-device-info - npm Package Compare versions

Comparing version 0.27.0 to 0.27.1

ios/RNDeviceInfo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

3

CHANGELOG.md
## Release Notes
### 0.27.1
* Enabled battery monitoring mode to get actual battery data (https://github.com/rebeccahughes/react-native-device-info/pull/404)
### 0.27.0

@@ -4,0 +7,0 @@ * Added `isBatteryCharging()` (https://github.com/rebeccahughes/react-native-device-info/pull/514)

2

package.json
{
"name": "react-native-device-info",
"version": "0.27.0",
"version": "0.27.1",
"description": "Get device information using react-native",

@@ -5,0 +5,0 @@ "main": "deviceinfo.js",

@@ -303,4 +303,11 @@ # react-native-device-info

> To be able to get actual battery level enable battery monitoring mode for application.
> Add this code:
```objective-c
[UIDevice currentDevice].batteryMonitoringEnabled = true;
```
> to AppDelegate.m application:didFinishLaunchingWithOptions:
>
> Returns -1 on the iOS Simulator
---

@@ -307,0 +314,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc