CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

IdxDmpSdk 2.4.8

IdxDmpSdk 2.4.8

Maintained by Dmitry.



IdxDmpSdk 2.4.8

  • By
  • IDX LTD

IdxDmpSdk

Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

IdxDmpSdk is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'IdxDmpSdk'

Integration example

class ViewController: UIViewController {
    var dmp: DataManagerProvider?
    
    ...

    override func viewDidLoad() {
        super.viewDidLoad()

        self.dmp = DataManagerProvider(providerId: providerId) {_ in
          // Success callback
        }
    }

    ...
    
    @IBAction func handleShowAd() {
        guard let dmp = self.dmp else {
            return
        }

        let adRequest: GAMRequest = GAMRequest()

        adRequest.customTargeting = ["dxseg": dmp.getDefinitionIds()]
    }

    ...
}

Author

Brainway LTD, https://brainway.co.il/

License

IdxDmpSdk is available under the MIT license. See the LICENSE file for more info.