Integrate the Entitlements SDK

Integrate the Entitlements SDK into your application

Prerequisites

Get Started

Integrate the iOS SDK

To use Entitlements SDK in an iOS app, you need to install the SudoEntitlements package via Swift Package Manager

Open your project settings in XCode, and go to the Package Dependencies tab. Click on the + sign to add a dependency.

Enter the repository URL https://github.com/sudoplatform/sudo-entitlements-iosarrow-up-right in the top right search box and select the sudo-entitlements-ios repository.

Select the required version and Add Package.

Sudo Platform SDKs conform to semantic versioning so in most cases you will leave the Dependency Rule as Up to Next Major Version to receive regular updates without introducing any breaking changes.

This will resolve the local package dependency and install the latest version of the Entitlements SDK.

circle-info

In order to instantiate a Entitlements client, make sure you have followed instructions for Getting Started and User SDK (see Prerequisites above)

Client Initialization

To instantiate a client in your application, add the following

circle-exclamation
circle-check

Integrate the Android SDK

Add this line to the dependencies section of the app module build.gradle and synchronize your project with Android Studio.

circle-info

In order to instantiate a Entitlements client, make sure you have followed instructions for Getting Startedarrow-up-right and User SDKarrow-up-right (see Prerequisites above)

Client Initialization

To instantiate a client in your application, add the following

circle-exclamation
circle-check

Integrate the JavaScript SDK

The JavaScript SDK is open source and compatible with CommonJS module loading.

Add this line to the dependencies section of your application's package.json file.

circle-info

In order to instantiate a Entitlements client, make sure you have followed instructions for Getting Startedarrow-up-right and User SDKarrow-up-right (see Prerequisites above)

Client Initialization

To instantiate a client in your application, add the following

circle-exclamation
circle-check

Last updated