1.0.2 • Published 1 year ago
imqa-react-native-module v1.0.2
imqa-react-native-module
Getting started
$ npm install imqa-react-native-module --save
Mostly automatic installation
$ react-native link imqa-react-native-module
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜imqa-react-native-module
and addRNMpmAgentModule.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNMpmAgentModule.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Android
- Append the following lines to
android/settings.gradle
:include ':imqa-react-native-module' project(':imqa-react-native-module').projectDir = new File(rootProject.projectDir, '../node_modules/imqa-react-native-module/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:implementation project(':imqa-react-native-module')
Usage
import RNMpmAgentModule from 'imqa-react-native-module';
// TODO: What to do with the module?
RNMpmAgentModule;