This tutorial is for migrating from Apphance Pre Production SDK 1.9.4 to Applause SDK 2.0.2. To make it work please follow these steps:

1) Recreate Product on sdk.applause.com or aph.applause.com

Users will need to re-create their products within the new SDK dashboard.

  1. Log into your Applause SDK account on http://sdk.applause.com (if using Applause Testing Services) or http://aph.applause.com (if NOT using Applause Testing Services).
  2. Click the ‘+Add New App’ button.
  3. Complete the new app creation wizard, and a new APP_KEY will be generated for you. You will use this new APP_KEY to replace your currently configured APP_KEY.

2) Remove Apphance Pre-Production References

  1. Remove Apphance-Pre-Production.framework from your project

3) Download, install and configure Applause SDK 2.x

  1. Download Applause SDK 2.1.2 and unzip it. You will see Applause.framework
  2. Drag & drop Applause.framework to your XCode project (the same way as you did with Apphance)
  3. Add CoreMotion.framework in “Project Navigation” -> “Build Phases” -> “Link Binary With Libraries” section
  4. If you have used “-force_load” or “-all_load” linker flags you can remove them. They are no longer needed.

4) Change Import Line

  1. Change import line (it should be in your *.pch file):
          #import <Apphance-Pre-Production/APHLogger.h>

to

          #import <Applause/APLLogger.h>

5) Change/Customize APHLogger Settings

  1. Wherever you used [APHLogger defaultSettings] change it to [APLLogger settings]
  2. Applause is now integrated with the Applause 360 App Quality Dashboard by default. If you don’t use Applause testing services, modify the default by calling:
    [[APLLogger settings] setWithUTest:NO]
  3. Deprecated settings have been removed from Applause, so if you have used reportOnDoubleSlideEnabled, apphanceMode please remove those lines.
  4. Change:
     [APHLogger startNewSessionWithApplicationKey:@"Your-Apphance-Application-Key-Goes-Here"];

to

     [APLLogger startNewSessionWithApplicationKey:@"Your-Applause-Application-Key-Goes-Here"];

6) Modify addtional settings if required

  1. If you have used APHUncaughtExceptionHandler change it to APLUncaughtExceptionHandler
  2. Rename all APHLog usage to APLLog
  3. Rename all APHExtendedLog usage to APLExtendedLog
  4. (Optional) Customize target server URL. The default server is https://sdk.applause.com. If you are using the SDK in conjunction with Applause testing services, you can skip this step. If you are NOT using the SDK in conjunction with Applause testing services, you will need to target https://aph.applause.com. Add the below:
[[APLLogger settings] setServerURL:@”https://aph.applause.com”];