Plugin Installation

Prerequisites

  1. NotifyVisitors Account
  2. For Android : FCM integration
  3. For iOS: Apple Push Notifications Service Auth Key (APNs Auth Key)

Install NotifyVisitors library

npm install react-native-notifyvisitors

Link library to Project

/* For React-Native versions < 0.60 
Skip if using React Native version of 0.60 or greater. 
Autolinking is now done automatically */

react-native link react-native-notifyvisitors

Import NotifyVisitors package

Use the following Import statement in each page of your React-Native code in which you want to access the Notifyvisitors Plugin methods.

import Notifyvisitors from react-native-notifyvisitors';