GuidesDiscussions
Log In
Guides

Integrating Siprocal SDK

The SIPROCAL SDK is available in the official package repository for Dart and Flutter apps: https://pub.dev Additionally, a zipped folder is provided, which contains the following files:

  1. siprocal-config.json: Configuration file for Android.
  2. LocalConfig.plist: Configuration file for iOS.
  3. proguard.txt: Support file for codebase obfuscation.

Remove Old version of SDK

If the Host app has already integrated DR SDK then you need remove the dependency files first and then proceed with the steps below.

Steps to Integrate SIPROCAL SDK into Your Project:

  1. Open the pubspec.yaml file in the Flutter project’s root folder and add the following lines in the dependencies section:

Note: The <variant> and <version> tags needs to be replaced with the variant provided by Siprocal.

dependencies:
	siprocalsdk_<variant>: <version>
  1. In the terminal, navigate to the flutter project root folder and run the commands:
flutter pub get
flutter pub upgrade