Network Processor Module
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

mopinion-react-native-sdk

0.2.6 • Public • Published

license

Mopinion for React Native

Easily collect in-app feedback with the Mopinion SDK for React Native.

Installation

To install the Mopinion SDK into your React Native Application:

  1. In a terminal window, navigate to the root directory of your project and run :
npm install mopinion-react-native-sdk
  1. Link assets
react-native link mopinion-react-native-sdk
react-native link react-native-view-shot

Implementing the SDK

Import the Mopinion SDK in your main app file:

import { MopinionSDK, MopinionDeployment } from 'mopinion-react-native-sdk'

Loading your deployment

Add a <MopinionDeployment /> component with your deployment ID to your JSX:

<MopinionDeployment deploymentID={'YOUR_ID_HERE'} />

Trigger forms by calling the event emitter.

MopinionSDK.event('_button')

Support

Mopinion For React Native is maintained by the Mopinion Development Team. For support contact support@mopinion.com

install

npm i mopinion-react-native-sdk

Downloadsweekly downloads

48

version

0.2.6

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability