Installing the SolydFlow SDK
SolydFlow provides native client SDKs designed for zero-latency offline entitlement checks, smart payment routing, and automated purchase recovery.
Supported Platforms & SDKs
| Platform / Framework | Package / Source | Minimum Requirement | Docs |
|---|---|---|---|
| Flutter | solydflow_flutter | Flutter 3.0+ / Dart 3.0+ | Flutter SDK → |
| JavaScript / TypeScript | solydflow-js | ES6+ / Node 18+ / Browsers | JavaScript SDK → |
| React Native | @solydflow/react-native | React Native 0.70+ | React Native SDK → |
| iOS (Swift) | SolydFlowSwift | iOS 14.0+ | Swift SDK → |
| Android (Kotlin) | com.solydflow.android | API Level 21+ | Kotlin SDK → |
1. Flutter Installation
Add to pubspec.yaml
Add the SolydFlow Flutter package to your dependencies:
pubspec.yaml
dependencies:
flutter:
sdk: flutter
solydflow_flutter:
git:
url: https://github.com/solydflow/solydflow_flutter.git
path: sdk_flutter
ref: v0.9.0
Install via terminal:
flutter pub get
Platform Requirements
Android Configuration
SolydFlow requires Android API Level 21 (Android 5.0 Lollipop) or higher for hardware-backed AES-GCM local storage encryption.
Check android/app/build.gradle (or build.gradle.kts):
android/app/build.gradle
android {
defaultConfig {
minSdkVersion 21
targetSdkVersion 34
}
}
iOS Configuration
Ensure your deployment target is at least iOS 13.0:
ios/Podfile
platform :ios, '13.0'
2. JavaScript / TypeScript Installation
Install the lightweight, framework-agnostic web client (works with React, Next.js, Vue, Nuxt, Svelte, or Vanilla JS):
- npm
- Yarn
- pnpm
npm install solydflow-js
yarn add solydflow-js
pnpm add solydflow-js
Verification Import
Verify your setup by importing the module:
src/main.ts
import { SolydFlow } from "solydflow-js";
console.log("SolydFlow SDK loaded successfully");