Skip to content

whatfix/ReactReference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Integrate Whatfix with React Native App

Welcome to the official Whatfix React Native SDK. This article explains how to install and update the Whatfix React Native SDK in your project.

Prerequisites

Node.js Environment

For Android : - minSdkVersion - 19

For iOS : - iOS 8.0+, Objective-C / Swift 5.2

Step 1 - Getting started

To integrate Whatfix react package into your current project root, please run the below command from the terminal.

$ npm install rn-whatfix --save

Step 2 - Initializing Whatfix

Import Whatfix module in your App.js file

import RNWhatfixModule from 'rn-whatfix';

Initialize Whatfix in your App.js file

RNWhatfixModule.initialize(<ent_id>);

Replace <ent_id> with your Whatfix account ID. To get your ENT ID, email us at support@whatfix.com or get in touch with your Account Manager.

Segmentation

Set screen for Segmentation using

RNWhatfixModule.setScreenId(<screenName>);

Usage

React Navigation Version 5.x

React Navigation Version 4.x

React Navigation Version 3.x

React Navigation Version 2.x

React Navigation Version 1.x

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published