GuidesDiscussions
Log In
Guides

Integrating Siprocal SDK

Siprocal SDK is available in the website https://www.npmjs.com/

Additional, a zipped folder is provided, which containing the following contents:

  • Configuration's file 'siprocal-config.json' for Android
  • Configuration file 'LocalConfig.plist' for iOS
  • proguard.txt (Support file for obfuscation of the codebase)

Integration Overview

Step 1: Open terminal (Mac / Linux) or Command prompt (Windows)

Open the Command prompt (windows) / Terminal (Linux / Mac) and change directory to your project.

Step 2: Add the Siprocal React Native plugin

In command prompt / Terminal type the following command.

Step 2.1: Remove Old version of SDK

If the Host app has already integrated Siprocal SDK then run the following command to remove the dependency files first and then proceed with the steps below.

Command to remove the library

npm uninstall siprocalsdk-react-plugin 

If you are using DR SDK remove the library

yarn remove react-native-iu-library

Step 2.2: Add new plugin

npm i siprocalsdk-react-plugin