Clutch Mobile SDK Overview

Clutch’s Mobile Software Development Kit (SDK) is a library that helps connect Apps directly to the Clutch Mobile API without the need of custom middleware. Mobile devices should only go through approved middleware of the Mobile SDK and our Mobile APIs and never connect directly to the Clutch JSON API. 

The SDKs are currently available for Android and iOS.

For Android, which requires an inner API client, the SDK is available as a Maven dependency. Jar downloads are also available from Maven Central. You’ll need to create an instance of ClutchClient, which requires an inner API client or adding a dependency by reference. You can either use the built-in native API client, or replace this with your own API client extension of com.clutch.mobilesdk.network.APIClient to use your own networking library.

For iOS, ClutchMobileAPI is available through CocoaPods. You’ll need to go into your project’s Info.plist file and add your Clutch App Key and Secret in ClutchMobAppKey and ClutchMobAppSecret.

Once you have followed all steps, you can perform the following actions using the SDK:

  • Get user profiles, returning balances (loyalty, gift and custom), demographics, email opt in status, segment membership
  • Update demographics (only fields specified as ‘editable’ in your Clutch brand mobile API configuration)
  • Change email opt-in status, both global and per individual subscription list
  • Register events
  • Provide APNS or FCM token for push notification integration with Clutch campaigns

Overall, Clutch Mobile SDK can help you can quickly request card-level data. To learn more about SDK and how to set it up on Android and IOS devices, read the information on our GitHub page here.

You can also read the PDF with our Mobile API documentation below.

Updated on August 19, 2020

Was this article helpful?

Related Articles