🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

react-native-dsg-aliplayer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-dsg-aliplayer

## Getting started

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

react-native-aliplayer

Getting started

$ npm install react-native-aliplayer --save

Mostly automatic installation

$ react-native link react-native-aliplayer

Manual installation

iOS

  • In XCode, in the project navigator, right click Libraries âžś Add Files to [your project's name]
  • Go to node_modules âžś react-native-aliplayer and add RNAliplayer.xcodeproj
  • In XCode, in the project navigator, select your project. Add libRNAliplayer.a to your project's Build Phases âžś Link Binary With Libraries
  • Run your project (Cmd+R)<

Android

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

Usage

import RNAliplayer from 'react-native-aliplayer';

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

Keywords

react-native

FAQs

Package last updated on 15 Oct 2020

Did you know?

Socket

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