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

expo-permissions

Package Overview
Dependencies
Maintainers
18
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-permissions - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1-beta.0

2

package.json
{
"name": "expo-permissions",
"version": "4.0.0",
"version": "4.0.1-beta.0",
"description": "Allows you prompt for various permissions to access device sensors, personal data, etc.",

@@ -5,0 +5,0 @@ "main": "build/Permissions.js",

@@ -14,3 +14,3 @@ # expo-permissions

For bare React Native projects, you must ensure that you have [installed and configured the `@unimodules/core` package](https://github.com/unimodules/core) before continuing.
For bare React Native projects, you must ensure that you have [installed and configured the `react-native-unimodules` package](https://github.com/unimodules/react-native-unimodules) before continuing.

@@ -25,23 +25,7 @@ ### Add the package to your npm dependencies

Add the dependency to your `Podfile` and then run `pod install`.
Run `pod install` in the ios directory after installing the npm package.
```ruby
pod 'EXPermissions', path: '../node_modules/expo-permissions/ios'
```
### Configure for Android
1. Append the following lines to `android/settings.gradle`:
```gradle
include ':expo-permissions'
project(':expo-permissions').projectDir = new File(rootProject.projectDir, '../node_modules/expo-permissions/android')
```
2. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
```gradle
api project(':expo-permissions')
```
3. In `MainApplication.java`, import the package and add it to the `ReactModuleRegistryProvider` list:
In `MainApplication.java`, import the package and add it to the `ReactModuleRegistryProvider` list:
```java

@@ -48,0 +32,0 @@ import expo.modules.permissions.PermissionsPackage;

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