New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-permissions

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-permissions - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "react-native-permissions",
"version": "0.1.0",
"version": "0.1.1",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -109,2 +109,2 @@ 'use strict';

export default new ReactNativePermissions()
module.exports = new ReactNativePermissions()

@@ -16,3 +16,3 @@ # React Native Permissions

####General Usage
##General Usage
```js

@@ -74,3 +74,3 @@ const Permissions = require('react-native-permissions');

####API
##API

@@ -90,5 +90,5 @@ _Permission statuses_ - `authorized`, `denied`, `restricted`, or `undetermined`

Note: Permission type `bluetooth` represents the status of the `CBPeripheralManager` . Note: Don't use this if you're only using `CBCentralManager`
Note: Permission type `bluetooth` represents the status of the `CBPeripheralManager`. Don't use this if you're only using `CBCentralManager`
#####Special cases
###Special cases

@@ -98,4 +98,4 @@ `requestPermission` also accepts a second parameter for types `location` and `notification`.

- `notification`: the second parameter is an array with the desired alert types. Any combination of `alert`, `badge` and `sound` (default requests all three)
*_example_*
```js
///example
Permissions.requestPermission('location', 'always')

@@ -119,5 +119,5 @@ .then(response => {

###iOS
##iOS
* Run open node_modules/react-native-permissions
* Drag ReactNativePermissions.xcodeproj into the Libraries group of your app's Xcode project
* Add libReactNativePermissions.a to `Build Phases -> Link Binary With Libraries.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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