rn-ringtone-manager

1.0.1 • Public • Published

rn-ringtone-manager

Getting started

$ npm install rn-ringtone-manager --save

Mostly automatic installation

$ react-native link rn-ringtone-manager

Manual installation

Android

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

Usage

import RNRingtoneManager from 'rn-ringtone-manager';

Readme

Keywords

Package Sidebar

Install

npm i rn-ringtone-manager

Weekly Downloads

2

Version

1.0.1

License

none

Unpacked Size

457 kB

Total Files

33

Last publish

Collaborators

  • natuanorg