Giter Site home page Giter Site logo

cocoapods-specs's Introduction

Cocoapods Spec files

Repository for the Osano iOS Consent Manager Mobile SDK Cocoapods spec files.

Usage

Install Cocoapods using "Cocoapods - Getting Started".

In your project's Podfile add a source for our Cocoapods specs repo.

source "https://github.com/osano/cocoapods-specs.git"

Within your target add the OsanoConsentManagerSDK and version as a referenced pod.

pod 'OsanoConsentManagerSDK', '~> 3.2.0'

By using a ~> in front of your version number, you can automatically update to the most recently released major version. If you would rather specify your SDK version, omit the ~> in front of the version number.

pod 'OsanoConsentManagerSDK', '3.2.0'

Your project's Podfile should look similar to the one below.

platform :ios, '12.1'
source "https://github.com/osano/cocoapods-specs.git"
target 'MyApp' do
 use_frameworks!
 pod 'OsanoConsentManagerSDK', '3.2.0'
end

cocoapods-specs's People

Contributors

ethanfann avatar kaikeru avatar pgoforth avatar ricreyna avatar sjchristophe avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sitedata

cocoapods-specs's Issues

showDrawerViewController doesn't work

I'm integrating the SDK into our iOS project, but the showDrawerViewController method isn't having any impact. Did I miss any additional setup?

override func viewDidAppear(_ animated: Bool) {
    super.viewDidAppear(animated)

    let consentManager = ConsentManager(
        customerId: "customerId",
        configId: "configId",
        consentingDomain: "consentingDomain",
        extUsrData: UUID().uuidString
    )

    let consentUiBuilder = ConsentUiBuilder(
        storagePolicyHref: nil,
        languageCode: nil,
        consentManager: consentManager,
        hideDisclosures: true
    )

    consentUiBuilder.showDrawerViewController { categories in // <- no effect
        print(categories)
    }
}

SPM fails checksum

I am following the documentation to integrate with the ConsentSDK using SPM on iOS. When tryiing to use the package as specified in the documentation, Xcode throws the following error:

checksum of downloaded artifact of binary target 'ConsentSDK' (653fbf3e7c7363c1a23a1c2159be0834f9bfe4ace8c720ff05d17c913e2e7cf3) does not match checksum specified by the manifest (8361442a998fd4376b3b7ea026631b6d3a71383a83ac6c87b6038b950cb68923)

Can you plese look into the issue resolve it.

I am using Xcode 15.0

Wrong country code

I'm working on SDK integration, and it seems I can't test the consent alert for any country other than the US. Since I'm based in Prague, I assume it should work without any additional setup. I even tried to use VPN but the alert still looks the same, like the alert for US.

Can you help me understand how to correctly set or update the country code so that it functions as expected?

I'm on SDK version 3.1.0

image
image

Enable `UIModalPresentationStyle` for dialog view controller

When showDialogViewController is called, it takes the ConsentUiBuilder.PresentationType argument. We have a use case where we want to customize the presentation style to avoid scaling down the parent presenter when using full screen or bottom sheet options. Is it possible to enable setting the UIModalPresentationStyle variable for the dialog view controller either on initialization or through a variable?

RPReplay_Final1708949259.mov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.