Skip to content

liker912/idx-dmp-ios-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

IDX SDK for the iOS platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 94.7%
  • Ruby 5.3%