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
3
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 1.0.6 to 1.1.0

ios/Permissions/RNPMediaLibrary.h

2

lib/permissions.ios.js

@@ -23,2 +23,4 @@ // @flow

'speechRecognition',
'mediaLibrary',
'motion'
]

@@ -25,0 +27,0 @@

2

package.json
{
"name": "react-native-permissions",
"version": "1.0.6",
"version": "1.1.0",
"description": "Check user permissions in React Native",

@@ -5,0 +5,0 @@ "author": "Yonah Forst <yonaforst@hotmail.com>",

@@ -38,3 +38,3 @@ # ☝🏼 React Native Permissions

_📌 Don't forget to add permissions to `AndroidManifest.xml` for android and
`Info.plist` for iOS (Xcode >= 8). See notes below for more details._
`Info.plist` for iOS (Xcode >= 8). See [iOS Notes](#ios-notes) or [Android Notes](#android-notes) for more details._

@@ -71,2 +71,4 @@ ### Additional iOS setup

import Permissions from 'react-native-permissions'
// OR const Permissions = require('react-native-permissions').default
// if you use CommonJS module system

@@ -142,3 +144,3 @@ //...

| `authorized` | User has authorized this permission |
| `denied` | User has denied this permission at least once. On iOS this means that the user will not be prompted again. Android users can be promted multiple times until they select 'Never ask me again' |
| `denied` | User has denied this permission at least once. On iOS this means that the user will not be prompted again. Android users can be prompted multiple times until they select 'Never ask me again' |
| `restricted` | **iOS** - this means user is not able to grant this permission, either because it's not supported by the device or because it has been blocked by parental controls. **Android** - this means that the user has selected 'Never ask me again' while denying permission |

@@ -164,2 +166,4 @@ | `undetermined` | User has not yet been prompted with a permission dialog |

| Speech Recognition | `speechRecognition` | ✔️ | ❌ |
| mediaLibrary | `mediaLibrary` | ✔️ | ❌ |
| Motion Activity | `motion` | ✔️ | ❌ |
| Storage | `storage` | ❌️ | ✔ |

@@ -191,2 +195,3 @@ | Phone Call | `callPhone` | ❌️ | ✔ |

`alert`, `badge` and `sound` (default requests all three).
* If you are not requesting mediaLibrary then you can remove MediaPlayer.framework from the xcode project

@@ -244,3 +249,6 @@ ```js

<string>Some description</string>
```
<key>NSAppleMusicUsageDescription</key>
<string>Some description</string>
<key>NSMotionUsageDescription</key>
<string>Some description</string>

@@ -255,3 +263,3 @@ This is required because during the phase of processing in the App Store

You can find more informations about this issue in #46.
You can find more information about this issue in #46.

@@ -258,0 +266,0 @@ ### Android Notes

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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