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

@nativescript-community/perms

Package Overview
Dependencies
Maintainers
18
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript-community/perms - npm Package Compare versions

Comparing version 2.2.21 to 2.2.22

index.android.d.ts

15

package.json
{
"name": "@nativescript-community/perms",
"version": "2.2.21",
"version": "2.2.22",
"description": "An unified permissions API for NativeScript on iOS and Android.",
"main": "./permissions",
"main": "./index",
"sideEffects": false,
"typings": "./permissions.d.ts",
"typings": "./index.d.ts",
"nativescript": {

@@ -14,2 +14,9 @@ "platforms": {

},
"scripts": {
"build": "npm run tsc",
"build.all": "npm run build",
"readme": "readme generate -c ../../tools/readme/blueprint.json",
"tsc": "cpy '**/*.d.ts' '../../packages/perms' --parents --cwd=../../src/perms && tsc -skipLibCheck -d",
"clean": "rimraf ./*.d.ts ./*.js ./*.js.map"
},
"keywords": [

@@ -36,3 +43,3 @@ "NativeScript",

"readmeFilename": "README.md",
"gitHead": "73ad641798df11bca034dcba39fe773c332f8d05"
"gitHead": "22fc5909d069d4fb7bc788f7cbf48081ca5c7d20"
}

@@ -1,18 +0,67 @@

[![npm](https://img.shields.io/npm/v/@nativescript-community/perms.svg)](https://www.npmjs.com/package/@nativescript-community/perms)
[![npm](https://img.shields.io/npm/dt/@nativescript-community/perms.svg?label=npm%20downloads)](https://www.npmjs.com/package/@nativescript-community/perms)
[![GitHub forks](https://img.shields.io/github/forks/nativescript-community/nativescript-perms.svg)](https://github.com/nativescript-community/nativescript-perms/network)
[![GitHub stars](https://img.shields.io/github/stars/nativescript-community/nativescript-perms.svg)](https://github.com/nativescript-community/nativescript-perms/stargazers)
<!-- ⚠️ This README has been generated from the file(s) "blueprint.md" ⚠️-->
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!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!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<h1 align="center">@nativescript-community/perms</h1>
<p align="center">
<a href="https://npmcharts.com/compare/@nativescript-community/perms?minimal=true"><img alt="Downloads per month" src="https://img.shields.io/npm/dm/@nativescript-community/perms.svg" height="20"/></a>
<a href="https://www.npmjs.com/package/@nativescript-community/perms"><img alt="NPM Version" src="https://img.shields.io/npm/v/@nativescript-community/perms.svg" height="20"/></a>
</p>
[![NPM](https://nodei.co/npm/@nativescript-community/perms.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/@nativescript-community/perms/)
<p align="center">
<b>An unified permissions API for NativeScript on iOS and Android.</b></br>
<sub><sub>
</p>
<br />
| <img src="https://raw.githubusercontent.com/nativescript-community/gps/master/images/demo-ios.gif" height="500" /> | <img src="https://raw.githubusercontent.com/nativescript-community/gps/master/images/demo-android.gif" height="500" /> |
| --- | ----------- |
| iOS Demo | Android Demo |
[](#table-of-contents)
## Table of Contents
* [Installation](#installation)
* [API](#api)
* [Permissions statuses](#permissions-statuses)
* [Supported permissions types](#supported-permissions-types)
* [Methods](#methods)
* [iOS Notes](#ios-notes)
* [App Store submission disclaimer](#app-store-submission-disclaimer)
* [Android Notes](#android-notes)
* [Troubleshooting](#troubleshooting)
* [Q: iOS - App crashes as soon as I request permission](#q-ios---app-crashes-as-soon-as-i-request-permission)
* [Q: iOS - App crashes when I change permission from settings](#q-ios---app-crashes-when-i-change-permission-from-settings)
[](#installation)
## Installation
Run the following command from the root of your project:
* `tns plugin add @nativescript-community/perms`
`ns plugin add @nativescript-community/perms`
Be sure to run a new build after adding plugins to avoid any issues.
---
[](#api)
This is a port of [react-native-permissions](https://github.com/yonahforst/react-native-permissions)
## API

@@ -178,2 +227,5 @@

[](#troubleshooting)
## Troubleshooting

@@ -180,0 +232,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