Skip to content

Commit 1743532

Browse files
authored
Widen platform support for iOS 12 (#20)
1 parent 04773b7 commit 1743532

5 files changed

Lines changed: 14 additions & 12 deletions

File tree

Development/UID2GoogleGMADevelopmentApp/UID2GoogleGMADevelopmentApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ let package = Package(
77
name: "UID2GMAPlugin",
88
defaultLocalization: "en",
99
platforms: [
10-
.iOS(.v13)
10+
.iOS(.v12)
1111
],
1212
products: [
1313
.library(
1414
name: "UID2GMAPlugin",
1515
targets: ["UID2GMAPlugin"])
1616
],
1717
dependencies: [
18-
.package(url: "https://github.com/IABTechLab/uid2-ios-sdk.git", "0.2.0" ..< "2.0.0"),
18+
.package(url: "https://github.com/IABTechLab/uid2-ios-sdk.git", "1.7.0" ..< "2.0.0"),
1919
.package(url: "https://github.com/googleads/swift-package-manager-google-mobile-ads.git", "10.7.0" ..< "12.0.0")
2020
],
2121
targets: [

Sources/UID2GMAPlugin/UID2GMAMediationAdapter.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ import UID2
1111

1212
/// Adapter to connect UID2 to Google Mobile Ads
1313
/// https://developers.google.com/admob/ios/open-bidding-adapter
14+
@available(iOS 13, *)
1415
@objc(UID2GMAMediationAdapter)
1516
class UID2GMAMediationAdapter: NSObject {
1617

1718
required override init() { }
1819

1920
}
2021

22+
@available(iOS 13, *)
2123
extension UID2GMAMediationAdapter: GADRTBAdapter {
2224

2325
static func setUpWith(_ configuration: GADMediationServerConfiguration, completionHandler: @escaping GADMediationAdapterSetUpCompletionBlock) {
@@ -41,8 +43,8 @@ extension UID2GMAMediationAdapter: GADRTBAdapter {
4143
static func adapterVersion() -> GADVersionNumber {
4244
var version = GADVersionNumber()
4345
version.majorVersion = 0
44-
version.minorVersion = 3
45-
version.patchVersion = 3
46+
version.minorVersion = 4
47+
version.patchVersion = 0
4648
return version
4749
}
4850

UID2GMAPlugin.podspec.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
"summary": "A plugin for integrating UID2 and Google GMA into iOS applications.",
44
"homepage": "https://unifiedid.com/",
55
"license": "Apache License, Version 2.0",
6-
"version": "0.3.3",
6+
"version": "0.4.0",
77
"authors": {
88
"David Snabel-Caunt": "dave.snabel-caunt@thetradedesk.com"
99
},
1010
"source": {
1111
"git": "https://github.com/IABTechLab/uid2-ios-plugin-google-gma.git",
12-
"tag": "v0.3.3"
12+
"tag": "v0.4.0"
1313
},
1414
"platforms": {
15-
"ios": "13.0"
15+
"ios": "12.0"
1616
},
1717
"swift_versions": [
1818
"5"
@@ -31,7 +31,7 @@
3131
"< 12.0"
3232
],
3333
"UID2": [
34-
">= 0.2",
34+
">= 1.7.0",
3535
"< 2.0"
3636
]
3737
}

0 commit comments

Comments
 (0)