theoremreach

On this page, you will find detailed documentation for the
TheoremReach SDK. This software development kit allows you to quickly integrate TheoremReach surveys and rewarded tasks into your iOS and Android apps.

Getting Started


  1. Installation

    To install the TheoremReach SDK in your iOS app, follow these steps:

    1. Download the latest version of the SDK from the official TheoremReach GitHub repository.
    2. Extract the downloaded zip file.
    3. Drag and drop the TheoremReach framework into your Xcode project.

    To install the SDK in your Android app:

    1. Add the TheoremReach SDK dependency to your app/build.gradle file.
    2. Sync your project with Gradle files to ensure the SDK is added.

  2. Integration

    Once the TheoremReach SDK is installed, follow these steps to start integrating it into your app:

    1. Import the TheoremReach module to your class files.
    2. Create an instance of the `TheoremReach` class using your API key.
    3. Implement the necessary methods to display surveys and rewarded tasks in your app.

Usage

The TheoremReach SDK provides various methods and features to enhance your app’s monetization. Here are some key functionalities:

Displaying Surveys

To display a survey to your users, use the following steps:

  1. Call the `TheoremReach.showRewardCenter` method to present the reward center UI to the user.

Displaying Rewarded Tasks

To display rewarded tasks to your users, follow these steps:

  1. Call the `TheoremReach.showRewardCenter` method to present the reward center UI to the user.

Callbacks

The TheoremReach SDK allows you to implement various callbacks to track user interactions and rewards. Use the following methods:

  • `TheoremReach.rewardCenterOpened` – Called when the reward center is opened by the user.
  • `TheoremReach.rewardCenterDismissed` – Called when the reward center is dismissed by the user.
  • `TheoremReach.surveyReceived` – Called when a survey is received by the user.
  • `TheoremReach.surveyCompleted` – Called when a survey is successfully completed by the user.
  • `TheoremReach.userCreditReceived` – Called when the user receives credits after completing a survey or task.

Additional Resources


  • Official Documentation

    For more detailed information and examples, check out the official TheoremReach SDK documentation.


  • GitHub Repository

    Visit the TheoremReach GitHub repository to access the latest version of the SDK and contribute to its development.