DataDome

Last Updated - Platform 24.0 - SDK 19.0

The PoqDataDome integration wraps the DataDome SDK allowing it to be plugged into the PoqSDK to enable bot protection using recaptcha.

This integration replaces the default NetworkSession. If your app customises this then you will need to subclass the PoqDataDomeNetworkSession instead.

Set up

https://github.com/poqcommerce/Poq.iOS.DataDome.git

  1. Set up your DataDome account and have your DataDomeKey ready.
  2. Add the PoqDataDome framework from the URL above to your project. How?
  3. Register the integration in your AppDelegate.swift.
import PoqDataDome
class AppDelegate: BaseAppDelegate {
override func setupModules() {
PoqPlatform.shared.addModule(PoqDataDome())
}
}
  1. Add your DataDomeKey to your Info.plist.

Developer Mode

Developer mode does not affect DataDome.

History

  • 8.0 (Mar 23): Release for Poq SDK 19 (v24).
  • 7.1 (Nov 22): Updated to DataDome v3 to adopt async await networking.
  • 7.0 (Nov 22): Release for Poq SDK 18 (v23).
  • ...
  • 2.0 (Nov 20): Release for Poq SDK 13 (v18) using SPM and DataDome v2.5.
  • 1.0 (May 20): Initial release for Poq SDK 11 (v16) using DataDome v1.114.