SDK installation

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

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
  • Unity
  • 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.

We recommend always using the latest version within the current major version (currently 4). Here are the examples of the version nomenclature for different platforms:

  • iOS (Swift, CocoaPods)
    pod 'Purchasely'
    
  • Android (Kotlin, Gradle)
    implementation 'io.purchasely.core:4.+'
    
  • React Native
    "dependencies": {  
      "react-native-purchasely": "^4.0.0"  
    }
    
  • Flutter
    dependencies:  
      purchasely: ^4.0.0
    
  • Unity
    <dependency>  
      <groupId>io.purchasely</groupId>  
      <artifactId>unity</artifactId>  
      <version>[4.0,4.999]</version>  
    </dependency>
    
  • Cordova
    "dependencies": {  
      "cordova-plugin-purchasely": "^4.0.0"  
    }
    

By following this convention, you ensure that you always have the latest updates and bug fixes compatible with the current major version.


SDK Installation guides

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