Skip to content

Latest commit

 

History

History
69 lines (46 loc) · 3.02 KB

get-the-sdk.md

File metadata and controls

69 lines (46 loc) · 3.02 KB

Get the Experience Platform SDK

The Experience Platform SDK is available for iOS via Cocoapods, Android via Gradle, and for React Native projects via Node Package Manager.

Follow the directions below to to incorporate the Experience Platform SDK into your application.

{% hint style="info" %} For iOS and Android projects, the recommended approach to integrating the SDK is to use Cocoapods or Gradle. SDK libraries are also available on Github. {% endhint %}

{% tabs %} {% tab title="Android" %}

Java

{% hint style="warning" %} The Experience Platform SDK for Android supports Android 4.0 (API 14) or later. {% endhint %}

  1. Open the Mobile property in Experience Platform Launch, and click on the Environments tab, and then click on the install package icon.
  2. On the Mobile Install Instructions dialog box, select Android.
  3. Follow the instructions for using Gradle with Android.

The necessary dependencies and initialization code can be copied from the dialog box to your app project.

You should see a dialog box similar to the following:

{% endtab %}

{% tab title="iOS" %}

Objective C / Swift

{% hint style="warning" %} Important: Adobe Experience Platform SDKs for iOS supports iOS 10 or later. {% endhint %}

  1. Open the Mobile property in Launch, and click on the Environments tab, and then click on the install package icon
  2. On the Mobile Install Instructions dialog box, select iOS.
  3. Follow the instructions for using CocoaPods with iOS.
  4. Under the initialization code, choose Objective C or Swift.

The necessary dependencies and initialization code can be copied from the dialog box to your app project.

You should see a pop-up similar to the following (image below shows iOS):

{% endtab %}

{% tab title="React Native" %}

React Native

{% hint style="info" %} For React Native, we recommend that you first install Node.js to download packages from npm. For additional instructions on getting started with React Native applications, see this tutorial. {% endhint %}

For the latest React Native installation instructions, see the README file in the react-native-acpcore repository. {% endtab %} {% endtabs %}

Watch the Video

{% embed url="https://www.youtube.com/watch?v=K99NwR6Y08E" caption="Video: How to use Cocoapods and Gradle with SDK extensions & dependencies" %}

Additional Information