Tema-sdk

The JunoWallet TEMA SDK

View the Project on GitHub JunoWallet/tema-sdk

TEMA SDK

iPhone (TEMA-SDK-iOS)

  1. Create a user account at Flurry: http://www.flurry.com/dev/signup.html

  2. integrate TEMA SDK

    • Unzip and drag the TEMA-SDK directory into your project's Xcode window, select "Copy items into destination group's folder" and "Create groups for any added folders"
    • In your Application Delegate:

      #import "JunoTaskController.h"
      - (void)applicationDidFinishLaunching:(UIApplication *)application {
          // AppleAppId example: 314477780
          [JunoTaskController trackPayPerEngagement:AppStoreAppId];
      }
      
  3. Register the application as advertiser in the Flurry account

  4. Test and activate the campaign.


Android (TEMA-SDK-Android)

  1. Create a user account at Flurry: http://www.flurry.com/dev/signup.html

  2. Integrate TEMA SDK

    • Include the JunoTaskController.jar into your project's java build path (Projects> Properties> Java Build Path> Add External JARs)
    • In your Application Activity:

      import android.content.Context;
      import com.junobe.android.tema.JunoTaskController;
      
      public class Foo extends Activity {
          public void onCreate(Bundle icicle) {
              ...
              // 1. initialization
              JunoTaskController.init((Context)this);
      
              // 2.1 call trackPayPerEngagement with app id.
              String applicationId = "12345678";  // example application id
              JunoTaskController.trackPayPerEngagement(applicationId);
      
              // 2.2 alternatively, specify event names to track
              JunoTaskController.trackPayPerEngagement(applicationId, "testEvt");
              ...
          }
      }
      
  3. Register the application as advertiser in the Flurry account.

  4. Test and activate the campaign.