Skip to content

ringpublishing/RingPublishingGDPR-iOS

Repository files navigation

RingPublishing

RingPublishingGDPR

Module which collects and saves user's consent in accordance with the standard TCF2.0

Documentation

The documentation can be found at:

https://developer.ringpublishing.com/Money/docs/GDPRConsentManager/index.html.

Integration tutorial:

https://developer.ringpublishing.com/Money/docs/GDPRConsentManager/howto/integrate-using-ios-sdk.html.

How consents are stored:

https://developer.ringpublishing.com/Money/docs/GDPRConsentManager/topics/consent-storage-using-mobile-sdk.html.

Reference guide:

https://developer.ringpublishing.com/Money/docs/GDPRConsentManager/reference/gdpr-ios-sdk.html.

Requirements

  • iOS 11.0+
  • Xcode 12+
  • Swift 5.1+

Installation

CocoaPods

RingPublishingGDPR is available through CocoaPods. To install it, simply add the following lines to your Podfile using our private Cocoapods Specs repository. Please make sure you have access to this repository granted by us.

Additions to your Podfile:

source 'https://github.com/ringpublishing/RingPublishing-CocoaPods-Specs.git'

pod 'RingPublishingGDPR'

To install it into a project, add it as a dependency within your project settings using Xcode:

Package URL: "https://github.com/ringpublishing/RingPublishingGDPR-iOS"

or if you are using manifest file, add it as a dependency there:

let Package = Package(
    ...
    dependencies: [
        .package(url: "https://github.com/ringpublishing/RingPublishingGDPR-iOS.git", .upToNextMinor(from: "1.8.0"))
    ],
    ...
)

Usage

Start by importing RingPublishingGDPR:

import RingPublishingGDPR

then you have access to shared module instance:

RingPublishingGDPR.shared

For detailed example see demo project in Example directory or check our documentation.