Socket
Socket
Sign inDemoInstall

react-native-pm-scanner-library

Package Overview
Dependencies
452
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-pm-scanner-library

## Getting started


Version published
Maintainers
1
Created

Readme

Source

react-native-pm-scanner-library

Getting started

$ npm install react-native-pm-scanner-library --save

Mostly automatic installation

$ react-native link react-native-pm-scanner-library

Manual installation

Android
  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNPmScannerLibraryPackage; to the imports at the top of the file
  • Add new RNPmScannerLibraryPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-pm-scanner-library'
    project(':react-native-pm-scanner-library').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-pm-scanner-library/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-pm-scanner-library')
    

Usage

import RNPmScannerLibrary from 'react-native-pm-scanner-library';

// TODO: What to do with the module?
RNPmScannerLibrary;

Keywords

FAQs

Last updated on 08 Feb 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc