Follow

Step 3 - Initialization

View original article on our GitHub

In your application delegate class (AppDelegate.cpp), include the StartApp SDK and add the following lines to your application's didFinishLaunchingWithOptions function:

// AppDelegate.cpp

#include "StartAppPlugin.h"
bool AppDelegate::applicationDidFinishLaunching() 
{
    startappiOS* startAppBridge = startappiOS().sharedInstance();
    startAppBridge->STAInit("your app Id", "your developer id");
    return true;
}

Replace "Your Account Id" and "Your App ID" with your own values provided in thedevelopers’ portal.
After logging in, your account ID will be displayed at the top right-hand corner of the page:

To find your application ID, click on the "Apps and Sites" tab on the left pane and choose the relevant ID from your app list:

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

  • Avatar
    星 正彦

    watasigaほしまさひこです