SDK installation

This section provides a quick overivew of the supported platform and SDK version naming convention

🤖

Let your AI assistant install the SDK

The Purchasely AI Plugin detects your platform and adds the Purchasely SDK dependency to your project. Run the purchasely-integrate skill (/purchasely:integrate in Claude Code).

Supported Platforms

Purchasely SDK supports multiple platforms. The SDK is developed in Swift for iOS and Kotlin for Android but you can use a bridge sdk to integrate it in hybrid apps. The supported platforms are:

  • iOS (Swift)
  • Android (Kotlin)
  • React Native
  • Flutter
  • Cordova

SDK Version Naming Convention

The Purchasely SDK follows the version naming convention x.y.z:

  • Major (x): Incremented for breaking changes.
  • Minor (y): Incremented for new features, compatible with the current major version.
  • Patch (z): Incremented for backward-compatible bug fixes.

The latest version is 6.2.0 on every platform. Pin that exact version, and do not use a floating range. Here is the pin for each platform:

  • iOS (Swift, CocoaPods)
    pod 'Purchasely', '6.2.0'
  • Android (Kotlin, Gradle)
    implementation 'io.purchasely:core:6.2.0'
  • React Native
    "dependencies": {  
      "react-native-purchasely": "6.2.0"  
    }
  • Flutter
    dependencies:  
      purchasely_flutter: 6.2.0
  • Cordova
    "dependencies": {  
      "@purchasely/cordova-plugin-purchasely": "6.2.0"  
    }

Every Purchasely dependency of one app must carry the same version.


SDK Installation guides

You can find the detailed installation guides for each platform via the following links:


Did this page help you?