This plug-in lets you send iOS AppMeasurement calls from your PhoneGap project.
Looking for information and documentation related to the Adobe Experience Platform Mobile SDK? Click here for our latest documentation.
As of September 2018, we released a new, major version of the SDK. These new Adobe Experience Platform Mobile SDKs are configurable through Experience Platform Launch.
To create a PhoneGap project, see PhoneGap.
Run the following command:
cordova plugin add adobe-mobile-services
To include the AppMeasurement:
Drag ADBMobile_PhoneGap.h and ADBMobile_PhoneGap.m into the Plugins folder in your Xcode project.
Complete the following settings:
Drag ADB_Helper.js into the www folder in your project.
In the res/xml folder, open config.xml and register an new plugin by adding the following:
<feature name="ADBMobile_PhoneGap">
<param name="ios-package" value="ADBMobile_PhoneGap" />
</feature>
The AppMeasurement library requires the following:
Launch the Xcode IDE and open your app.
Drag the AdobeMobile folder into your Xcode project and complete the following settings:

In the Build Phases tab of your project’s target, expand the Link Binary with Libraries section and add the following libraries:
libsqlite3.dylibSystemConfiguration.frameworkConfirm that your app builds without unexpected errors.
In html files where you want to use tracking, add the following to the <head> tag:
<script type="text/javascript" charset="utf-8" src="ADB_Helper.js"></script>