Skip to content

Commit

Permalink
Schain (#2)
Browse files Browse the repository at this point in the history
* schain

store schain info in Targeting  shared object
include schain info in request by RequestBuilder

* schain

store schain info in Targeting  shared object
include schain info in request by RequestBuilder

* schain

build additions

* Fixes CFBundleVersion issue by adding version 1 to the project's settings

Co-authored-by: Playwire Developer <mobile.team@playwire.com>
  • Loading branch information
silviojaureguibehere and Playwire Developer authored Mar 29, 2022
1 parent 6b13b5f commit 9126079
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 6cafa0cba9f87b210c1aea843c343dfec41d5cf4

COCOAPODS: 1.11.2
COCOAPODS: 1.10.2
6 changes: 4 additions & 2 deletions PrebidMobile.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = "";
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand Down Expand Up @@ -718,7 +718,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = "";
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand Down Expand Up @@ -796,6 +796,7 @@
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand Down Expand Up @@ -828,6 +829,7 @@
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand Down
2 changes: 2 additions & 0 deletions PrebidMobile/RequestBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ class RequestBuilder: NSObject {
extDict["omidpn"] = Targeting.shared.omidPartnerName
extDict["omidpv"] = Targeting.shared.omidPartnerVersion

extDict["schain"] = Targeting.shared.schain

sourceDict["ext"] = extDict

return sourceDict
Expand Down
2 changes: 2 additions & 0 deletions PrebidMobile/Targeting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ import CoreLocation

public var omidPartnerVersion: String?

public var schain: [String: Any]?

//Objective-C Api
@available(swift, obsoleted: 1.0)
public func setLocationPrecision(_ newValue: NSNumber?) {
Expand Down
2 changes: 1 addition & 1 deletion tools/PrebidValidator/Dr.Prebid.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@
"${BUILT_PRODUCTS_DIR}/PromisesObjC/FBLPromises.framework",
"${BUILT_PRODUCTS_DIR}/mopub-ios-sdk/MoPubSDK.framework",
"${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/mopub-ios-sdk/Core/OMSDK_Mopub.framework/OMSDK_Mopub",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OMSDK_Mopub/OMSDK_Mopub.framework/OMSDK_Mopub",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
Expand Down

0 comments on commit 9126079

Please sign in to comment.