0.6.1 • Published 2 years ago
react-native-background-record v0.6.1
react-native-background-record
Getting started
$ npm install react-native-background-record --save
Mostly automatic installation
$ react-native link react-native-background-record
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-background-recordand addRNBackgroundRecord.xcodeproj - In XCode, in the project navigator, select your project. Add
libRNBackgroundRecord.ato your project'sBuild Phases➜Link Binary With Libraries - Run your project (
Cmd+R)<
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import ai.raondata.backgroundrecord.RNBackgroundRecordPackage;to the imports at the top of the file - Add
new RNBackgroundRecordPackage()to the list returned by thegetPackages()method
- Append the following lines to
android/settings.gradle:include ':react-native-background-record' project(':react-native-background-record').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-background-record/android') - Insert the following lines inside the dependencies block in
android/app/build.gradle:compile project(':react-native-background-record')
Windows
- In Visual Studio add the
RNBackgroundRecord.slninnode_modules/react-native-background-record/windows/RNBackgroundRecord.slnfolder to their solution, reference from their app. - Open up your
MainPage.csapp
- Add
using Background.Record.RNBackgroundRecord;to the usings at the top of the file - Add
new RNBackgroundRecordPackage()to theList<IReactPackage>returned by thePackagesmethod
Usage
import RNBackgroundRecord from 'react-native-background-record';
// TODO: What to do with the module?
RNBackgroundRecord;0.6.1
2 years ago
0.6.0
3 years ago
0.5.4
3 years ago
0.5.3
3 years ago
0.5.2
3 years ago
0.5.1
3 years ago
0.5.0
3 years ago
0.4.6
3 years ago
0.4.5
3 years ago
0.4.4
3 years ago
0.4.3
3 years ago
0.4.2
3 years ago
0.4.1
3 years ago
0.4.0
3 years ago
0.3.1
3 years ago
0.3.0
3 years ago
0.2.6
3 years ago
0.2.5
3 years ago
0.2.4
3 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago