iOS SDK Overview

The Advocate iOS SDK gives you complete control of the look and feel of your Advocate program on mobile devices. With options for both Swift and Objective-C programming languages, the iOS SDK provides the flexibility to work directly with the data from your program and display it in your mobile app.

With our SDK, you can register your users with Advocate, track their referrals, and fetch user information like referral codes, referral links, and rewards.

Our mobile SDK has been designed to be part of a hybrid mobile device implementation. Client-side SDK elements are used in conjunction with server-side REST API functionality for the most complete, and secure, solution.

The nature of the hybrid combination of mobile client and server for our SDK means that there are certain limitations to be aware of. Please read through the documentation for the SDK carefully to understand the capabilities of the SDK.



The mobile SDK does not currently support payment provider programs.

Next Steps

Our iOS SDK provides a walkthrough of installing the iOS SDK as well as detailed explanations of common usage cases with code examples.

Additional Resources

Our SDK can also be used with our Branch integration to provide an exceptional first-user experience with a personalized landing page.

The GitHub repositories for the iOS SDK framework for Swift are also available for reference.

We also have a Sample App to help you get started.