Skip to main content

Implement ATS Mobile SDK (Beta)

The ATS Mobile SDK allows you to handle envelopes from both Android and iOS devices without having to spend time coding. The SDK includes the ability to retrieve, refresh, and cache envelopes while ensuring that user consent is respected.

Caution

The ATS Mobile SDK is currently in beta; several updates and improvements are expected in the coming weeks.

Before You Begin

Obtain Config ID for ATS Mobile SDK

Before initializing the SDK, you must first obtain the Config ID in Console.

  1. Log in to Console.

  2. Go to ATS → Mobile.

  3. Click New.

  4. Enter a Configuration Name and select a placement.

  5. Click Let's Go.

A Config ID will be automatically generated and displayed in the "On Device Configurations" area.

Screenshot_2022-07-07_at_16_49_44.png

Note

We recommend creating a separate Config ID for each of your iOS or Android titles. This ensures segregation of data and allows for separate reporting further down the road.

See the ATS Mobile SDK Settings

To view the SDK settings, click on a configuration from the "On Device Configurations" area. Click Advanced on the Envelope or Developer Options section. You can see the following information (more to be added):

  • Envelope Expiration Time: The time period after which an envelope that wasn't refreshed should expire and a new envelope will be fetched. This option is set to 15 days by default.

  • Envelope Min. Refresh Interval: The time interval between each envelope refreshes. This option is set to 15 minutes by default.

  • Enable Logging: When this option is enabled, all log levels will be logged to Xcode or Logcat console during development. The SDK will only log errors and warning levels by default.

Implement the ATS Mobile SDK

Once you have obtained the Config ID, you're ready to initialize the SDK. Learn the complete steps in our developer documentation: