Last Updated - Platform 25.0 - SDK 20.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.


  • 10.0 (Oct 23): Release for Poq SDK 20 (v25).
  • 9.0 (Mar 23): Release for Poq SDK 19 (v24) adopts the new analytics layer.
  • 8.0 (Nov 22): Release for PoqSDK 18 (v23) adopts the AppSwitcher to switch Facebook configs via AppConfig.json.
  • Releases...