1 min read


Last Updated - Platform 24.0 - SDK 19.0

The PoqFacebook integration wraps the Facebook SDK allowing it to be plugged into the PoqSDK as an analytics provider.

Set up


  1. Set up the app on the Facebook developers portal and note down your AppID, ClientToken and DisplayName.
  2. Add the PoqFacebook framework from the URL above to your project. How?
  3. Register the integration in your AppDelegate.swift.
import PoqAirship
class AppDelegate: BaseAppDelegate {
override func setupModules() {
  1. Add the following keys and their matching values to your AppConfig.json. Add these at the top level for all environments (see developer mode for more information).
"facebookAppId": "{facebook-app-id}",
"facebookClientToken": "{facebook-client-token}",
"facebookDisplayName": "{facebook-display-name}",

Developer Mode

Facebook is not directly affected by developer mode. The Facebook integration can be configured per environment and switches configuration when the user switches environment.

However, we recommend configuring Facebook 1:1 with the app so that every environment (including development environments) track against a single Facebook app config. This is because Facebook also handles attribution and links which are generally 1:1 with the app.


  • 9.0 (Mar 23): Release for Poq SDK 19 (v24) adopting the new analytics layer.
  • 8.0 (Nov 22): Release for PoqSDK 18 (v23) to adopt the AppSwitcher and switch Facebook configs from AppConfig.json.
  • 7.2 (Oct 22): Updated to Facebook v15.
  • 7.1 (Jul 22): Updated to Facebook v14.
  • 7.0 (Apr 22): Release for PoqSDK 17 (v22) using Facebook v13.
  • 6.0 (Nov 21): Release for PoqSDK 16 (v21) using Facebook v12.
  • 5.1 (Jul 21): Updated to Facebook v11.
  • 5.0 (May 21): Release for PoqSDK 15 (v20).
  • 4.1 (May 21): Adopted IDFA mechanism (PoqTrackingTransparency).
  • 4.0 (Jan 21): Release for PoqSDK 14 (v19).
  • 3.1 (Jan 21): Updated to Facebook v9.
  • 3.0 (Jan 21): Release for PoqSDK 13 (v18) using SPM and Facebook v8.
  • 2.2 (Jul 20): Updated to Facebook v7.
  • 2.0 (Mar 20): Release for PoqSDK 11.1 (v16) using Carthage.
  • 1.0 (Oct 19): Initial release for PoqSDK 9 (v14) using Facebook v5.