1.1.9首页资源调整

This commit is contained in:
QinFendeZhou 2024-09-06 18:21:15 +08:00
parent d81c3e65f0
commit e4ccb15a73
146 changed files with 28063 additions and 7167 deletions

View File

@ -37,4 +37,5 @@ pod 'GoogleMobileAdsMediationVungle'
pod 'GoogleMobileAdsMediationPangle'
pod 'GoogleMobileAdsMediationIronSource'
pod 'GoogleMobileAdsMediationMintegral'
pod 'GoogleMobileAdsMediationChartboost'
end

View File

@ -35,12 +35,16 @@ PODS:
- BURelyFoundation_Global/Zip
- BURelyFoundation_Global/Zip (1.0.0.0):
- BURelyFoundation_Global/Foundation
- ChartboostSDK (9.7.0)
- DownloadButton (0.1.0)
- Google-Mobile-Ads-SDK (11.4.0):
- GoogleUserMessagingPlatform (>= 1.1)
- GoogleMobileAdsMediationAppLovin (12.6.0.0):
- AppLovinSDK (= 12.6.0)
- Google-Mobile-Ads-SDK (~> 11.0)
- GoogleMobileAdsMediationChartboost (9.7.0.0):
- ChartboostSDK (= 9.7.0)
- Google-Mobile-Ads-SDK (~> 11.0)
- GoogleMobileAdsMediationIronSource (8.2.0.0.0):
- Google-Mobile-Ads-SDK (~> 11.0)
- IronSourceSDK (= 8.2.0.0)
@ -99,6 +103,7 @@ DEPENDENCIES:
- DownloadButton
- Google-Mobile-Ads-SDK (= 11.4.0)
- GoogleMobileAdsMediationAppLovin
- GoogleMobileAdsMediationChartboost
- GoogleMobileAdsMediationIronSource
- GoogleMobileAdsMediationMintegral
- GoogleMobileAdsMediationPangle
@ -121,9 +126,11 @@ SPEC REPOS:
- Alamofire
- AppLovinSDK
- BURelyFoundation_Global
- ChartboostSDK
- DownloadButton
- Google-Mobile-Ads-SDK
- GoogleMobileAdsMediationAppLovin
- GoogleMobileAdsMediationChartboost
- GoogleMobileAdsMediationIronSource
- GoogleMobileAdsMediationMintegral
- GoogleMobileAdsMediationPangle
@ -148,9 +155,11 @@ SPEC CHECKSUMS:
Alamofire: f36a35757af4587d8e4f4bfa223ad10be2422b8c
AppLovinSDK: 76c1f378b8492110a197c288ea4907930d703829
BURelyFoundation_Global: d8099571ab7a0767ec0a334052108e33ff6d8a3f
ChartboostSDK: 0cd093c90a5a21c89783fe5be486e511fb2dbfc8
DownloadButton: 49a21a89e0d7d1b42d9134f79aaa40e727cd57c3
Google-Mobile-Ads-SDK: d097dca17b9344135dcf592e79df0c7fbd89947b
GoogleMobileAdsMediationAppLovin: bdd093b9b0469da3206aa7fc049ce92f2b672822
GoogleMobileAdsMediationChartboost: ef674600037f6ccd046df19ed663d223e4822026
GoogleMobileAdsMediationIronSource: 259afd9bc8293ab1563439188a7cc1552a27f91c
GoogleMobileAdsMediationMintegral: 83382df88ca5560318d03d5faa82c3ef33cf00c8
GoogleMobileAdsMediationPangle: 7cdcaeb4e0cceb3b2546724a9c5c295096047b46
@ -170,6 +179,6 @@ SPEC CHECKSUMS:
Tiercel: c0a73f876a72800333b15f4e7e48791f4ad21e90
VungleAds: 4823f53e691ba140ff21e3a3a6897af789832a36
PODFILE CHECKSUM: 6b0051839104814ab26eed21f9448682e50b7c68
PODFILE CHECKSUM: 6a95ca6014572e024266fe6dd05d870b42d7be49
COCOAPODS: 1.15.2

View File

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>ChartboostSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>ChartboostSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>

View File

@ -0,0 +1,803 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>ios-arm64/ChartboostSDK.framework/ChartboostSDK</key>
<data>
quSpH4jvBLe7Nmm4atYgrYUkpBk=
</data>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBAd.h</key>
<data>
Hqerc/VGCU+T8bx9Kjf4o3oduWA=
</data>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBAdDelegate.h</key>
<data>
RIZkuv7XipQsTtmMs/udPT+p5gg=
</data>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBAdEvent.h</key>
<data>
Z9iOSKEUWLpQLoVHeiG5oaNYN60=
</data>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBBanner.h</key>
<data>
AR9un6+2AfRyuX+HjVP2CyyRGvM=
</data>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBDataUseConsent.h</key>
<data>
Rl93NbPPkOhFjclwFJ+YgsNJGz8=
</data>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBInterstitial.h</key>
<data>
j+6Io5e3N5V2bHmvF8NF06ojVvw=
</data>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBMediation.h</key>
<data>
f/qPODbJN5IX2h0CjWE/Wk+B7QY=
</data>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBRewarded.h</key>
<data>
rX362tL3ko4Le4/eA+4fb0mThUM=
</data>
<key>ios-arm64/ChartboostSDK.framework/Headers/Chartboost.h</key>
<data>
eFeAPjweXjdytKoh0mwt1HH2igE=
</data>
<key>ios-arm64/ChartboostSDK.framework/Headers/ChartboostSDK-Swift.h</key>
<data>
rjnPFjJtcGHipH3ldebt4O4i7wI=
</data>
<key>ios-arm64/ChartboostSDK.framework/Headers/ChartboostSDK.h</key>
<data>
vIvNxaYm+maQHuy7Orh4Y03IL20=
</data>
<key>ios-arm64/ChartboostSDK.framework/Info.plist</key>
<data>
VH/tAeqncov2zOuk17TySrtgR1Y=
</data>
<key>ios-arm64/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios.abi.json</key>
<data>
F6/HpvgzFs0lWHJ/Ieefc+SrO8A=
</data>
<key>ios-arm64/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
<data>
LHAtGNjsY9Kg0sZahfS5FaCAYME=
</data>
<key>ios-arm64/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
<data>
et01/m296RxnTWxAaYM9U4VRqdI=
</data>
<key>ios-arm64/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios.swiftinterface</key>
<data>
LHAtGNjsY9Kg0sZahfS5FaCAYME=
</data>
<key>ios-arm64/ChartboostSDK.framework/Modules/module.modulemap</key>
<data>
ksizb5Y2nDqp7KOPI3wdMHnifaA=
</data>
<key>ios-arm64/ChartboostSDK.framework/PrivacyInfo.xcprivacy</key>
<data>
4Q6ZldxeYHcejcuGiVOZBPEZtpU=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/ChartboostSDK</key>
<data>
h+6CMbhxZzu+u4R8n6XW4z/1cJ8=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBAd.h</key>
<data>
Hqerc/VGCU+T8bx9Kjf4o3oduWA=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBAdDelegate.h</key>
<data>
RIZkuv7XipQsTtmMs/udPT+p5gg=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBAdEvent.h</key>
<data>
Z9iOSKEUWLpQLoVHeiG5oaNYN60=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBBanner.h</key>
<data>
AR9un6+2AfRyuX+HjVP2CyyRGvM=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBDataUseConsent.h</key>
<data>
Rl93NbPPkOhFjclwFJ+YgsNJGz8=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBInterstitial.h</key>
<data>
j+6Io5e3N5V2bHmvF8NF06ojVvw=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBMediation.h</key>
<data>
f/qPODbJN5IX2h0CjWE/Wk+B7QY=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBRewarded.h</key>
<data>
rX362tL3ko4Le4/eA+4fb0mThUM=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/Chartboost.h</key>
<data>
eFeAPjweXjdytKoh0mwt1HH2igE=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/ChartboostSDK-Swift.h</key>
<data>
V0CGLgoztGoPUqM2ghcoIFlx+14=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/ChartboostSDK.h</key>
<data>
vIvNxaYm+maQHuy7Orh4Y03IL20=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Info.plist</key>
<data>
q4lrHM98f0a0ZxzY2I2XDa6qv+Q=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
<data>
/Yaicd+3IqxseB2UuWUHr3NlM9A=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
<data>
IOqtxI8A/SltQ0rrU8I9z79TQNk=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
<data>
wlk3zn9TP2077S7l3GWH5QptklI=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
<data>
IOqtxI8A/SltQ0rrU8I9z79TQNk=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
<data>
QSjfXhxEigoj/yntpz7CZ2R+oOg=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
<data>
UaMRPRsAPJ1Sj/Ls7/b2uzYpWc0=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
<data>
21HWohH51gcQJMcqr1D1R5bKIkU=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
<data>
UaMRPRsAPJ1Sj/Ls7/b2uzYpWc0=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/module.modulemap</key>
<data>
ksizb5Y2nDqp7KOPI3wdMHnifaA=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/PrivacyInfo.xcprivacy</key>
<data>
4Q6ZldxeYHcejcuGiVOZBPEZtpU=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/_CodeSignature/CodeDirectory</key>
<data>
caAY9kzhHen+dE9fWv65tF4n9aY=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/_CodeSignature/CodeRequirements</key>
<data>
OnX22wWFKRSOFN1+obRynMCeyXM=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/_CodeSignature/CodeRequirements-1</key>
<data>
Mh0UzWnzXFCVeL5bY2hzdRKn/v0=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/_CodeSignature/CodeResources</key>
<data>
B48zcRc7oJfqM5XcJvnbKwGZAmU=
</data>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/_CodeSignature/CodeSignature</key>
<data>
2jmj7l5rSw0yVb/vlWAYkK/YBwk=
</data>
</dict>
<key>files2</key>
<dict>
<key>ios-arm64/ChartboostSDK.framework/ChartboostSDK</key>
<dict>
<key>hash</key>
<data>
quSpH4jvBLe7Nmm4atYgrYUkpBk=
</data>
<key>hash2</key>
<data>
XnohW7ivzC+FYu60Du3oTqoLzxmCHWNMY7foasrbi9k=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBAd.h</key>
<dict>
<key>hash</key>
<data>
Hqerc/VGCU+T8bx9Kjf4o3oduWA=
</data>
<key>hash2</key>
<data>
vp4q9acOAbhzzG+BcO7K6W6vC1o7FtTje2zgaicRTiw=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBAdDelegate.h</key>
<dict>
<key>hash</key>
<data>
RIZkuv7XipQsTtmMs/udPT+p5gg=
</data>
<key>hash2</key>
<data>
nR6ZABusGq2LECyw6enTNNj8qcqsQMhJLu4ywlKTfJ0=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBAdEvent.h</key>
<dict>
<key>hash</key>
<data>
Z9iOSKEUWLpQLoVHeiG5oaNYN60=
</data>
<key>hash2</key>
<data>
Z66X8hx8Gshx78fqK+jNWxUrc/JeYNJ6tDNoGIJlnfI=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBBanner.h</key>
<dict>
<key>hash</key>
<data>
AR9un6+2AfRyuX+HjVP2CyyRGvM=
</data>
<key>hash2</key>
<data>
0oJSi3vUqPuYWfn/dJ8uBxE/o3pAVL2/Ddqe6ehLMqY=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBDataUseConsent.h</key>
<dict>
<key>hash</key>
<data>
Rl93NbPPkOhFjclwFJ+YgsNJGz8=
</data>
<key>hash2</key>
<data>
Masw0wruSwoql2Xd7feu12tHKpT2YA/fVKl/Kd2kp9g=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBInterstitial.h</key>
<dict>
<key>hash</key>
<data>
j+6Io5e3N5V2bHmvF8NF06ojVvw=
</data>
<key>hash2</key>
<data>
Fmm8Nlf2Ho5AYkMQMgdhcT6RpSTgD5vKGcZnXTtxcLc=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBMediation.h</key>
<dict>
<key>hash</key>
<data>
f/qPODbJN5IX2h0CjWE/Wk+B7QY=
</data>
<key>hash2</key>
<data>
jFjB4AZG96k08Mr7dGh0IqHx44wJaMj6k5u8B1502cs=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Headers/CHBRewarded.h</key>
<dict>
<key>hash</key>
<data>
rX362tL3ko4Le4/eA+4fb0mThUM=
</data>
<key>hash2</key>
<data>
mpVM/xOTDlLGet5ePmpB13q1R55cQ3KHkyA6lX5z+Xo=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Headers/Chartboost.h</key>
<dict>
<key>hash</key>
<data>
eFeAPjweXjdytKoh0mwt1HH2igE=
</data>
<key>hash2</key>
<data>
/+uAcoCjE9tvOwY6euFNt8XOHHP+ldtnoBqLQ6WwUp0=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Headers/ChartboostSDK-Swift.h</key>
<dict>
<key>hash</key>
<data>
rjnPFjJtcGHipH3ldebt4O4i7wI=
</data>
<key>hash2</key>
<data>
RYJbQahK/2TrFipyq3eU1QKIIUIiwSIJmQJqvpCQf0w=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Headers/ChartboostSDK.h</key>
<dict>
<key>hash</key>
<data>
vIvNxaYm+maQHuy7Orh4Y03IL20=
</data>
<key>hash2</key>
<data>
0x3fNm0M2yRnw7Nie71m+Dt3YlmCKz7gvPDakejMaOM=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Info.plist</key>
<dict>
<key>hash</key>
<data>
VH/tAeqncov2zOuk17TySrtgR1Y=
</data>
<key>hash2</key>
<data>
pbw4NwXtHqRK5XQjDXABSah2eT3un/5xzzd565ZksTM=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios.abi.json</key>
<dict>
<key>hash</key>
<data>
F6/HpvgzFs0lWHJ/Ieefc+SrO8A=
</data>
<key>hash2</key>
<data>
jLuJOgNOcidZjna5Hj6Vp6qrTiWQNCyCifN1WxXVrTI=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
<dict>
<key>hash</key>
<data>
LHAtGNjsY9Kg0sZahfS5FaCAYME=
</data>
<key>hash2</key>
<data>
iPUUH6Lbx4BZ5bJL0CLhb7UT0qHf5tYCXUiVgEZKKsk=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
<dict>
<key>hash</key>
<data>
et01/m296RxnTWxAaYM9U4VRqdI=
</data>
<key>hash2</key>
<data>
FT0tj/XqHpLwS7tyuApaPdHENSH3cFxPmHnUNXojE4Q=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios.swiftinterface</key>
<dict>
<key>hash</key>
<data>
LHAtGNjsY9Kg0sZahfS5FaCAYME=
</data>
<key>hash2</key>
<data>
iPUUH6Lbx4BZ5bJL0CLhb7UT0qHf5tYCXUiVgEZKKsk=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/Modules/module.modulemap</key>
<dict>
<key>hash</key>
<data>
ksizb5Y2nDqp7KOPI3wdMHnifaA=
</data>
<key>hash2</key>
<data>
J/bjGVadski7FcHRHx15YtqIUad67SViASzYuMPuU8g=
</data>
</dict>
<key>ios-arm64/ChartboostSDK.framework/PrivacyInfo.xcprivacy</key>
<dict>
<key>hash</key>
<data>
4Q6ZldxeYHcejcuGiVOZBPEZtpU=
</data>
<key>hash2</key>
<data>
w1gG3A84IZBAWL0PiMF7xI6l8RpAbQqqdo4/p2ZOckA=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/ChartboostSDK</key>
<dict>
<key>hash</key>
<data>
h+6CMbhxZzu+u4R8n6XW4z/1cJ8=
</data>
<key>hash2</key>
<data>
7YhZLM5+YuybrXnj49AGWLT6v9+4zI0Jc7UY677DEMk=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBAd.h</key>
<dict>
<key>hash</key>
<data>
Hqerc/VGCU+T8bx9Kjf4o3oduWA=
</data>
<key>hash2</key>
<data>
vp4q9acOAbhzzG+BcO7K6W6vC1o7FtTje2zgaicRTiw=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBAdDelegate.h</key>
<dict>
<key>hash</key>
<data>
RIZkuv7XipQsTtmMs/udPT+p5gg=
</data>
<key>hash2</key>
<data>
nR6ZABusGq2LECyw6enTNNj8qcqsQMhJLu4ywlKTfJ0=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBAdEvent.h</key>
<dict>
<key>hash</key>
<data>
Z9iOSKEUWLpQLoVHeiG5oaNYN60=
</data>
<key>hash2</key>
<data>
Z66X8hx8Gshx78fqK+jNWxUrc/JeYNJ6tDNoGIJlnfI=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBBanner.h</key>
<dict>
<key>hash</key>
<data>
AR9un6+2AfRyuX+HjVP2CyyRGvM=
</data>
<key>hash2</key>
<data>
0oJSi3vUqPuYWfn/dJ8uBxE/o3pAVL2/Ddqe6ehLMqY=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBDataUseConsent.h</key>
<dict>
<key>hash</key>
<data>
Rl93NbPPkOhFjclwFJ+YgsNJGz8=
</data>
<key>hash2</key>
<data>
Masw0wruSwoql2Xd7feu12tHKpT2YA/fVKl/Kd2kp9g=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBInterstitial.h</key>
<dict>
<key>hash</key>
<data>
j+6Io5e3N5V2bHmvF8NF06ojVvw=
</data>
<key>hash2</key>
<data>
Fmm8Nlf2Ho5AYkMQMgdhcT6RpSTgD5vKGcZnXTtxcLc=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBMediation.h</key>
<dict>
<key>hash</key>
<data>
f/qPODbJN5IX2h0CjWE/Wk+B7QY=
</data>
<key>hash2</key>
<data>
jFjB4AZG96k08Mr7dGh0IqHx44wJaMj6k5u8B1502cs=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/CHBRewarded.h</key>
<dict>
<key>hash</key>
<data>
rX362tL3ko4Le4/eA+4fb0mThUM=
</data>
<key>hash2</key>
<data>
mpVM/xOTDlLGet5ePmpB13q1R55cQ3KHkyA6lX5z+Xo=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/Chartboost.h</key>
<dict>
<key>hash</key>
<data>
eFeAPjweXjdytKoh0mwt1HH2igE=
</data>
<key>hash2</key>
<data>
/+uAcoCjE9tvOwY6euFNt8XOHHP+ldtnoBqLQ6WwUp0=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/ChartboostSDK-Swift.h</key>
<dict>
<key>hash</key>
<data>
V0CGLgoztGoPUqM2ghcoIFlx+14=
</data>
<key>hash2</key>
<data>
UinD73IXcT80gbYpHA4HKPpHNB/VytOJOE+jb/FrauE=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Headers/ChartboostSDK.h</key>
<dict>
<key>hash</key>
<data>
vIvNxaYm+maQHuy7Orh4Y03IL20=
</data>
<key>hash2</key>
<data>
0x3fNm0M2yRnw7Nie71m+Dt3YlmCKz7gvPDakejMaOM=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Info.plist</key>
<dict>
<key>hash</key>
<data>
q4lrHM98f0a0ZxzY2I2XDa6qv+Q=
</data>
<key>hash2</key>
<data>
ry/JOW/KwUGg4Stkp8EFdKiY7kALlySzzgnbyZDajgk=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
<dict>
<key>hash</key>
<data>
/Yaicd+3IqxseB2UuWUHr3NlM9A=
</data>
<key>hash2</key>
<data>
Cx35aATAjKq+KzIOcPA70/iijZ3Q5KI7XI/NJcSIJz4=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
<dict>
<key>hash</key>
<data>
IOqtxI8A/SltQ0rrU8I9z79TQNk=
</data>
<key>hash2</key>
<data>
Rn49KVrv7LlLzHeZ2JpSZhNG28omDdaee1McNw2FxqI=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
<dict>
<key>hash</key>
<data>
wlk3zn9TP2077S7l3GWH5QptklI=
</data>
<key>hash2</key>
<data>
HKsm+dYyzysIfU84qO2qZkT6QYxt0HQAot4baVN4xMk=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
<dict>
<key>hash</key>
<data>
IOqtxI8A/SltQ0rrU8I9z79TQNk=
</data>
<key>hash2</key>
<data>
Rn49KVrv7LlLzHeZ2JpSZhNG28omDdaee1McNw2FxqI=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
<dict>
<key>hash</key>
<data>
QSjfXhxEigoj/yntpz7CZ2R+oOg=
</data>
<key>hash2</key>
<data>
RnrAQQ4kY2E0RwFuQMfuenq3LsUB654Zys2EcEvPCB8=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
<dict>
<key>hash</key>
<data>
UaMRPRsAPJ1Sj/Ls7/b2uzYpWc0=
</data>
<key>hash2</key>
<data>
toe/Nsow1/7XTcbOy2bfHqRI3W2DNOfD4sPrrSGVinI=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
<dict>
<key>hash</key>
<data>
21HWohH51gcQJMcqr1D1R5bKIkU=
</data>
<key>hash2</key>
<data>
gxnd6b9vDBRbEtSNTjzgCtfzbypU/DQKY3el+k9K83g=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
<dict>
<key>hash</key>
<data>
UaMRPRsAPJ1Sj/Ls7/b2uzYpWc0=
</data>
<key>hash2</key>
<data>
toe/Nsow1/7XTcbOy2bfHqRI3W2DNOfD4sPrrSGVinI=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/Modules/module.modulemap</key>
<dict>
<key>hash</key>
<data>
ksizb5Y2nDqp7KOPI3wdMHnifaA=
</data>
<key>hash2</key>
<data>
J/bjGVadski7FcHRHx15YtqIUad67SViASzYuMPuU8g=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/PrivacyInfo.xcprivacy</key>
<dict>
<key>hash</key>
<data>
4Q6ZldxeYHcejcuGiVOZBPEZtpU=
</data>
<key>hash2</key>
<data>
w1gG3A84IZBAWL0PiMF7xI6l8RpAbQqqdo4/p2ZOckA=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/_CodeSignature/CodeDirectory</key>
<dict>
<key>hash</key>
<data>
caAY9kzhHen+dE9fWv65tF4n9aY=
</data>
<key>hash2</key>
<data>
YveWP0DICN9Afx1kMRKL35dYGqWLbotz5TzKMHdiImE=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/_CodeSignature/CodeRequirements</key>
<dict>
<key>hash</key>
<data>
OnX22wWFKRSOFN1+obRynMCeyXM=
</data>
<key>hash2</key>
<data>
mHkgkE6rZQ51eIwFSqCwUk5qgL/HGqMt+NI3phdD+YY=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/_CodeSignature/CodeRequirements-1</key>
<dict>
<key>hash</key>
<data>
Mh0UzWnzXFCVeL5bY2hzdRKn/v0=
</data>
<key>hash2</key>
<data>
7PfMDdy1hfKPQJklprvpqMgDtCJlb7D4XcRYHf5Y1Og=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/_CodeSignature/CodeResources</key>
<dict>
<key>hash</key>
<data>
B48zcRc7oJfqM5XcJvnbKwGZAmU=
</data>
<key>hash2</key>
<data>
L/56I23IwQRpCsDWxPQTyY+9Dlug5gIYs5g4fHb9/tE=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/ChartboostSDK.framework/_CodeSignature/CodeSignature</key>
<dict>
<key>hash</key>
<data>
2jmj7l5rSw0yVb/vlWAYkK/YBwk=
</data>
<key>hash2</key>
<data>
47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>

View File

@ -0,0 +1,77 @@
/*
* CHBAd.h
* Chartboost
*
* Copyright 2019 Chartboost. All rights reserved.
*/
#import <UIKit/UIKit.h>
@protocol CHBAdDelegate;
NS_ASSUME_NONNULL_BEGIN
/*!
The protocol to which all Chartboost ads conform to.
# Discussion #
Provides an interface for basic functionalities common to all ads.
*/
@protocol CHBAd <NSObject>
/*!
The delegate instance to receive ad callbacks.
*/
@property (nonatomic, weak, nullable) id<CHBAdDelegate> delegate;
/*!
Chartboost location for the ad.
# Discussion #
Used to obtain ads with increased performance.
*/
@property (nonatomic, readonly) NSString *location;
/*!
Determines if a cached ad exists.
- returns: YES if there is a cached ad, and NO if not.
*/
@property (nonatomic, readonly) BOOL isCached;
/*!
Caches an ad.
# Discussion #
- This method will first check if there is a cached ad and, if found, will do nothing.
- If no cached ad exists the method will attempt to fetch it from the Chartboost server.
- Implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
*/
- (void)cache;
/*!
Caches an ad using an OpenRTB bid response.
# Discussion #
- Use this method if you want to cache an ad using a winning bid obtained from the Chartboost bidder.
- Use the isCached property or implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
- parameter bidResponse: A bid response containing information about the ad to cache in OpenRTB format.
*/
- (void)cacheBidResponse:(NSString *)bidResponse NS_SWIFT_NAME(cache(bidResponse:));
/*!
Clears the ad cache.
# Discussion #
- This will do nothing if there's no cached ad. Otherwise it will remove any data
related to the ad, bringing the ad instance back to a non-cached state.
After calling this method you may call `cache` again and a new ad will be fetched.
*/
- (void)clearCache;
/*!
Shows an ad.
# Discussion #
- This method will first check if there is a cached ad, if found it will present it.
- Passing a non-nil view controller is required.
- parameter viewController: The view controller to present the ad on.
*/
- (void)showFromViewController:(UIViewController *)viewController;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,204 @@
/*
* CHBAdDelegate.h
* Chartboost
*
* Copyright 2019 Chartboost. All rights reserved.
*/
#import <ChartboostSDK/CHBAdEvent.h>
NS_ASSUME_NONNULL_BEGIN
@class CHBCacheError;
@class CHBShowError;
@class CHBClickError;
/*!
The protocol which all Chartboost ad delegates inherit from.
# Discussion #
Provides methods to receive notifications related to an ad's actions and to control its behavior.
*/
@protocol CHBAdDelegate <NSObject>
@optional
/*!
Called after a cache call, either if an ad has been loaded from the Chartboost servers and cached, or tried to but failed.
# Discussion #
Implement to be notified of when an ad is ready to be shown after the cache method has been called.
- parameter event: A cache event with info related to the cached ad.
- parameter error: An error specifying the failure reason, or nil if the operation was successful.
A typical implementation would look like this:
```objc
- (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error {
if (error) {
// Handle error
} else {
// At this point event.ad.isCached will be true, and the ad is ready to be shown.
}
}
```
*/
- (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error;
/*!
Called after a showFromViewController: call, right before an ad is presented.
# Discussion #
Implement to be notified of when an ad is about to be presented.
- parameter event: A show event with info related to the ad to be shown.
A typical implementation would look like this:
```objc
- (void)willShowAd:(CHBShowEvent *)event {
// Pause ongoing processes like video or gameplay.
}
```
*/
- (void)willShowAd:(CHBShowEvent *)event;
/*!
Called after a showFromViewController: call, either if the ad has been presented and an ad impression logged, or if the operation failed.
# Discussion #
- Implement to be notified of when the ad presentation process has finished.
- This method will be called once for each call to showFromViewController: on an interstitial or rewarded ad.
- In contrast, this may be called up to two times after showing a banner, if some error occurs after the ad has been successfully shown.
- parameter event: A show event with info related to the ad shown.
- parameter error: An error specifying the failure reason, or nil if the operation was successful.
A common practice consists of caching an ad here so there's an ad ready for the next time you need to show it.
```objc
- (void)didShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error {
if (error) {
// Handle error, possibly resuming processes paused in willShowAd:
} else {
[event.ad cache];
}
}
```
*/
- (void)didShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error;
/*!
Called after an ad has been clicked.
# Discussion #
- Implement to be notified of when an ad has been clicked.
- If the click does not result into the opening of a link an error will be provided explaning why.
- parameter event: A click event with info related to the ad clicked.
- parameter error: An error specifying the failure reason, or nil if the operation was successful.
A typical implementation would look like this:
```objc
- (void)didClickAd:(CHBClickEvent *)event error:(nullable CHBClickError *)error {
if (error) {
// Handle error
} else {
// Maybe pause ongoing processes like video or gameplay when a banner ad is clicked.
}
}
```
*/
- (void)didClickAd:(CHBClickEvent *)event error:(nullable CHBClickError *)error;
/*!
Called after an ad has recorded an impression.
# Discussion #
- Implement to be notified of when an ad has recorded an impression.
- This method will be called once a valid impression is recorded after showing the ad.
- parameter event: An impression event with info related to the visible ad.
*/
- (void)didRecordImpression:(CHBImpressionEvent *)event;
@end
/*!
Delegate protocol for ads that can be dismissed.
# Discussion #
Provides methods to receive notifications related to an ad's actions and to control its behavior.
*/
@protocol CHBDismissableAdDelegate <CHBAdDelegate>
@optional
/*!
Called after an ad is dismissed.
# Discussion #
- Implement to be notified of when an ad is no longer displayed.
- Note that this method won't get called for ads that failed to be shown. To handle that case implement didShowAd:error:
- You may use the error property inside the event to know if the dismissal was expected or caused by an error.
- parameter event: A dismiss event with info related to the dismissed ad.
A typical implementation would look like this:
```objc
- (void)didDismissAd:(CHBDismissEvent *)event {
// Resume processes paused in willShowAd:
}
```
*/
- (void)didDismissAd:(CHBDismissEvent *)event;
@end
/*!
Interstitial delegate protocol.
# Discussion #
- Provides methods to receive notifications related to an interstitial ad behavior.
- In a typical integration you would implement willShowAd:, didShowAd: and didDismissAd:, pausing and resuming ongoing processes (e.g: gameplay, video) there.
*/
@protocol CHBInterstitialDelegate <CHBDismissableAdDelegate>
@end
/*!
Rewarded delegate protocol.
# Discussion #
- Provides methods to receive notifications related to a rewarded ad behavior.
- In a typical integration you would implement willShowAd:, didShowAd: and didDismissAd:, pausing and resuming ongoing processes (e.g: gameplay, video) there.
- The method didEarnReward: needs to be implemented in order to be notified when the user earns a reward.
*/
@protocol CHBRewardedDelegate <CHBDismissableAdDelegate>
@optional
/*!
Called when a rewarded ad has completed playing.
# Discussion #
Implement to be notified when a reward is earned.
- parameter event: A reward event with info related to the ad and the reward.
*/
- (void)didEarnReward:(CHBRewardEvent *)event;
@end
/*!
Banner delegate protocol.
# Discussion #
Provides methods to receive notifications related to a banner ad behavior.
*/
@protocol CHBBannerDelegate <CHBAdDelegate>
@optional
/*!
Called when the link viewer presented as result of an ad click has been dismissed.
# Discussion #
- Implement to be notified of when an ad click has been handled.
- This can mean an in-app web browser or App Store app sheet has been dismissed, or that the user came back to the app after the link was opened on an external application.
- parameter event: A click event with info related to the ad clicked.
- parameter error: An error specifying the failure reason, or nil if the operation was successful.
A typical implementation would look like this:
```objc
- (void)didFinishHandlingClick:(CHBClickEvent *)event error:(nullable CHBClickError *)error {
// Resume processes previously paused on didClickAd:error: implementation.
}
```
*/
- (void)didFinishHandlingClick:(CHBClickEvent *)event error:(nullable CHBClickError *)error __attribute__((deprecated("Will be removed with the next major update")));
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,82 @@
//
// Chartboost.h
// Chartboost
//
// Copyright 2021 Chartboost. All rights reserved.
//
#import <ChartboostSDK/CHBAd.h>
NS_ASSUME_NONNULL_BEGIN
/*!
CHBAdEvent is a NSObject subclass, it contains information about a specific event and is related to an ad.
# Discussion #
In the SDK exists various types of CHBAdEvent are related to the Ad Delegate callbacks.
- CHBCacheEvent
- CHBShowEvent
- CHBImpressionEvent
- CHBClickEvent
- CHBDismissEvent
- CHBRewardEvent
*/
@interface CHBAdEvent : NSObject
/*!
The ad related to the event.
*/
@property (nonatomic, readonly) id<CHBAd> ad;
/*!
A string that uniquely identifies the cached ad, updated when a cache operation ends.
*/
@property (nonatomic, readonly, nullable) NSString *adID;
@end
/*!
A CHBAdEvent subclass passed on cache-related delegate methods.
*/
@interface CHBCacheEvent : CHBAdEvent
@end
/*!
A CHBAdEvent subclass passed on show-related delegate methods.
*/
@interface CHBShowEvent : CHBAdEvent
@end
/*!
A CHBAdEvent subclass passed on impression-related delegate methods.
*/
@interface CHBImpressionEvent : CHBAdEvent
@end
/*!
A CHBAdEvent subclass passed on click-related delegate methods.
*/
@interface CHBClickEvent : CHBAdEvent
@end
/*!
A CHBAdEvent subclass passed on dismiss-related delegate methods.
*/
@interface CHBDismissEvent : CHBAdEvent
/*!
The error that forced the ad dismissal, or nil if the user (or the ad itself) chose to dismiss the ad.
*/
@property (nonatomic, readonly, nullable) NSError *error;
@end
/*!
A CHBAdEvent subclass passed on reward-related delegate methods.
*/
@interface CHBRewardEvent : CHBAdEvent
/*!
The earned reward.
*/
@property (nonatomic, readonly) NSInteger reward;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,152 @@
/*
* CHBBanner.h
* Chartboost
*
* Copyright 2019 Chartboost. All rights reserved.
*/
#import <ChartboostSDK/CHBAd.h>
#import <ChartboostSDK/CHBAdDelegate.h>
#import <ChartboostSDK/CHBMediation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
Defines standard sizes for CHBBanner objects.
# Discussion #
Standard sizes used to describe default banner bounds.
*/
typedef CGSize const CHBBannerSize;
/*! "Banner" - Standard banner size on phones. */
FOUNDATION_EXPORT CHBBannerSize const CHBBannerSizeStandard;
/*! "Medium Rect" - Medium banner size on phones. */
FOUNDATION_EXPORT CHBBannerSize const CHBBannerSizeMedium;
/*! "Tablet" - Leaderboard banner size on tablets. */
FOUNDATION_EXPORT CHBBannerSize const CHBBannerSizeLeaderboard;
/*!
CHBBanner is a UIView subclass able to show banner ads. Once obtained via the provided initializer, the
developer is responsible of adding it to the app's view hierarchy and laying it out properly.
A banner ad has a CHBBannerSize which corresponds to the view's intrinsicContentSize.
The developer should not give the banner view object a frame size different than its CHBBannerSize property.
If you are using AutoLayout just give the banner an X and Y position constraint and it will be automatically sized.
You can create and present as many banners as you want at the same time.
For more information on integrating and using the Chartboost SDK please visit our help site documentation at [Chartboost Helpsite](https://help.chartboost.com)
A typical implementation would look like this:
```objc
- (void)createAndShowBanner {
CHBBanner *banner = [[CHBBanner alloc] initWithSize:CHBBannerSizeStandard location:@"YOUR_LOCATION_NAME" delegate:self];
banner.translatesAutoresizingMaskIntoConstraints = NO;
[self.view addSubview:banner];
[NSLayoutConstraint activateConstraints:@[[banner.bottomAnchor constraintEqualToAnchor:self.view.safeAreaLayoutGuide.bottomAnchor],
[banner.centerXAnchor constraintEqualToAnchor:self.view.centerXAnchor]]];
[banner showFromViewController:self];
}
```
*/
@interface CHBBanner : UIView <CHBAd>
/*!
Chartboost location for the ad.
# Discussion #
Used to obtain ads with increased performance.
*/
@property (nonatomic, readonly) NSString *location;
/*!
Size for the banner ad.
# Discussion #
- You should provide one of the predefined values.
- The `intrinsicContentSize` of the banner view will depend on this value.
*/
@property (nonatomic, readonly) CHBBannerSize size;
/*!
The delegate instance to receive banner callbacks.
# Discussion #
See CHBAdDelegate.h for more info.
*/
@property (nonatomic, weak, nullable) id<CHBBannerDelegate> delegate;
/*!
Determines if a cached ad exists.
# Discussion #
A return value of YES here indicates that a call to showFromViewController: will present without making additional Chartboost server requests to fetch data.
- returns: YES if there is a cached ad, and NO if not.
*/
@property (nonatomic, readonly) BOOL isCached;
/*!
The initializer for the banner object. Default UIView initializers should not be used!
- parameter size: Size for the banner. See the size property documentation.
- parameter location: Location for the banner. See the location property documentation.
- parameter delegate: Delegate for the banner. See the delegate property documentation.
*/
- (instancetype)initWithSize:(CHBBannerSize)size
location:(NSString *)location
delegate:(nullable id<CHBBannerDelegate>)delegate;
/*!
The initializer for banner ads intended to be mediated by another SDK.
# Discussion #
Use this initializer only if you are writing an adapter to use Chartboost with another mediation solution.
- parameter size: Size for the banner. See the size property documentation.
- parameter location: Location for the banner ad. See the location property documentation.
- parameter mediation: Information about the mediation SDK that is requesting this ad.
- parameter delegate: Delegate for the banner ad. See the delegate property documentation.
*/
- (instancetype)initWithSize:(CHBBannerSize)size
location:(NSString *)location
mediation:(nullable CHBMediation *)mediation
delegate:(nullable id<CHBBannerDelegate>)delegate;
/*!
# Discussion #
Please use -[CHBBanner initWithLocation:size:delegate:] instead.
*/
- (instancetype)init NS_UNAVAILABLE;
/*!
Caches an ad.
# Discussion #
- This method will first check if there is a cached ad and, if found, will do nothing.
- If no cached ad exists the method will attempt to fetch it from the Chartboost server.
- Implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
*/
- (void)cache;
/*!
Caches an ad using an OpenRTB bid response.
# Discussion #
- Use this method if you want to cache an ad using a winning bid obtained from the Chartboost bidder.
- Use the isCached property or implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
- parameter bidResponse: A bid response containing information about the ad to cache in OpenRTB format.
*/
- (void)cacheBidResponse:(NSString *)bidResponse NS_SWIFT_NAME(cache(bidResponse:));
/*!
Clears the ad cache.
# Discussion #
- This will do nothing if there's no cached ad. Otherwise it will remove any data
- related to the ad, bringing the ad instance back to a non-cached state. After calling this
- method you may call `cache` again and a new ad will be fetched.
*/
- (void)clearCache;
/*!
Shows an ad.
# Discussion #
- This method will first check if there is a cached ad, if found it will present it.
- If no cached ad exists the method will attempt to fetch it from the Chartboost server first.
- Passing a non-nil view controller is required.
- Implement ``(didShowAd:error:)`` in your ad delegate to be notified of a show request result, and ``(didCacheAd:error:)`` to be notified of the result of a cache request triggered by showing a non-cached banner.
- parameter viewController: The view controller to present the ad on.
*/
- (void)showFromViewController:(UIViewController *)viewController;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,144 @@
//
// CHBDataUseConsent.h
// Chartboost
//
// Copyright 2020 Chartboost. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
Constant that identifies a privacy standard to comply to.
*/
typedef NSString * CHBPrivacyStandard NS_TYPED_EXTENSIBLE_ENUM;
/*! @brief GDPR privacy standard identifier */
FOUNDATION_EXPORT CHBPrivacyStandard const CHBPrivacyStandardGDPR;
/*! @brief CCPA privacy standard identifier */
FOUNDATION_EXPORT CHBPrivacyStandard const CHBPrivacyStandardCCPA;
/*! @brief COPPA privacy standard identifier */
FOUNDATION_EXPORT CHBPrivacyStandard const CHBPrivacyStandardCOPPA;
/*! @brief LGPD privacy standard identifier */
FOUNDATION_EXPORT CHBPrivacyStandard const CHBPrivacyStandardLGPD;
/*!
Abstract class. Subclasses define a data use consent option for a privacy standard.
# Discussion #
Not intended to be used directly, always use a subclass to pass to +[Chartboost addDataUseConsent:] or to cast the result of +[Chartboost dataUseConsentForPrivacyStandard:]
*/
@interface CHBDataUseConsent: NSObject
/*! The identifier for the privacy standard this consent applies to. */
@property (nonatomic, readonly) CHBPrivacyStandard privacyStandard;
/*! Use the subclasses initializers to obtain a valid consent instance. */
- (instancetype)init NS_UNAVAILABLE;
@end
// MARK: - GDPR
/*!
Consent options for GDPR compliance.
*/
typedef NS_ENUM(NSUInteger, CHBGDPRConsent) {
/*! User does not consent to behavioral targeting in compliance with GDPR. */
CHBGDPRConsentNonBehavioral,
/*! User consents to behavioral targeting in compliance with GDPR. */
CHBGDPRConsentBehavioral
} NS_SWIFT_NAME(CHBGDPRDataUseConsent.Consent);
/*!
CHBDataUseConsent subclass for compliance with GDPR.
*/
NS_SWIFT_NAME(CHBDataUseConsent.GDPR)
@interface CHBGDPRDataUseConsent: CHBDataUseConsent
/*! The GDPR consent option. */
@property (nonatomic, readonly) CHBGDPRConsent consent;
/*!
Returns a GDPR consent object.
- parameter consent: The desired GDPR consent option.
*/
+ (CHBGDPRDataUseConsent *)gdprConsent:(CHBGDPRConsent)consent NS_SWIFT_NAME(init(_:));
@end
// MARK: - CCPA
/*!
Consent options for CCPA compliance.
*/
typedef NS_ENUM(NSUInteger, CHBCCPAConsent) {
/*! User does not consent to the sale of his or her personal information in compliance with CCPA. */
CHBCCPAConsentOptOutSale,
/*! User consents to the sale of his or her personal information in compliance with CCPA. */
CHBCCPAConsentOptInSale
} NS_SWIFT_NAME(CHBCCPADataUseConsent.Consent);
/*!
CHBDataUseConsent subclass for compliance with CCPA.
*/
NS_SWIFT_NAME(CHBDataUseConsent.CCPA)
@interface CHBCCPADataUseConsent: CHBDataUseConsent
/*!The CCPA consent option. */
@property (nonatomic, readonly) CHBCCPAConsent consent;
/*!
Returns a CCPA consent object.
- parameter consent: The desired CCPA consent option.
*/
+ (CHBCCPADataUseConsent *)ccpaConsent:(CHBCCPAConsent)consent NS_SWIFT_NAME(init(_:));
@end
// MARK: - COPPA
/*!
CHBDataUseConsent subclass for compliance with COPPA.
*/
NS_SWIFT_NAME(CHBDataUseConsent.COPPA)
@interface CHBCOPPADataUseConsent: CHBDataUseConsent
/*!Indicates if the app is directed to children. */
@property (nonatomic, readonly) BOOL isChildDirected;
/*!
Returns a COPPA consent object.
- parameter isChildDirected: Pass `true` if your app is directed to children.
*/
+ (CHBCOPPADataUseConsent *)isChildDirected:(BOOL)isChildDirected NS_SWIFT_NAME(init(isChildDirected:));
@end
// MARK: - LGPD
/*!
CHBDataUseConsent subclass for compliance with LGPD.
*/
NS_SWIFT_NAME(CHBDataUseConsent.LGPD)
@interface CHBLGPDDataUseConsent: CHBDataUseConsent
/*!Indicates if the user consents to behavioral targeting in compliance with LGPD. */
@property (nonatomic, readonly) BOOL allowBehavioralTargeting;
/*!
Returns a LGPD consent object.
- parameter allowBehavioralTargeting: Pass `true` if the user consents to behavioral targeting, `false` otherwise.
*/
+ (CHBLGPDDataUseConsent *)allowBehavioralTargeting:(BOOL)allowBehavioralTargeting NS_SWIFT_NAME(init(allowBehavioralTargeting:));
@end
// MARK: - Custom
/*!
CHBDataUseConsent subclass for compliance with a custom privacy standard.
*/
NS_SWIFT_NAME(CHBDataUseConsent.Custom)
@interface CHBCustomDataUseConsent: CHBDataUseConsent
/*!The custom consent value. */
@property (nonatomic, readonly) NSString *consent;
/*!
Returns a custom consent object.
# Discussion #
- Normally you would use other CHBDataUseConsent subclasses instead, which provide predefined options for current privacy standards.
- If you decide to use this make sure you pass valid values, as defined in [Chartboost Helpsite - Privacy Methods](https://answers.chartboost.com/en-us/child_article/ios-privacy-methods)
- parameter privacyStandard: The desired privacy standard identifier.
- parameter consent: The desired consent value.
*/
+ (CHBCustomDataUseConsent *)customConsentWithPrivacyStandard:(CHBPrivacyStandard)privacyStandard consent:(NSString *)consent NS_SWIFT_NAME(init(privacyStandard:consent:));
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,149 @@
/*
* CHBInterstitial.h
* Chartboost
*
* Copyright 2019 Chartboost. All rights reserved.
*/
#import <ChartboostSDK/CHBAd.h>
#import <ChartboostSDK/CHBAdDelegate.h>
#import <ChartboostSDK/CHBMediation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
CHBInterstitial is a full-screen ad.
# Discussion #
- To show an interstitial it first needs to be cached. Trying to show an uncached interstitial will always fail, thus it is recommended to always check if the ad is cached first.
- You can create and cache as many interstitial ads as you want, but only one can be presented at the same time.
- For more information on integrating and using the Chartboost SDK please visit our help site documentation at [Chartboost Helpsite](https://help.chartboost.com)
A basic implementation would look like this:
```objc
- (void)createAndCacheInterstitial {
self.interstitial = [[CHBInterstitial alloc] initWithLocation:@"YOUR_LOCATION_NAME" delegate:self];
[self.interstitial cache];
}
- (void)showInterstitial {
if (self.interstitial.isCached) {
[self.interstitial showFromViewController:self];
}
}
// Delegate methods
- (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error {
if (error) {
// Handle error, possibly scheduling a retry
}
}
- (void)willShowAd:(CHBShowEvent *)event {
// Pause ongoing processes
}
- (void)didShowAd:(CHBShowEvent *)event error:(CHBShowError *)error {
if (error) {
// Resume paused processes
}
}
- (void)didDismissAd:(CHBDismissEvent *)event {
// Resume paused processes
}
```
# Notes #
- If your application uses a View controller-based status bar appearance (usually the default), an ad shown with a valid view controller will hide the status bar. Otherwise it is your responsibility to hide it or not.
*/
@interface CHBInterstitial : NSObject <CHBAd>
/*!
Chartboost location for the ad.
# Discussion #
Used to obtain ads with increased performance.
*/
@property (nonatomic, readonly) NSString *location;
/*!
The delegate instance to receive interstitial callbacks.
# Discussion #
See CHBAdDelegate.h for more info.
*/
@property (nonatomic, weak, nullable) id<CHBInterstitialDelegate> delegate;
/*!
Determines if a cached ad exists.
# Discussion #
- A return value of YES here indicates that it is safe to call the ``(showFromViewController:)`` method.
- Calling this method when this value is NO will cause the show request to fail with a `CHBShowErrorCodeNoCachedAd` error.
- returns:YES if there is a cached ad, and NO if not.
*/
@property (nonatomic, readonly) BOOL isCached;
/*!
The initializer for the interstitial object.
- parameter location: Location for the interstitial. See the location property documentation.
- parameter delegate: Delegate for the interstitial. See the delegate property documentation.
*/
- (instancetype)initWithLocation:(NSString *)location
delegate:(nullable id<CHBInterstitialDelegate>)delegate;
/*!
The initializer for interstitial ads intended to be mediated by another SDK.
# Discussion #
Use this initializer only if you are writing an adapter to use Chartboost with another mediation solution.
- parameter location: Location for the interstitial ad. See the location property documentation.
- parameter mediation: Information about the mediation SDK that is requesting this ad.
- parameter delegate: Delegate for the rewarded ad. See the delegate property documentation.
*/
- (instancetype)initWithLocation:(NSString *)location
mediation:(nullable CHBMediation *)mediation
delegate:(nullable id<CHBInterstitialDelegate>)delegate;
/*!
# Discussion #
Please use -[CHBInterstitial initWithLocation:delegate:] instead.
*/
- (instancetype)init NS_UNAVAILABLE;
/*!
Caches an ad.
# Discussion #
- This method will first check if there is a cached ad and, if found, will do nothing.
- If no cached ad exists the method will attempt to fetch it from the Chartboost server.
- Implement ``(didCacheAd:error:)`` in your ad delegate to be notified of a cache request result.
*/
- (void)cache;
/*!
Caches an ad using an OpenRTB bid response.
# Discussion #
Use this method if you want to cache an ad using a winning bid obtained from the Chartboost bidder.
Use the isCached property or implement ``(didCacheAd:error:)``in your ad delegate to be notified of a cache request result.
- parameter bidResponse: A bid response containing information about the ad to cache in OpenRTB format.
*/
- (void)cacheBidResponse:(NSString *)bidResponse NS_SWIFT_NAME(cache(bidResponse:));
/*!
Clears the ad cache.
# Discussion #
- This will do nothing if there's no cached ad. Otherwise it will remove any data related to the ad,
bringing the ad instance back to a non-cached state.
After calling this method you may call `cache` again and a new ad will be fetched.
*/
- (void)clearCache;
/*!
Shows an ad.
# Discussion #
- This method will first check if there is a cached ad, if found it will present it.
If no cached ad exists the request will fail with a `CHBShowErrorCodeNoCachedAd` error.
- Passing a non-nil view controller is required.
- Implement ``(didShowAd:error:)`` in your ad delegate to be notified of a show request result.
- parameter viewController: The view controller to present the ad on.
*/
- (void)showFromViewController:(UIViewController *)viewController;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,39 @@
/*
* CHBMediation.h
* Chartboost
*
* Copyright 2019 Chartboost. All rights reserved.
*/
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
A class that holds information about the mediation library used to create an ad.
*/
@interface CHBMediation : NSObject
/*! The mediation library name. */
@property (nonatomic, readonly) NSString *name;
/*! The mediation library version. */
@property (nonatomic, readonly) NSString *libraryVersion;
/*! The mediation library adapter version. */
@property (nonatomic, readonly) NSString *adapterVersion;
/*!
The initializer for the mediation object.
- parameter name: The name of the mediation library used. E.g. "Helium"
- parameter libraryVersion: A string representing the library version. E.g. "5.1.0"
- parameter adapterVersion: A string representing the Chartbooost adapter version for this library. E.g. "5.1.0.1"
*/
- (instancetype)initWithName:(NSString *)name libraryVersion:(NSString*)libraryVersion adapterVersion:(NSString*)adapterVersion;
/*
# Discussion #
Please use -[CHBMediation initWithName:libraryVersion:adapterVersion:] instead.
*/
- (instancetype)CHBMediation NS_UNAVAILABLE;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,155 @@
//
// CHBRewarded.h
// Chartboost
//
// Copyright 2021 Chartboost. All rights reserved.
//
#import <ChartboostSDK/CHBAd.h>
#import <ChartboostSDK/CHBAdDelegate.h>
#import <ChartboostSDK/CHBMediation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
CHBRewarded is a full-screen ad that provides some reward to the user.
# Discussion #
- To show a rewarded ad it first needs to be cached. Trying to show an uncached rewarded ad will always fail, thus it is recommended to always check if the ad is cached first.
- You can create and cache as many rewarded ads as you want, but only one can be presented at the same time.
- For more information on integrating and using the Chartboost SDK please visit our help site documentation at [Chartboost Helpsite](https://help.chartboost.com)
A basic implementation would look like this:
```objc
- (void)createAndCacheRewarded {
self.rewarded = [[CHBRewarded alloc] initWithLocation:@"YOUR_LOCATION_NAME" delegate:self];
[self.rewarded cache];
}
- (void)showRewarded {
if (self.rewarded.isCached) {
[self.rewarded showFromViewController:self];
}
}
// Delegate methods
- (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error {
if (error) {
// Handle error, possibly scheduling a retry
}
}
- (void)willShowAd:(CHBShowEvent *)event {
// Pause ongoing processes
}
- (void)didShowAd:(CHBShowEvent *)event error:(CHBShowError *)error {
if (error) {
// Resume paused processes. Note that if showing the ad fails didEarnReward: will not be called.
}
}
- (void)didDismissAd:(CHBDismissEvent *)event {
// Resume paused processes
}
- (void)didEarnReward:(CHBRewardEvent *)event {
// Update app state with event.reward
}
```
# Notes #
- If your application uses a View controller-based status bar appearance (usually the default), an ad shown with a valid view controller will hide the status bar. Otherwise it is your responsibility to hide it or not.
*/
@interface CHBRewarded : NSObject <CHBAd>
/*!
Chartboost location for the ad.
# Discussion #
Used to obtain ads with increased performance.
*/
@property (nonatomic, readonly) NSString *location;
/*!
The delegate instance to receive rewarded callbacks.
# Discussion #
See CHBAdDelegate.h for more info.
*/
@property (nonatomic, weak, nullable) id<CHBRewardedDelegate> delegate;
/*!
Determines if a cached ad exists.
# Discussion #
- A return value of YES here indicates that it is safe to call the ``(showFromViewController:)`` method.
- Calling this method when this value is NO will cause the show request to fail with a `CHBShowErrorCodeNoCachedAd` error.
- returns:YES if there is a cached ad, and NO if not.
*/
@property (nonatomic, readonly) BOOL isCached;
/*!
The initializer for the rewarded ad object.
- parameter location: Location for the rewarded ad. See the location property documentation.
- parameter delegate: Delegate for the rewarded ad. See the delegate property documentation.
*/
- (instancetype)initWithLocation:(NSString *)location
delegate:(nullable id<CHBRewardedDelegate>)delegate;
/*!
The initializer for rewarded ads intended to be mediated by another SDK.
# Discussion #
Use this initializer only if you are writing an adapter to use Chartboost with another mediation solution.
- parameter location: Location for the rewarded ad. See the location property documentation.
- parameter mediation: Information about the mediation SDK that is requesting this ad.
- parameter delegate: Delegate for the rewarded ad. See the delegate property documentation.
*/
- (instancetype)initWithLocation:(NSString *)location
mediation:(nullable CHBMediation *)mediation
delegate:(nullable id<CHBRewardedDelegate>)delegate;
/*!
# Discussion #
Please use -[CHBRewarded initWithLocation:delegate:] instead.
*/
- (instancetype)init NS_UNAVAILABLE;
/*!
Caches an ad.
# Discussion #
- This method will first check if there is a cached ad and, if found, will do nothing.
- If no cached ad exists the method will attempt to fetch it from the Chartboost server.
- Implement ``(didCacheAd:error:)`` in your ad delegate to be notified of a cache request result.
*/
- (void)cache;
/*!
Caches an ad using an OpenRTB bid response.
# Discussion #
Use this method if you want to cache an ad using a winning bid obtained from the Chartboost bidder.
Use the isCached property or implement ``(didCacheAd:error:)``in your ad delegate to be notified of a cache request result.
- parameter bidResponse: A bid response containing information about the ad to cache in OpenRTB format.
*/
- (void)cacheBidResponse:(NSString *)bidResponse NS_SWIFT_NAME(cache(bidResponse:));
/*!
Clears the ad cache.
# Discussion #
- This will do nothing if there's no cached ad. Otherwise it will remove any data related to the ad,
bringing the ad instance back to a non-cached state.
After calling this method you may call `cache` again and a new ad will be fetched.
*/
- (void)clearCache;
/*!
Shows an ad.
# Discussion #
- This method will first check if there is a cached ad, if found it will present it.
If no cached ad exists the request will fail with a `CHBShowErrorCodeNoCachedAd` error.
- Passing a non-nil view controller is required.
- Implement ``(didShowAd:error:)`` in your ad delegate to be notified of a show request result.
- parameter viewController: The view controller to present the ad on.
*/
- (void)showFromViewController:(UIViewController *)viewController;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,113 @@
//
// Chartboost.h
// Chartboost
//
// Copyright 2018 Chartboost. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <ChartboostSDK/CHBInterstitial.h>
#import <ChartboostSDK/CHBRewarded.h>
#import <ChartboostSDK/CHBBanner.h>
#import <ChartboostSDK/CHBDataUseConsent.h>
@class CHBStartError;
NS_ASSUME_NONNULL_BEGIN
/*!
Chartboost SDK logging level options
*/
typedef NS_ENUM(NSUInteger, CBLoggingLevel) {
CBLoggingLevelOff,
CBLoggingLevelError,
CBLoggingLevelWarning,
CBLoggingLevelInfo,
CBLoggingLevelVerbose
};
/*!
Provides global settings and shared functionality for the Chartboost SDK.
# Discussion #
- Make sure to start Chartboost before requesting any ad.
- Setting data use consent information beforehand is also highly recommended, otherwise Chartboost's ability to provide ads might be hindered.
*/
@interface Chartboost : NSObject
/*!
Starts the SDK with the publisher app credentials.
# Discussion #
It takes an error parameter which indicates if the initialization succeeded or not.
This method must be called before creating an ad. Other methods, like data use consent or logging level methods, are fine to call before start.
- parameter appID: The Chartboost application ID for this app.
- parameter appSignature: The Chartboost application signature for this app.
- parameter completion: A completion block to be executed when the SDK finishes initializing.
*/
+ (void)startWithAppID:(NSString *)appID appSignature:(NSString *)appSignature completion:(void (^)(CHBStartError * _Nullable error))completion;
/*!
Use to restrict Chartboost's ability to collect personal data from the user.
# Discussion #
- This method can be called multiple times to set the consent for different privacy standards.
- If a consent has already been set for a privacy standard, adding a consent object for that standard will overwrite the previous value.
- This method should be called before starting the Chartboost SDK with startWithAppID:appSignature:completion: if possible.
- The added consents are persisted, so you may just call this when the consent status needs to be updated.
*/
+ (void)addDataUseConsent:(CHBDataUseConsent *)consent NS_SWIFT_NAME(addDataUseConsent(_:));
/*!
Clears the previously added consent for the desired privacy standard.
# Discussion #
- Chartboost persists the added consents, so you'll need to call this method if you want to withdraw a previously added consent.
- If no consent was available for the indicated standard nothing will happen.
- parameter privacyStandard: The privacy standard for which you want to clear the consent.
*/
+ (void)clearDataUseConsentForPrivacyStandard:(CHBPrivacyStandard)privacyStandard NS_SWIFT_NAME(clearDataUseConsent(for:));
/*!
Returns the current consent status for the desired privacy standard.
# Discussion #
Use this to check the current consent status, either set by a call to addDataUseConsent: or persisted from a call to the same method on a previous app run. You may need to cast the returned object to the proper CHBDataUseConsent subclass in order to read its consent value.
- parameter privacyStandard: The privacy standard for which you want to obtain the consent status.
- returns: A CHBDataUseConsent subclass (the same one used to set the consent in addDataUseConsent:) or nil if no consent status is currently available.
For example, to check if a consent is not set for GDPR:
```objc
// Obj-C
if (![Chartboost dataUseConsentForPrivacyStandard:CHBPrivacyStandardGDPR]) { ... }
// Swift
if Chartboost.dataUseConsent(for: .GDPR) == nil { ... }
```
To check the specific consent status for GDPR:
```objc
// Obj-C
CHBGDPRDataUseConsent *gdpr = [Chartboost dataUseConsentForPrivacyStandard:CHBPrivacyStandardGDPR];
if (gdpr && gdpr.consent == CHBGDPRConsentNonBehavioral) { ... }
// Swift
let gdpr = Chartboost.dataUseConsent(for: .GDPR) as? CHBDataUseConsent.GDPR
if gdpr?.consent == .nonBehavioral { ... }
```
*/
+ (nullable __kindof CHBDataUseConsent *)dataUseConsentForPrivacyStandard:(CHBPrivacyStandard)privacyStandard NS_SWIFT_NAME(dataUseConsent(for:));
/*!
The version of the Chartboost SDK.
*/
+ (NSString *)getSDKVersion;
/*!
Sets a logging level.
- parameter loggingLevel: The minimum level that's going to be logged
# Discussion #
Logging by default is off.
*/
+ (void)setLoggingLevel:(CBLoggingLevel)loggingLevel;
/*!
Returns the token used to authenticate with the Chartboost servers.
*/
+ (nullable NSString *)bidderToken;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,353 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
#ifndef CHARTBOOSTSDK_SWIFT_H
#define CHARTBOOSTSDK_SWIFT_H
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"
#if !defined(__has_include)
# define __has_include(x) 0
#endif
#if !defined(__has_attribute)
# define __has_attribute(x) 0
#endif
#if !defined(__has_feature)
# define __has_feature(x) 0
#endif
#if !defined(__has_warning)
# define __has_warning(x) 0
#endif
#if __has_include(<swift/objc-prologue.h>)
# include <swift/objc-prologue.h>
#endif
#pragma clang diagnostic ignored "-Wduplicate-method-match"
#pragma clang diagnostic ignored "-Wauto-import"
#if defined(__OBJC__)
#include <Foundation/Foundation.h>
#endif
#if defined(__cplusplus)
#include <cstdint>
#include <cstddef>
#include <cstdbool>
#else
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#endif
#if !defined(SWIFT_TYPEDEFS)
# define SWIFT_TYPEDEFS 1
# if __has_include(<uchar.h>)
# include <uchar.h>
# elif !defined(__cplusplus)
typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t;
# endif
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#endif
#if !defined(SWIFT_PASTE)
# define SWIFT_PASTE_HELPER(x, y) x##y
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
#endif
#if !defined(SWIFT_METATYPE)
# define SWIFT_METATYPE(X) Class
#endif
#if !defined(SWIFT_CLASS_PROPERTY)
# if __has_feature(objc_class_property)
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
# else
# define SWIFT_CLASS_PROPERTY(...)
# endif
#endif
#if __has_attribute(objc_runtime_name)
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
#else
# define SWIFT_RUNTIME_NAME(X)
#endif
#if __has_attribute(swift_name)
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
#else
# define SWIFT_COMPILE_NAME(X)
#endif
#if __has_attribute(objc_method_family)
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
#else
# define SWIFT_METHOD_FAMILY(X)
#endif
#if __has_attribute(noescape)
# define SWIFT_NOESCAPE __attribute__((noescape))
#else
# define SWIFT_NOESCAPE
#endif
#if __has_attribute(ns_consumed)
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
#else
# define SWIFT_RELEASES_ARGUMENT
#endif
#if __has_attribute(warn_unused_result)
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else
# define SWIFT_WARN_UNUSED_RESULT
#endif
#if __has_attribute(noreturn)
# define SWIFT_NORETURN __attribute__((noreturn))
#else
# define SWIFT_NORETURN
#endif
#if !defined(SWIFT_CLASS_EXTRA)
# define SWIFT_CLASS_EXTRA
#endif
#if !defined(SWIFT_PROTOCOL_EXTRA)
# define SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_ENUM_EXTRA)
# define SWIFT_ENUM_EXTRA
#endif
#if !defined(SWIFT_CLASS)
# if __has_attribute(objc_subclassing_restricted)
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# else
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# endif
#endif
#if !defined(SWIFT_RESILIENT_CLASS)
# if __has_attribute(objc_class_stub)
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
# else
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
# endif
#endif
#if !defined(SWIFT_PROTOCOL)
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_EXTENSION)
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
#endif
#if !defined(OBJC_DESIGNATED_INITIALIZER)
# if __has_attribute(objc_designated_initializer)
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
# else
# define OBJC_DESIGNATED_INITIALIZER
# endif
#endif
#if !defined(SWIFT_ENUM_ATTR)
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
# else
# define SWIFT_ENUM_ATTR(_extensibility)
# endif
#endif
#if !defined(SWIFT_ENUM)
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
# if __has_feature(generalized_swift_name)
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
# else
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
# endif
#endif
#if !defined(SWIFT_UNAVAILABLE)
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
#endif
#if !defined(SWIFT_UNAVAILABLE_MSG)
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
#endif
#if !defined(SWIFT_AVAILABILITY)
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
#endif
#if !defined(SWIFT_WEAK_IMPORT)
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
#endif
#if !defined(SWIFT_DEPRECATED)
# define SWIFT_DEPRECATED __attribute__((deprecated))
#endif
#if !defined(SWIFT_DEPRECATED_MSG)
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
#endif
#if __has_feature(attribute_diagnose_if_objc)
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
#else
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
#endif
#if defined(__OBJC__)
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
#endif
#if !defined(SWIFT_EXTERN)
# if defined(__cplusplus)
# define SWIFT_EXTERN extern "C"
# else
# define SWIFT_EXTERN extern
# endif
#endif
#if !defined(SWIFT_CALL)
# define SWIFT_CALL __attribute__((swiftcall))
#endif
#if defined(__cplusplus)
#if !defined(SWIFT_NOEXCEPT)
# define SWIFT_NOEXCEPT noexcept
#endif
#else
#if !defined(SWIFT_NOEXCEPT)
# define SWIFT_NOEXCEPT
#endif
#endif
#if defined(__cplusplus)
#if !defined(SWIFT_CXX_INT_DEFINED)
#define SWIFT_CXX_INT_DEFINED
namespace swift {
using Int = ptrdiff_t;
using UInt = size_t;
}
#endif
#endif
#if defined(__OBJC__)
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import Foundation;
#endif
#import <ChartboostSDK/ChartboostSDK.h>
#endif
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
#if __has_warning("-Wpragma-clang-attribute")
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
#endif
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability"
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
#if __has_attribute(external_source_symbol)
# pragma push_macro("any")
# undef any
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="ChartboostSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
# pragma pop_macro("any")
#endif
#if defined(__OBJC__)
@interface CHBMediation (SWIFT_EXTENSION(ChartboostSDK))
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@end
@class NSString;
@class NSCoder;
/// An error object passed on cache-related delegate methods.
SWIFT_CLASS_NAMED("CacheError")
@interface CHBCacheError : NSError
- (nonnull instancetype)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)dict OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end
/// Error codes for failed cache operations.
typedef SWIFT_ENUM_NAMED(NSInteger, CHBCacheErrorCode, "CacheErrorCode", open) {
CHBCacheErrorCodeInternalError = 0,
CHBCacheErrorCodeInternetUnavailable = 1,
CHBCacheErrorCodeNetworkFailure = 2,
CHBCacheErrorCodeNoAdFound = 3,
CHBCacheErrorCodeSessionNotStarted = 4,
CHBCacheErrorCodeAssetDownloadFailure = 5,
CHBCacheErrorCodePublisherDisabled = 6,
CHBCacheErrorCodeServerError = 7,
};
/// An error object passed on click-related delegate methods.
SWIFT_CLASS_NAMED("ClickError")
@interface CHBClickError : NSError
- (nonnull instancetype)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)dict OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end
/// Error codes for failed click operations.
typedef SWIFT_ENUM_NAMED(NSInteger, CHBClickErrorCode, "ClickErrorCode", open) {
CHBClickErrorCodeUriInvalid = 0,
CHBClickErrorCodeUriUnrecognized = 1,
CHBClickErrorCodeInternalError = 2,
};
@interface NSError (SWIFT_EXTENSION(ChartboostSDK))
/// IMPORTANT: For 64-bit and iPhone OS applications, there is a linker bug that prevents -ObjC from loading objects files from static libraries that contain only categories and no classes. The workaround is to use the -all_load or -force_load flags. -all_load forces the linker to load all object files from every archive it sees, even those without Objective-C code. -force_load is available in Xcode 3.2 and later. It allows finer grain control of archive loading. Each -force_load option must be followed by a path to an archive, and every object file in that archive will be loaded.
/// The Solution applied here is to include this trackDescription method inside of a file that already contains other classes so it gets linked.
- (NSString * _Nonnull)trackDescription SWIFT_WARN_UNUSED_RESULT;
@end
/// An error object passed on show-related delegate methods.
SWIFT_CLASS_NAMED("ShowError")
@interface CHBShowError : NSError
- (nonnull instancetype)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)dict OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end
/// Error codes for failed show operations.
typedef SWIFT_ENUM_NAMED(NSInteger, CHBShowErrorCode, "ShowErrorCode", open) {
CHBShowErrorCodeInternalError = 0,
CHBShowErrorCodeSessionNotStarted = 1,
CHBShowErrorCodeInternetUnavailable = 2,
CHBShowErrorCodePresentationFailure = 3,
CHBShowErrorCodeNoCachedAd = 4,
CHBShowErrorCodeNoViewController = 5,
CHBShowErrorCodeNoAdInstance = 6,
CHBShowErrorCodeAssetsFailure = 7,
};
/// An error object passed on SDK start completion callbacks.
SWIFT_CLASS_NAMED("StartError")
@interface CHBStartError : NSError
- (nonnull instancetype)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)dict OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end
/// Error codes for failed start operations.
typedef SWIFT_ENUM_NAMED(NSInteger, CHBStartErrorCode, "StartErrorCode", open) {
CHBStartErrorCodeInvalidCredentials = 0,
CHBStartErrorCodeNetworkFailure = 1,
CHBStartErrorCodeServerError = 2,
};
#endif
#if defined(__cplusplus)
#endif
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
#pragma clang diagnostic pop
#endif
#else
#error unsupported Swift architecture
#endif

View File

@ -0,0 +1,16 @@
//
// ChartboostSDK.h
// Chartboost
//
// Copyright 2021 Chartboost. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for Chartboost.
FOUNDATION_EXPORT double ChartboostVersionNumber;
//! Project version string for Chartboost.
FOUNDATION_EXPORT const unsigned char ChartboostVersionString[];
#import <ChartboostSDK/Chartboost.h>

View File

@ -0,0 +1,134 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ChartboostSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AVFAudio
import AVFoundation
import AdSupport
import AppTrackingTransparency
@_exported import ChartboostSDK
import CoreGraphics
import CoreTelephony
import Foundation
import SafariServices
import StoreKit
import Swift
import UIKit
import WebKit
import _Concurrency
import _StringProcessing
extension ChartboostSDK.CHBMediation : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
required convenience public init(from decoder: Swift.Decoder) throws
@objc override dynamic open func isEqual(_ object: Any?) -> Swift.Bool
}
public typealias RedirectionURLFinished = (url: Foundation.URL, redirected: Swift.Bool)
@objc(CHBCacheErrorCode) public enum CacheErrorCode : Swift.Int {
case internalError
case internetUnavailable
case networkFailure
case noAdFound
case sessionNotStarted
case assetDownloadFailure
case publisherDisabled
case serverError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBCacheError) public class CacheError : Foundation.NSError {
public var cacheCode: ChartboostSDK.CacheErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBShowErrorCode) public enum ShowErrorCode : Swift.Int {
case internalError
case sessionNotStarted
case internetUnavailable
case presentationFailure
case noCachedAd
case noViewController
case noAdInstance
case assetsFailure
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBShowError) public class ShowError : Foundation.NSError {
public var showCode: ChartboostSDK.ShowErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBClickErrorCode) public enum ClickErrorCode : Swift.Int {
case uriInvalid
case uriUnrecognized
case internalError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBClickError) public class ClickError : Foundation.NSError {
public var clickCode: ChartboostSDK.ClickErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBStartErrorCode) public enum StartErrorCode : Swift.Int {
case invalidCredentials
case networkFailure
case serverError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBStartError) public class StartError : Foundation.NSError {
public var startCode: ChartboostSDK.StartErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
extension Foundation.NSError {
@objc dynamic public func trackDescription() -> Swift.String
}
extension ChartboostSDK.CacheErrorCode : Swift.Equatable {}
extension ChartboostSDK.CacheErrorCode : Swift.Hashable {}
extension ChartboostSDK.CacheErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.ShowErrorCode : Swift.Equatable {}
extension ChartboostSDK.ShowErrorCode : Swift.Hashable {}
extension ChartboostSDK.ShowErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.ClickErrorCode : Swift.Equatable {}
extension ChartboostSDK.ClickErrorCode : Swift.Hashable {}
extension ChartboostSDK.ClickErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.StartErrorCode : Swift.Equatable {}
extension ChartboostSDK.StartErrorCode : Swift.Hashable {}
extension ChartboostSDK.StartErrorCode : Swift.RawRepresentable {}

View File

@ -0,0 +1,134 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ChartboostSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AVFAudio
import AVFoundation
import AdSupport
import AppTrackingTransparency
@_exported import ChartboostSDK
import CoreGraphics
import CoreTelephony
import Foundation
import SafariServices
import StoreKit
import Swift
import UIKit
import WebKit
import _Concurrency
import _StringProcessing
extension ChartboostSDK.CHBMediation : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
required convenience public init(from decoder: Swift.Decoder) throws
@objc override dynamic open func isEqual(_ object: Any?) -> Swift.Bool
}
public typealias RedirectionURLFinished = (url: Foundation.URL, redirected: Swift.Bool)
@objc(CHBCacheErrorCode) public enum CacheErrorCode : Swift.Int {
case internalError
case internetUnavailable
case networkFailure
case noAdFound
case sessionNotStarted
case assetDownloadFailure
case publisherDisabled
case serverError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBCacheError) public class CacheError : Foundation.NSError {
public var cacheCode: ChartboostSDK.CacheErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBShowErrorCode) public enum ShowErrorCode : Swift.Int {
case internalError
case sessionNotStarted
case internetUnavailable
case presentationFailure
case noCachedAd
case noViewController
case noAdInstance
case assetsFailure
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBShowError) public class ShowError : Foundation.NSError {
public var showCode: ChartboostSDK.ShowErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBClickErrorCode) public enum ClickErrorCode : Swift.Int {
case uriInvalid
case uriUnrecognized
case internalError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBClickError) public class ClickError : Foundation.NSError {
public var clickCode: ChartboostSDK.ClickErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBStartErrorCode) public enum StartErrorCode : Swift.Int {
case invalidCredentials
case networkFailure
case serverError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBStartError) public class StartError : Foundation.NSError {
public var startCode: ChartboostSDK.StartErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
extension Foundation.NSError {
@objc dynamic public func trackDescription() -> Swift.String
}
extension ChartboostSDK.CacheErrorCode : Swift.Equatable {}
extension ChartboostSDK.CacheErrorCode : Swift.Hashable {}
extension ChartboostSDK.CacheErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.ShowErrorCode : Swift.Equatable {}
extension ChartboostSDK.ShowErrorCode : Swift.Hashable {}
extension ChartboostSDK.ShowErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.ClickErrorCode : Swift.Equatable {}
extension ChartboostSDK.ClickErrorCode : Swift.Hashable {}
extension ChartboostSDK.ClickErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.StartErrorCode : Swift.Equatable {}
extension ChartboostSDK.StartErrorCode : Swift.Hashable {}
extension ChartboostSDK.StartErrorCode : Swift.RawRepresentable {}

View File

@ -0,0 +1,24 @@
framework module ChartboostSDK {
umbrella header "ChartboostSDK.h"
export *
module * { export * }
link framework "UIKit"
link framework "WebKit"
link framework "StoreKit"
link framework "CoreMedia"
link framework "AVFoundation"
link framework "AppTrackingTransparency"
link framework "AdSupport"
link framework "CoreTelephony"
link framework "SafariServices"
link framework "CoreFoundation"
link framework "SystemConfiguration"
}
module ChartboostSDK.Swift {
header "ChartboostSDK-Swift.h"
requires objc
}

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
</dict>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCoarseLocation</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeAdvertisingData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCustomerSupport</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<true/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeOtherDataTypes</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeUserID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
</array>
</dict>
</array>
<key>NSPrivacyTrackingDomains</key>
<array>
<string>tracking-webview.monetization-sdk.chartboost.com</string>
<string>tracking-da.monetization-sdk.chartboost.com</string>
</array>
<key>NSPrivacyTracking</key>
<true/>
</dict>
</plist>

View File

@ -0,0 +1,77 @@
/*
* CHBAd.h
* Chartboost
*
* Copyright 2019 Chartboost. All rights reserved.
*/
#import <UIKit/UIKit.h>
@protocol CHBAdDelegate;
NS_ASSUME_NONNULL_BEGIN
/*!
The protocol to which all Chartboost ads conform to.
# Discussion #
Provides an interface for basic functionalities common to all ads.
*/
@protocol CHBAd <NSObject>
/*!
The delegate instance to receive ad callbacks.
*/
@property (nonatomic, weak, nullable) id<CHBAdDelegate> delegate;
/*!
Chartboost location for the ad.
# Discussion #
Used to obtain ads with increased performance.
*/
@property (nonatomic, readonly) NSString *location;
/*!
Determines if a cached ad exists.
- returns: YES if there is a cached ad, and NO if not.
*/
@property (nonatomic, readonly) BOOL isCached;
/*!
Caches an ad.
# Discussion #
- This method will first check if there is a cached ad and, if found, will do nothing.
- If no cached ad exists the method will attempt to fetch it from the Chartboost server.
- Implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
*/
- (void)cache;
/*!
Caches an ad using an OpenRTB bid response.
# Discussion #
- Use this method if you want to cache an ad using a winning bid obtained from the Chartboost bidder.
- Use the isCached property or implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
- parameter bidResponse: A bid response containing information about the ad to cache in OpenRTB format.
*/
- (void)cacheBidResponse:(NSString *)bidResponse NS_SWIFT_NAME(cache(bidResponse:));
/*!
Clears the ad cache.
# Discussion #
- This will do nothing if there's no cached ad. Otherwise it will remove any data
related to the ad, bringing the ad instance back to a non-cached state.
After calling this method you may call `cache` again and a new ad will be fetched.
*/
- (void)clearCache;
/*!
Shows an ad.
# Discussion #
- This method will first check if there is a cached ad, if found it will present it.
- Passing a non-nil view controller is required.
- parameter viewController: The view controller to present the ad on.
*/
- (void)showFromViewController:(UIViewController *)viewController;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,204 @@
/*
* CHBAdDelegate.h
* Chartboost
*
* Copyright 2019 Chartboost. All rights reserved.
*/
#import <ChartboostSDK/CHBAdEvent.h>
NS_ASSUME_NONNULL_BEGIN
@class CHBCacheError;
@class CHBShowError;
@class CHBClickError;
/*!
The protocol which all Chartboost ad delegates inherit from.
# Discussion #
Provides methods to receive notifications related to an ad's actions and to control its behavior.
*/
@protocol CHBAdDelegate <NSObject>
@optional
/*!
Called after a cache call, either if an ad has been loaded from the Chartboost servers and cached, or tried to but failed.
# Discussion #
Implement to be notified of when an ad is ready to be shown after the cache method has been called.
- parameter event: A cache event with info related to the cached ad.
- parameter error: An error specifying the failure reason, or nil if the operation was successful.
A typical implementation would look like this:
```objc
- (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error {
if (error) {
// Handle error
} else {
// At this point event.ad.isCached will be true, and the ad is ready to be shown.
}
}
```
*/
- (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error;
/*!
Called after a showFromViewController: call, right before an ad is presented.
# Discussion #
Implement to be notified of when an ad is about to be presented.
- parameter event: A show event with info related to the ad to be shown.
A typical implementation would look like this:
```objc
- (void)willShowAd:(CHBShowEvent *)event {
// Pause ongoing processes like video or gameplay.
}
```
*/
- (void)willShowAd:(CHBShowEvent *)event;
/*!
Called after a showFromViewController: call, either if the ad has been presented and an ad impression logged, or if the operation failed.
# Discussion #
- Implement to be notified of when the ad presentation process has finished.
- This method will be called once for each call to showFromViewController: on an interstitial or rewarded ad.
- In contrast, this may be called up to two times after showing a banner, if some error occurs after the ad has been successfully shown.
- parameter event: A show event with info related to the ad shown.
- parameter error: An error specifying the failure reason, or nil if the operation was successful.
A common practice consists of caching an ad here so there's an ad ready for the next time you need to show it.
```objc
- (void)didShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error {
if (error) {
// Handle error, possibly resuming processes paused in willShowAd:
} else {
[event.ad cache];
}
}
```
*/
- (void)didShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error;
/*!
Called after an ad has been clicked.
# Discussion #
- Implement to be notified of when an ad has been clicked.
- If the click does not result into the opening of a link an error will be provided explaning why.
- parameter event: A click event with info related to the ad clicked.
- parameter error: An error specifying the failure reason, or nil if the operation was successful.
A typical implementation would look like this:
```objc
- (void)didClickAd:(CHBClickEvent *)event error:(nullable CHBClickError *)error {
if (error) {
// Handle error
} else {
// Maybe pause ongoing processes like video or gameplay when a banner ad is clicked.
}
}
```
*/
- (void)didClickAd:(CHBClickEvent *)event error:(nullable CHBClickError *)error;
/*!
Called after an ad has recorded an impression.
# Discussion #
- Implement to be notified of when an ad has recorded an impression.
- This method will be called once a valid impression is recorded after showing the ad.
- parameter event: An impression event with info related to the visible ad.
*/
- (void)didRecordImpression:(CHBImpressionEvent *)event;
@end
/*!
Delegate protocol for ads that can be dismissed.
# Discussion #
Provides methods to receive notifications related to an ad's actions and to control its behavior.
*/
@protocol CHBDismissableAdDelegate <CHBAdDelegate>
@optional
/*!
Called after an ad is dismissed.
# Discussion #
- Implement to be notified of when an ad is no longer displayed.
- Note that this method won't get called for ads that failed to be shown. To handle that case implement didShowAd:error:
- You may use the error property inside the event to know if the dismissal was expected or caused by an error.
- parameter event: A dismiss event with info related to the dismissed ad.
A typical implementation would look like this:
```objc
- (void)didDismissAd:(CHBDismissEvent *)event {
// Resume processes paused in willShowAd:
}
```
*/
- (void)didDismissAd:(CHBDismissEvent *)event;
@end
/*!
Interstitial delegate protocol.
# Discussion #
- Provides methods to receive notifications related to an interstitial ad behavior.
- In a typical integration you would implement willShowAd:, didShowAd: and didDismissAd:, pausing and resuming ongoing processes (e.g: gameplay, video) there.
*/
@protocol CHBInterstitialDelegate <CHBDismissableAdDelegate>
@end
/*!
Rewarded delegate protocol.
# Discussion #
- Provides methods to receive notifications related to a rewarded ad behavior.
- In a typical integration you would implement willShowAd:, didShowAd: and didDismissAd:, pausing and resuming ongoing processes (e.g: gameplay, video) there.
- The method didEarnReward: needs to be implemented in order to be notified when the user earns a reward.
*/
@protocol CHBRewardedDelegate <CHBDismissableAdDelegate>
@optional
/*!
Called when a rewarded ad has completed playing.
# Discussion #
Implement to be notified when a reward is earned.
- parameter event: A reward event with info related to the ad and the reward.
*/
- (void)didEarnReward:(CHBRewardEvent *)event;
@end
/*!
Banner delegate protocol.
# Discussion #
Provides methods to receive notifications related to a banner ad behavior.
*/
@protocol CHBBannerDelegate <CHBAdDelegate>
@optional
/*!
Called when the link viewer presented as result of an ad click has been dismissed.
# Discussion #
- Implement to be notified of when an ad click has been handled.
- This can mean an in-app web browser or App Store app sheet has been dismissed, or that the user came back to the app after the link was opened on an external application.
- parameter event: A click event with info related to the ad clicked.
- parameter error: An error specifying the failure reason, or nil if the operation was successful.
A typical implementation would look like this:
```objc
- (void)didFinishHandlingClick:(CHBClickEvent *)event error:(nullable CHBClickError *)error {
// Resume processes previously paused on didClickAd:error: implementation.
}
```
*/
- (void)didFinishHandlingClick:(CHBClickEvent *)event error:(nullable CHBClickError *)error __attribute__((deprecated("Will be removed with the next major update")));
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,82 @@
//
// Chartboost.h
// Chartboost
//
// Copyright 2021 Chartboost. All rights reserved.
//
#import <ChartboostSDK/CHBAd.h>
NS_ASSUME_NONNULL_BEGIN
/*!
CHBAdEvent is a NSObject subclass, it contains information about a specific event and is related to an ad.
# Discussion #
In the SDK exists various types of CHBAdEvent are related to the Ad Delegate callbacks.
- CHBCacheEvent
- CHBShowEvent
- CHBImpressionEvent
- CHBClickEvent
- CHBDismissEvent
- CHBRewardEvent
*/
@interface CHBAdEvent : NSObject
/*!
The ad related to the event.
*/
@property (nonatomic, readonly) id<CHBAd> ad;
/*!
A string that uniquely identifies the cached ad, updated when a cache operation ends.
*/
@property (nonatomic, readonly, nullable) NSString *adID;
@end
/*!
A CHBAdEvent subclass passed on cache-related delegate methods.
*/
@interface CHBCacheEvent : CHBAdEvent
@end
/*!
A CHBAdEvent subclass passed on show-related delegate methods.
*/
@interface CHBShowEvent : CHBAdEvent
@end
/*!
A CHBAdEvent subclass passed on impression-related delegate methods.
*/
@interface CHBImpressionEvent : CHBAdEvent
@end
/*!
A CHBAdEvent subclass passed on click-related delegate methods.
*/
@interface CHBClickEvent : CHBAdEvent
@end
/*!
A CHBAdEvent subclass passed on dismiss-related delegate methods.
*/
@interface CHBDismissEvent : CHBAdEvent
/*!
The error that forced the ad dismissal, or nil if the user (or the ad itself) chose to dismiss the ad.
*/
@property (nonatomic, readonly, nullable) NSError *error;
@end
/*!
A CHBAdEvent subclass passed on reward-related delegate methods.
*/
@interface CHBRewardEvent : CHBAdEvent
/*!
The earned reward.
*/
@property (nonatomic, readonly) NSInteger reward;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,152 @@
/*
* CHBBanner.h
* Chartboost
*
* Copyright 2019 Chartboost. All rights reserved.
*/
#import <ChartboostSDK/CHBAd.h>
#import <ChartboostSDK/CHBAdDelegate.h>
#import <ChartboostSDK/CHBMediation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
Defines standard sizes for CHBBanner objects.
# Discussion #
Standard sizes used to describe default banner bounds.
*/
typedef CGSize const CHBBannerSize;
/*! "Banner" - Standard banner size on phones. */
FOUNDATION_EXPORT CHBBannerSize const CHBBannerSizeStandard;
/*! "Medium Rect" - Medium banner size on phones. */
FOUNDATION_EXPORT CHBBannerSize const CHBBannerSizeMedium;
/*! "Tablet" - Leaderboard banner size on tablets. */
FOUNDATION_EXPORT CHBBannerSize const CHBBannerSizeLeaderboard;
/*!
CHBBanner is a UIView subclass able to show banner ads. Once obtained via the provided initializer, the
developer is responsible of adding it to the app's view hierarchy and laying it out properly.
A banner ad has a CHBBannerSize which corresponds to the view's intrinsicContentSize.
The developer should not give the banner view object a frame size different than its CHBBannerSize property.
If you are using AutoLayout just give the banner an X and Y position constraint and it will be automatically sized.
You can create and present as many banners as you want at the same time.
For more information on integrating and using the Chartboost SDK please visit our help site documentation at [Chartboost Helpsite](https://help.chartboost.com)
A typical implementation would look like this:
```objc
- (void)createAndShowBanner {
CHBBanner *banner = [[CHBBanner alloc] initWithSize:CHBBannerSizeStandard location:@"YOUR_LOCATION_NAME" delegate:self];
banner.translatesAutoresizingMaskIntoConstraints = NO;
[self.view addSubview:banner];
[NSLayoutConstraint activateConstraints:@[[banner.bottomAnchor constraintEqualToAnchor:self.view.safeAreaLayoutGuide.bottomAnchor],
[banner.centerXAnchor constraintEqualToAnchor:self.view.centerXAnchor]]];
[banner showFromViewController:self];
}
```
*/
@interface CHBBanner : UIView <CHBAd>
/*!
Chartboost location for the ad.
# Discussion #
Used to obtain ads with increased performance.
*/
@property (nonatomic, readonly) NSString *location;
/*!
Size for the banner ad.
# Discussion #
- You should provide one of the predefined values.
- The `intrinsicContentSize` of the banner view will depend on this value.
*/
@property (nonatomic, readonly) CHBBannerSize size;
/*!
The delegate instance to receive banner callbacks.
# Discussion #
See CHBAdDelegate.h for more info.
*/
@property (nonatomic, weak, nullable) id<CHBBannerDelegate> delegate;
/*!
Determines if a cached ad exists.
# Discussion #
A return value of YES here indicates that a call to showFromViewController: will present without making additional Chartboost server requests to fetch data.
- returns: YES if there is a cached ad, and NO if not.
*/
@property (nonatomic, readonly) BOOL isCached;
/*!
The initializer for the banner object. Default UIView initializers should not be used!
- parameter size: Size for the banner. See the size property documentation.
- parameter location: Location for the banner. See the location property documentation.
- parameter delegate: Delegate for the banner. See the delegate property documentation.
*/
- (instancetype)initWithSize:(CHBBannerSize)size
location:(NSString *)location
delegate:(nullable id<CHBBannerDelegate>)delegate;
/*!
The initializer for banner ads intended to be mediated by another SDK.
# Discussion #
Use this initializer only if you are writing an adapter to use Chartboost with another mediation solution.
- parameter size: Size for the banner. See the size property documentation.
- parameter location: Location for the banner ad. See the location property documentation.
- parameter mediation: Information about the mediation SDK that is requesting this ad.
- parameter delegate: Delegate for the banner ad. See the delegate property documentation.
*/
- (instancetype)initWithSize:(CHBBannerSize)size
location:(NSString *)location
mediation:(nullable CHBMediation *)mediation
delegate:(nullable id<CHBBannerDelegate>)delegate;
/*!
# Discussion #
Please use -[CHBBanner initWithLocation:size:delegate:] instead.
*/
- (instancetype)init NS_UNAVAILABLE;
/*!
Caches an ad.
# Discussion #
- This method will first check if there is a cached ad and, if found, will do nothing.
- If no cached ad exists the method will attempt to fetch it from the Chartboost server.
- Implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
*/
- (void)cache;
/*!
Caches an ad using an OpenRTB bid response.
# Discussion #
- Use this method if you want to cache an ad using a winning bid obtained from the Chartboost bidder.
- Use the isCached property or implement didCacheAd:error: in your ad delegate to be notified of a cache request result.
- parameter bidResponse: A bid response containing information about the ad to cache in OpenRTB format.
*/
- (void)cacheBidResponse:(NSString *)bidResponse NS_SWIFT_NAME(cache(bidResponse:));
/*!
Clears the ad cache.
# Discussion #
- This will do nothing if there's no cached ad. Otherwise it will remove any data
- related to the ad, bringing the ad instance back to a non-cached state. After calling this
- method you may call `cache` again and a new ad will be fetched.
*/
- (void)clearCache;
/*!
Shows an ad.
# Discussion #
- This method will first check if there is a cached ad, if found it will present it.
- If no cached ad exists the method will attempt to fetch it from the Chartboost server first.
- Passing a non-nil view controller is required.
- Implement ``(didShowAd:error:)`` in your ad delegate to be notified of a show request result, and ``(didCacheAd:error:)`` to be notified of the result of a cache request triggered by showing a non-cached banner.
- parameter viewController: The view controller to present the ad on.
*/
- (void)showFromViewController:(UIViewController *)viewController;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,144 @@
//
// CHBDataUseConsent.h
// Chartboost
//
// Copyright 2020 Chartboost. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
Constant that identifies a privacy standard to comply to.
*/
typedef NSString * CHBPrivacyStandard NS_TYPED_EXTENSIBLE_ENUM;
/*! @brief GDPR privacy standard identifier */
FOUNDATION_EXPORT CHBPrivacyStandard const CHBPrivacyStandardGDPR;
/*! @brief CCPA privacy standard identifier */
FOUNDATION_EXPORT CHBPrivacyStandard const CHBPrivacyStandardCCPA;
/*! @brief COPPA privacy standard identifier */
FOUNDATION_EXPORT CHBPrivacyStandard const CHBPrivacyStandardCOPPA;
/*! @brief LGPD privacy standard identifier */
FOUNDATION_EXPORT CHBPrivacyStandard const CHBPrivacyStandardLGPD;
/*!
Abstract class. Subclasses define a data use consent option for a privacy standard.
# Discussion #
Not intended to be used directly, always use a subclass to pass to +[Chartboost addDataUseConsent:] or to cast the result of +[Chartboost dataUseConsentForPrivacyStandard:]
*/
@interface CHBDataUseConsent: NSObject
/*! The identifier for the privacy standard this consent applies to. */
@property (nonatomic, readonly) CHBPrivacyStandard privacyStandard;
/*! Use the subclasses initializers to obtain a valid consent instance. */
- (instancetype)init NS_UNAVAILABLE;
@end
// MARK: - GDPR
/*!
Consent options for GDPR compliance.
*/
typedef NS_ENUM(NSUInteger, CHBGDPRConsent) {
/*! User does not consent to behavioral targeting in compliance with GDPR. */
CHBGDPRConsentNonBehavioral,
/*! User consents to behavioral targeting in compliance with GDPR. */
CHBGDPRConsentBehavioral
} NS_SWIFT_NAME(CHBGDPRDataUseConsent.Consent);
/*!
CHBDataUseConsent subclass for compliance with GDPR.
*/
NS_SWIFT_NAME(CHBDataUseConsent.GDPR)
@interface CHBGDPRDataUseConsent: CHBDataUseConsent
/*! The GDPR consent option. */
@property (nonatomic, readonly) CHBGDPRConsent consent;
/*!
Returns a GDPR consent object.
- parameter consent: The desired GDPR consent option.
*/
+ (CHBGDPRDataUseConsent *)gdprConsent:(CHBGDPRConsent)consent NS_SWIFT_NAME(init(_:));
@end
// MARK: - CCPA
/*!
Consent options for CCPA compliance.
*/
typedef NS_ENUM(NSUInteger, CHBCCPAConsent) {
/*! User does not consent to the sale of his or her personal information in compliance with CCPA. */
CHBCCPAConsentOptOutSale,
/*! User consents to the sale of his or her personal information in compliance with CCPA. */
CHBCCPAConsentOptInSale
} NS_SWIFT_NAME(CHBCCPADataUseConsent.Consent);
/*!
CHBDataUseConsent subclass for compliance with CCPA.
*/
NS_SWIFT_NAME(CHBDataUseConsent.CCPA)
@interface CHBCCPADataUseConsent: CHBDataUseConsent
/*!The CCPA consent option. */
@property (nonatomic, readonly) CHBCCPAConsent consent;
/*!
Returns a CCPA consent object.
- parameter consent: The desired CCPA consent option.
*/
+ (CHBCCPADataUseConsent *)ccpaConsent:(CHBCCPAConsent)consent NS_SWIFT_NAME(init(_:));
@end
// MARK: - COPPA
/*!
CHBDataUseConsent subclass for compliance with COPPA.
*/
NS_SWIFT_NAME(CHBDataUseConsent.COPPA)
@interface CHBCOPPADataUseConsent: CHBDataUseConsent
/*!Indicates if the app is directed to children. */
@property (nonatomic, readonly) BOOL isChildDirected;
/*!
Returns a COPPA consent object.
- parameter isChildDirected: Pass `true` if your app is directed to children.
*/
+ (CHBCOPPADataUseConsent *)isChildDirected:(BOOL)isChildDirected NS_SWIFT_NAME(init(isChildDirected:));
@end
// MARK: - LGPD
/*!
CHBDataUseConsent subclass for compliance with LGPD.
*/
NS_SWIFT_NAME(CHBDataUseConsent.LGPD)
@interface CHBLGPDDataUseConsent: CHBDataUseConsent
/*!Indicates if the user consents to behavioral targeting in compliance with LGPD. */
@property (nonatomic, readonly) BOOL allowBehavioralTargeting;
/*!
Returns a LGPD consent object.
- parameter allowBehavioralTargeting: Pass `true` if the user consents to behavioral targeting, `false` otherwise.
*/
+ (CHBLGPDDataUseConsent *)allowBehavioralTargeting:(BOOL)allowBehavioralTargeting NS_SWIFT_NAME(init(allowBehavioralTargeting:));
@end
// MARK: - Custom
/*!
CHBDataUseConsent subclass for compliance with a custom privacy standard.
*/
NS_SWIFT_NAME(CHBDataUseConsent.Custom)
@interface CHBCustomDataUseConsent: CHBDataUseConsent
/*!The custom consent value. */
@property (nonatomic, readonly) NSString *consent;
/*!
Returns a custom consent object.
# Discussion #
- Normally you would use other CHBDataUseConsent subclasses instead, which provide predefined options for current privacy standards.
- If you decide to use this make sure you pass valid values, as defined in [Chartboost Helpsite - Privacy Methods](https://answers.chartboost.com/en-us/child_article/ios-privacy-methods)
- parameter privacyStandard: The desired privacy standard identifier.
- parameter consent: The desired consent value.
*/
+ (CHBCustomDataUseConsent *)customConsentWithPrivacyStandard:(CHBPrivacyStandard)privacyStandard consent:(NSString *)consent NS_SWIFT_NAME(init(privacyStandard:consent:));
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,149 @@
/*
* CHBInterstitial.h
* Chartboost
*
* Copyright 2019 Chartboost. All rights reserved.
*/
#import <ChartboostSDK/CHBAd.h>
#import <ChartboostSDK/CHBAdDelegate.h>
#import <ChartboostSDK/CHBMediation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
CHBInterstitial is a full-screen ad.
# Discussion #
- To show an interstitial it first needs to be cached. Trying to show an uncached interstitial will always fail, thus it is recommended to always check if the ad is cached first.
- You can create and cache as many interstitial ads as you want, but only one can be presented at the same time.
- For more information on integrating and using the Chartboost SDK please visit our help site documentation at [Chartboost Helpsite](https://help.chartboost.com)
A basic implementation would look like this:
```objc
- (void)createAndCacheInterstitial {
self.interstitial = [[CHBInterstitial alloc] initWithLocation:@"YOUR_LOCATION_NAME" delegate:self];
[self.interstitial cache];
}
- (void)showInterstitial {
if (self.interstitial.isCached) {
[self.interstitial showFromViewController:self];
}
}
// Delegate methods
- (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error {
if (error) {
// Handle error, possibly scheduling a retry
}
}
- (void)willShowAd:(CHBShowEvent *)event {
// Pause ongoing processes
}
- (void)didShowAd:(CHBShowEvent *)event error:(CHBShowError *)error {
if (error) {
// Resume paused processes
}
}
- (void)didDismissAd:(CHBDismissEvent *)event {
// Resume paused processes
}
```
# Notes #
- If your application uses a View controller-based status bar appearance (usually the default), an ad shown with a valid view controller will hide the status bar. Otherwise it is your responsibility to hide it or not.
*/
@interface CHBInterstitial : NSObject <CHBAd>
/*!
Chartboost location for the ad.
# Discussion #
Used to obtain ads with increased performance.
*/
@property (nonatomic, readonly) NSString *location;
/*!
The delegate instance to receive interstitial callbacks.
# Discussion #
See CHBAdDelegate.h for more info.
*/
@property (nonatomic, weak, nullable) id<CHBInterstitialDelegate> delegate;
/*!
Determines if a cached ad exists.
# Discussion #
- A return value of YES here indicates that it is safe to call the ``(showFromViewController:)`` method.
- Calling this method when this value is NO will cause the show request to fail with a `CHBShowErrorCodeNoCachedAd` error.
- returns:YES if there is a cached ad, and NO if not.
*/
@property (nonatomic, readonly) BOOL isCached;
/*!
The initializer for the interstitial object.
- parameter location: Location for the interstitial. See the location property documentation.
- parameter delegate: Delegate for the interstitial. See the delegate property documentation.
*/
- (instancetype)initWithLocation:(NSString *)location
delegate:(nullable id<CHBInterstitialDelegate>)delegate;
/*!
The initializer for interstitial ads intended to be mediated by another SDK.
# Discussion #
Use this initializer only if you are writing an adapter to use Chartboost with another mediation solution.
- parameter location: Location for the interstitial ad. See the location property documentation.
- parameter mediation: Information about the mediation SDK that is requesting this ad.
- parameter delegate: Delegate for the rewarded ad. See the delegate property documentation.
*/
- (instancetype)initWithLocation:(NSString *)location
mediation:(nullable CHBMediation *)mediation
delegate:(nullable id<CHBInterstitialDelegate>)delegate;
/*!
# Discussion #
Please use -[CHBInterstitial initWithLocation:delegate:] instead.
*/
- (instancetype)init NS_UNAVAILABLE;
/*!
Caches an ad.
# Discussion #
- This method will first check if there is a cached ad and, if found, will do nothing.
- If no cached ad exists the method will attempt to fetch it from the Chartboost server.
- Implement ``(didCacheAd:error:)`` in your ad delegate to be notified of a cache request result.
*/
- (void)cache;
/*!
Caches an ad using an OpenRTB bid response.
# Discussion #
Use this method if you want to cache an ad using a winning bid obtained from the Chartboost bidder.
Use the isCached property or implement ``(didCacheAd:error:)``in your ad delegate to be notified of a cache request result.
- parameter bidResponse: A bid response containing information about the ad to cache in OpenRTB format.
*/
- (void)cacheBidResponse:(NSString *)bidResponse NS_SWIFT_NAME(cache(bidResponse:));
/*!
Clears the ad cache.
# Discussion #
- This will do nothing if there's no cached ad. Otherwise it will remove any data related to the ad,
bringing the ad instance back to a non-cached state.
After calling this method you may call `cache` again and a new ad will be fetched.
*/
- (void)clearCache;
/*!
Shows an ad.
# Discussion #
- This method will first check if there is a cached ad, if found it will present it.
If no cached ad exists the request will fail with a `CHBShowErrorCodeNoCachedAd` error.
- Passing a non-nil view controller is required.
- Implement ``(didShowAd:error:)`` in your ad delegate to be notified of a show request result.
- parameter viewController: The view controller to present the ad on.
*/
- (void)showFromViewController:(UIViewController *)viewController;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,39 @@
/*
* CHBMediation.h
* Chartboost
*
* Copyright 2019 Chartboost. All rights reserved.
*/
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
A class that holds information about the mediation library used to create an ad.
*/
@interface CHBMediation : NSObject
/*! The mediation library name. */
@property (nonatomic, readonly) NSString *name;
/*! The mediation library version. */
@property (nonatomic, readonly) NSString *libraryVersion;
/*! The mediation library adapter version. */
@property (nonatomic, readonly) NSString *adapterVersion;
/*!
The initializer for the mediation object.
- parameter name: The name of the mediation library used. E.g. "Helium"
- parameter libraryVersion: A string representing the library version. E.g. "5.1.0"
- parameter adapterVersion: A string representing the Chartbooost adapter version for this library. E.g. "5.1.0.1"
*/
- (instancetype)initWithName:(NSString *)name libraryVersion:(NSString*)libraryVersion adapterVersion:(NSString*)adapterVersion;
/*
# Discussion #
Please use -[CHBMediation initWithName:libraryVersion:adapterVersion:] instead.
*/
- (instancetype)CHBMediation NS_UNAVAILABLE;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,155 @@
//
// CHBRewarded.h
// Chartboost
//
// Copyright 2021 Chartboost. All rights reserved.
//
#import <ChartboostSDK/CHBAd.h>
#import <ChartboostSDK/CHBAdDelegate.h>
#import <ChartboostSDK/CHBMediation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
CHBRewarded is a full-screen ad that provides some reward to the user.
# Discussion #
- To show a rewarded ad it first needs to be cached. Trying to show an uncached rewarded ad will always fail, thus it is recommended to always check if the ad is cached first.
- You can create and cache as many rewarded ads as you want, but only one can be presented at the same time.
- For more information on integrating and using the Chartboost SDK please visit our help site documentation at [Chartboost Helpsite](https://help.chartboost.com)
A basic implementation would look like this:
```objc
- (void)createAndCacheRewarded {
self.rewarded = [[CHBRewarded alloc] initWithLocation:@"YOUR_LOCATION_NAME" delegate:self];
[self.rewarded cache];
}
- (void)showRewarded {
if (self.rewarded.isCached) {
[self.rewarded showFromViewController:self];
}
}
// Delegate methods
- (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error {
if (error) {
// Handle error, possibly scheduling a retry
}
}
- (void)willShowAd:(CHBShowEvent *)event {
// Pause ongoing processes
}
- (void)didShowAd:(CHBShowEvent *)event error:(CHBShowError *)error {
if (error) {
// Resume paused processes. Note that if showing the ad fails didEarnReward: will not be called.
}
}
- (void)didDismissAd:(CHBDismissEvent *)event {
// Resume paused processes
}
- (void)didEarnReward:(CHBRewardEvent *)event {
// Update app state with event.reward
}
```
# Notes #
- If your application uses a View controller-based status bar appearance (usually the default), an ad shown with a valid view controller will hide the status bar. Otherwise it is your responsibility to hide it or not.
*/
@interface CHBRewarded : NSObject <CHBAd>
/*!
Chartboost location for the ad.
# Discussion #
Used to obtain ads with increased performance.
*/
@property (nonatomic, readonly) NSString *location;
/*!
The delegate instance to receive rewarded callbacks.
# Discussion #
See CHBAdDelegate.h for more info.
*/
@property (nonatomic, weak, nullable) id<CHBRewardedDelegate> delegate;
/*!
Determines if a cached ad exists.
# Discussion #
- A return value of YES here indicates that it is safe to call the ``(showFromViewController:)`` method.
- Calling this method when this value is NO will cause the show request to fail with a `CHBShowErrorCodeNoCachedAd` error.
- returns:YES if there is a cached ad, and NO if not.
*/
@property (nonatomic, readonly) BOOL isCached;
/*!
The initializer for the rewarded ad object.
- parameter location: Location for the rewarded ad. See the location property documentation.
- parameter delegate: Delegate for the rewarded ad. See the delegate property documentation.
*/
- (instancetype)initWithLocation:(NSString *)location
delegate:(nullable id<CHBRewardedDelegate>)delegate;
/*!
The initializer for rewarded ads intended to be mediated by another SDK.
# Discussion #
Use this initializer only if you are writing an adapter to use Chartboost with another mediation solution.
- parameter location: Location for the rewarded ad. See the location property documentation.
- parameter mediation: Information about the mediation SDK that is requesting this ad.
- parameter delegate: Delegate for the rewarded ad. See the delegate property documentation.
*/
- (instancetype)initWithLocation:(NSString *)location
mediation:(nullable CHBMediation *)mediation
delegate:(nullable id<CHBRewardedDelegate>)delegate;
/*!
# Discussion #
Please use -[CHBRewarded initWithLocation:delegate:] instead.
*/
- (instancetype)init NS_UNAVAILABLE;
/*!
Caches an ad.
# Discussion #
- This method will first check if there is a cached ad and, if found, will do nothing.
- If no cached ad exists the method will attempt to fetch it from the Chartboost server.
- Implement ``(didCacheAd:error:)`` in your ad delegate to be notified of a cache request result.
*/
- (void)cache;
/*!
Caches an ad using an OpenRTB bid response.
# Discussion #
Use this method if you want to cache an ad using a winning bid obtained from the Chartboost bidder.
Use the isCached property or implement ``(didCacheAd:error:)``in your ad delegate to be notified of a cache request result.
- parameter bidResponse: A bid response containing information about the ad to cache in OpenRTB format.
*/
- (void)cacheBidResponse:(NSString *)bidResponse NS_SWIFT_NAME(cache(bidResponse:));
/*!
Clears the ad cache.
# Discussion #
- This will do nothing if there's no cached ad. Otherwise it will remove any data related to the ad,
bringing the ad instance back to a non-cached state.
After calling this method you may call `cache` again and a new ad will be fetched.
*/
- (void)clearCache;
/*!
Shows an ad.
# Discussion #
- This method will first check if there is a cached ad, if found it will present it.
If no cached ad exists the request will fail with a `CHBShowErrorCodeNoCachedAd` error.
- Passing a non-nil view controller is required.
- Implement ``(didShowAd:error:)`` in your ad delegate to be notified of a show request result.
- parameter viewController: The view controller to present the ad on.
*/
- (void)showFromViewController:(UIViewController *)viewController;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,113 @@
//
// Chartboost.h
// Chartboost
//
// Copyright 2018 Chartboost. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <ChartboostSDK/CHBInterstitial.h>
#import <ChartboostSDK/CHBRewarded.h>
#import <ChartboostSDK/CHBBanner.h>
#import <ChartboostSDK/CHBDataUseConsent.h>
@class CHBStartError;
NS_ASSUME_NONNULL_BEGIN
/*!
Chartboost SDK logging level options
*/
typedef NS_ENUM(NSUInteger, CBLoggingLevel) {
CBLoggingLevelOff,
CBLoggingLevelError,
CBLoggingLevelWarning,
CBLoggingLevelInfo,
CBLoggingLevelVerbose
};
/*!
Provides global settings and shared functionality for the Chartboost SDK.
# Discussion #
- Make sure to start Chartboost before requesting any ad.
- Setting data use consent information beforehand is also highly recommended, otherwise Chartboost's ability to provide ads might be hindered.
*/
@interface Chartboost : NSObject
/*!
Starts the SDK with the publisher app credentials.
# Discussion #
It takes an error parameter which indicates if the initialization succeeded or not.
This method must be called before creating an ad. Other methods, like data use consent or logging level methods, are fine to call before start.
- parameter appID: The Chartboost application ID for this app.
- parameter appSignature: The Chartboost application signature for this app.
- parameter completion: A completion block to be executed when the SDK finishes initializing.
*/
+ (void)startWithAppID:(NSString *)appID appSignature:(NSString *)appSignature completion:(void (^)(CHBStartError * _Nullable error))completion;
/*!
Use to restrict Chartboost's ability to collect personal data from the user.
# Discussion #
- This method can be called multiple times to set the consent for different privacy standards.
- If a consent has already been set for a privacy standard, adding a consent object for that standard will overwrite the previous value.
- This method should be called before starting the Chartboost SDK with startWithAppID:appSignature:completion: if possible.
- The added consents are persisted, so you may just call this when the consent status needs to be updated.
*/
+ (void)addDataUseConsent:(CHBDataUseConsent *)consent NS_SWIFT_NAME(addDataUseConsent(_:));
/*!
Clears the previously added consent for the desired privacy standard.
# Discussion #
- Chartboost persists the added consents, so you'll need to call this method if you want to withdraw a previously added consent.
- If no consent was available for the indicated standard nothing will happen.
- parameter privacyStandard: The privacy standard for which you want to clear the consent.
*/
+ (void)clearDataUseConsentForPrivacyStandard:(CHBPrivacyStandard)privacyStandard NS_SWIFT_NAME(clearDataUseConsent(for:));
/*!
Returns the current consent status for the desired privacy standard.
# Discussion #
Use this to check the current consent status, either set by a call to addDataUseConsent: or persisted from a call to the same method on a previous app run. You may need to cast the returned object to the proper CHBDataUseConsent subclass in order to read its consent value.
- parameter privacyStandard: The privacy standard for which you want to obtain the consent status.
- returns: A CHBDataUseConsent subclass (the same one used to set the consent in addDataUseConsent:) or nil if no consent status is currently available.
For example, to check if a consent is not set for GDPR:
```objc
// Obj-C
if (![Chartboost dataUseConsentForPrivacyStandard:CHBPrivacyStandardGDPR]) { ... }
// Swift
if Chartboost.dataUseConsent(for: .GDPR) == nil { ... }
```
To check the specific consent status for GDPR:
```objc
// Obj-C
CHBGDPRDataUseConsent *gdpr = [Chartboost dataUseConsentForPrivacyStandard:CHBPrivacyStandardGDPR];
if (gdpr && gdpr.consent == CHBGDPRConsentNonBehavioral) { ... }
// Swift
let gdpr = Chartboost.dataUseConsent(for: .GDPR) as? CHBDataUseConsent.GDPR
if gdpr?.consent == .nonBehavioral { ... }
```
*/
+ (nullable __kindof CHBDataUseConsent *)dataUseConsentForPrivacyStandard:(CHBPrivacyStandard)privacyStandard NS_SWIFT_NAME(dataUseConsent(for:));
/*!
The version of the Chartboost SDK.
*/
+ (NSString *)getSDKVersion;
/*!
Sets a logging level.
- parameter loggingLevel: The minimum level that's going to be logged
# Discussion #
Logging by default is off.
*/
+ (void)setLoggingLevel:(CBLoggingLevel)loggingLevel;
/*!
Returns the token used to authenticate with the Chartboost servers.
*/
+ (nullable NSString *)bidderToken;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,702 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
#ifndef CHARTBOOSTSDK_SWIFT_H
#define CHARTBOOSTSDK_SWIFT_H
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"
#if !defined(__has_include)
# define __has_include(x) 0
#endif
#if !defined(__has_attribute)
# define __has_attribute(x) 0
#endif
#if !defined(__has_feature)
# define __has_feature(x) 0
#endif
#if !defined(__has_warning)
# define __has_warning(x) 0
#endif
#if __has_include(<swift/objc-prologue.h>)
# include <swift/objc-prologue.h>
#endif
#pragma clang diagnostic ignored "-Wduplicate-method-match"
#pragma clang diagnostic ignored "-Wauto-import"
#if defined(__OBJC__)
#include <Foundation/Foundation.h>
#endif
#if defined(__cplusplus)
#include <cstdint>
#include <cstddef>
#include <cstdbool>
#else
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#endif
#if !defined(SWIFT_TYPEDEFS)
# define SWIFT_TYPEDEFS 1
# if __has_include(<uchar.h>)
# include <uchar.h>
# elif !defined(__cplusplus)
typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t;
# endif
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#endif
#if !defined(SWIFT_PASTE)
# define SWIFT_PASTE_HELPER(x, y) x##y
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
#endif
#if !defined(SWIFT_METATYPE)
# define SWIFT_METATYPE(X) Class
#endif
#if !defined(SWIFT_CLASS_PROPERTY)
# if __has_feature(objc_class_property)
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
# else
# define SWIFT_CLASS_PROPERTY(...)
# endif
#endif
#if __has_attribute(objc_runtime_name)
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
#else
# define SWIFT_RUNTIME_NAME(X)
#endif
#if __has_attribute(swift_name)
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
#else
# define SWIFT_COMPILE_NAME(X)
#endif
#if __has_attribute(objc_method_family)
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
#else
# define SWIFT_METHOD_FAMILY(X)
#endif
#if __has_attribute(noescape)
# define SWIFT_NOESCAPE __attribute__((noescape))
#else
# define SWIFT_NOESCAPE
#endif
#if __has_attribute(ns_consumed)
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
#else
# define SWIFT_RELEASES_ARGUMENT
#endif
#if __has_attribute(warn_unused_result)
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else
# define SWIFT_WARN_UNUSED_RESULT
#endif
#if __has_attribute(noreturn)
# define SWIFT_NORETURN __attribute__((noreturn))
#else
# define SWIFT_NORETURN
#endif
#if !defined(SWIFT_CLASS_EXTRA)
# define SWIFT_CLASS_EXTRA
#endif
#if !defined(SWIFT_PROTOCOL_EXTRA)
# define SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_ENUM_EXTRA)
# define SWIFT_ENUM_EXTRA
#endif
#if !defined(SWIFT_CLASS)
# if __has_attribute(objc_subclassing_restricted)
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# else
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# endif
#endif
#if !defined(SWIFT_RESILIENT_CLASS)
# if __has_attribute(objc_class_stub)
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
# else
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
# endif
#endif
#if !defined(SWIFT_PROTOCOL)
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_EXTENSION)
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
#endif
#if !defined(OBJC_DESIGNATED_INITIALIZER)
# if __has_attribute(objc_designated_initializer)
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
# else
# define OBJC_DESIGNATED_INITIALIZER
# endif
#endif
#if !defined(SWIFT_ENUM_ATTR)
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
# else
# define SWIFT_ENUM_ATTR(_extensibility)
# endif
#endif
#if !defined(SWIFT_ENUM)
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
# if __has_feature(generalized_swift_name)
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
# else
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
# endif
#endif
#if !defined(SWIFT_UNAVAILABLE)
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
#endif
#if !defined(SWIFT_UNAVAILABLE_MSG)
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
#endif
#if !defined(SWIFT_AVAILABILITY)
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
#endif
#if !defined(SWIFT_WEAK_IMPORT)
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
#endif
#if !defined(SWIFT_DEPRECATED)
# define SWIFT_DEPRECATED __attribute__((deprecated))
#endif
#if !defined(SWIFT_DEPRECATED_MSG)
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
#endif
#if __has_feature(attribute_diagnose_if_objc)
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
#else
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
#endif
#if defined(__OBJC__)
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
#endif
#if !defined(SWIFT_EXTERN)
# if defined(__cplusplus)
# define SWIFT_EXTERN extern "C"
# else
# define SWIFT_EXTERN extern
# endif
#endif
#if !defined(SWIFT_CALL)
# define SWIFT_CALL __attribute__((swiftcall))
#endif
#if defined(__cplusplus)
#if !defined(SWIFT_NOEXCEPT)
# define SWIFT_NOEXCEPT noexcept
#endif
#else
#if !defined(SWIFT_NOEXCEPT)
# define SWIFT_NOEXCEPT
#endif
#endif
#if defined(__cplusplus)
#if !defined(SWIFT_CXX_INT_DEFINED)
#define SWIFT_CXX_INT_DEFINED
namespace swift {
using Int = ptrdiff_t;
using UInt = size_t;
}
#endif
#endif
#if defined(__OBJC__)
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import Foundation;
#endif
#import <ChartboostSDK/ChartboostSDK.h>
#endif
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
#if __has_warning("-Wpragma-clang-attribute")
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
#endif
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability"
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
#if __has_attribute(external_source_symbol)
# pragma push_macro("any")
# undef any
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="ChartboostSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
# pragma pop_macro("any")
#endif
#if defined(__OBJC__)
@interface CHBMediation (SWIFT_EXTENSION(ChartboostSDK))
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@end
@class NSString;
@class NSCoder;
/// An error object passed on cache-related delegate methods.
SWIFT_CLASS_NAMED("CacheError")
@interface CHBCacheError : NSError
- (nonnull instancetype)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)dict OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end
/// Error codes for failed cache operations.
typedef SWIFT_ENUM_NAMED(NSInteger, CHBCacheErrorCode, "CacheErrorCode", open) {
CHBCacheErrorCodeInternalError = 0,
CHBCacheErrorCodeInternetUnavailable = 1,
CHBCacheErrorCodeNetworkFailure = 2,
CHBCacheErrorCodeNoAdFound = 3,
CHBCacheErrorCodeSessionNotStarted = 4,
CHBCacheErrorCodeAssetDownloadFailure = 5,
CHBCacheErrorCodePublisherDisabled = 6,
CHBCacheErrorCodeServerError = 7,
};
/// An error object passed on click-related delegate methods.
SWIFT_CLASS_NAMED("ClickError")
@interface CHBClickError : NSError
- (nonnull instancetype)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)dict OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end
/// Error codes for failed click operations.
typedef SWIFT_ENUM_NAMED(NSInteger, CHBClickErrorCode, "ClickErrorCode", open) {
CHBClickErrorCodeUriInvalid = 0,
CHBClickErrorCodeUriUnrecognized = 1,
CHBClickErrorCodeInternalError = 2,
};
@interface NSError (SWIFT_EXTENSION(ChartboostSDK))
/// IMPORTANT: For 64-bit and iPhone OS applications, there is a linker bug that prevents -ObjC from loading objects files from static libraries that contain only categories and no classes. The workaround is to use the -all_load or -force_load flags. -all_load forces the linker to load all object files from every archive it sees, even those without Objective-C code. -force_load is available in Xcode 3.2 and later. It allows finer grain control of archive loading. Each -force_load option must be followed by a path to an archive, and every object file in that archive will be loaded.
/// The Solution applied here is to include this trackDescription method inside of a file that already contains other classes so it gets linked.
- (NSString * _Nonnull)trackDescription SWIFT_WARN_UNUSED_RESULT;
@end
/// An error object passed on show-related delegate methods.
SWIFT_CLASS_NAMED("ShowError")
@interface CHBShowError : NSError
- (nonnull instancetype)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)dict OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end
/// Error codes for failed show operations.
typedef SWIFT_ENUM_NAMED(NSInteger, CHBShowErrorCode, "ShowErrorCode", open) {
CHBShowErrorCodeInternalError = 0,
CHBShowErrorCodeSessionNotStarted = 1,
CHBShowErrorCodeInternetUnavailable = 2,
CHBShowErrorCodePresentationFailure = 3,
CHBShowErrorCodeNoCachedAd = 4,
CHBShowErrorCodeNoViewController = 5,
CHBShowErrorCodeNoAdInstance = 6,
CHBShowErrorCodeAssetsFailure = 7,
};
/// An error object passed on SDK start completion callbacks.
SWIFT_CLASS_NAMED("StartError")
@interface CHBStartError : NSError
- (nonnull instancetype)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)dict OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end
/// Error codes for failed start operations.
typedef SWIFT_ENUM_NAMED(NSInteger, CHBStartErrorCode, "StartErrorCode", open) {
CHBStartErrorCodeInvalidCredentials = 0,
CHBStartErrorCodeNetworkFailure = 1,
CHBStartErrorCodeServerError = 2,
};
#endif
#if defined(__cplusplus)
#endif
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
#pragma clang diagnostic pop
#endif
#elif defined(__x86_64__) && __x86_64__
// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
#ifndef CHARTBOOSTSDK_SWIFT_H
#define CHARTBOOSTSDK_SWIFT_H
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"
#if !defined(__has_include)
# define __has_include(x) 0
#endif
#if !defined(__has_attribute)
# define __has_attribute(x) 0
#endif
#if !defined(__has_feature)
# define __has_feature(x) 0
#endif
#if !defined(__has_warning)
# define __has_warning(x) 0
#endif
#if __has_include(<swift/objc-prologue.h>)
# include <swift/objc-prologue.h>
#endif
#pragma clang diagnostic ignored "-Wduplicate-method-match"
#pragma clang diagnostic ignored "-Wauto-import"
#if defined(__OBJC__)
#include <Foundation/Foundation.h>
#endif
#if defined(__cplusplus)
#include <cstdint>
#include <cstddef>
#include <cstdbool>
#else
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#endif
#if !defined(SWIFT_TYPEDEFS)
# define SWIFT_TYPEDEFS 1
# if __has_include(<uchar.h>)
# include <uchar.h>
# elif !defined(__cplusplus)
typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t;
# endif
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#endif
#if !defined(SWIFT_PASTE)
# define SWIFT_PASTE_HELPER(x, y) x##y
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
#endif
#if !defined(SWIFT_METATYPE)
# define SWIFT_METATYPE(X) Class
#endif
#if !defined(SWIFT_CLASS_PROPERTY)
# if __has_feature(objc_class_property)
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
# else
# define SWIFT_CLASS_PROPERTY(...)
# endif
#endif
#if __has_attribute(objc_runtime_name)
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
#else
# define SWIFT_RUNTIME_NAME(X)
#endif
#if __has_attribute(swift_name)
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
#else
# define SWIFT_COMPILE_NAME(X)
#endif
#if __has_attribute(objc_method_family)
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
#else
# define SWIFT_METHOD_FAMILY(X)
#endif
#if __has_attribute(noescape)
# define SWIFT_NOESCAPE __attribute__((noescape))
#else
# define SWIFT_NOESCAPE
#endif
#if __has_attribute(ns_consumed)
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
#else
# define SWIFT_RELEASES_ARGUMENT
#endif
#if __has_attribute(warn_unused_result)
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else
# define SWIFT_WARN_UNUSED_RESULT
#endif
#if __has_attribute(noreturn)
# define SWIFT_NORETURN __attribute__((noreturn))
#else
# define SWIFT_NORETURN
#endif
#if !defined(SWIFT_CLASS_EXTRA)
# define SWIFT_CLASS_EXTRA
#endif
#if !defined(SWIFT_PROTOCOL_EXTRA)
# define SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_ENUM_EXTRA)
# define SWIFT_ENUM_EXTRA
#endif
#if !defined(SWIFT_CLASS)
# if __has_attribute(objc_subclassing_restricted)
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# else
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
# endif
#endif
#if !defined(SWIFT_RESILIENT_CLASS)
# if __has_attribute(objc_class_stub)
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
# else
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
# endif
#endif
#if !defined(SWIFT_PROTOCOL)
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
#endif
#if !defined(SWIFT_EXTENSION)
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
#endif
#if !defined(OBJC_DESIGNATED_INITIALIZER)
# if __has_attribute(objc_designated_initializer)
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
# else
# define OBJC_DESIGNATED_INITIALIZER
# endif
#endif
#if !defined(SWIFT_ENUM_ATTR)
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
# else
# define SWIFT_ENUM_ATTR(_extensibility)
# endif
#endif
#if !defined(SWIFT_ENUM)
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
# if __has_feature(generalized_swift_name)
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
# else
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
# endif
#endif
#if !defined(SWIFT_UNAVAILABLE)
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
#endif
#if !defined(SWIFT_UNAVAILABLE_MSG)
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
#endif
#if !defined(SWIFT_AVAILABILITY)
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
#endif
#if !defined(SWIFT_WEAK_IMPORT)
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
#endif
#if !defined(SWIFT_DEPRECATED)
# define SWIFT_DEPRECATED __attribute__((deprecated))
#endif
#if !defined(SWIFT_DEPRECATED_MSG)
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
#endif
#if __has_feature(attribute_diagnose_if_objc)
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
#else
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
#endif
#if defined(__OBJC__)
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
#endif
#if !defined(SWIFT_EXTERN)
# if defined(__cplusplus)
# define SWIFT_EXTERN extern "C"
# else
# define SWIFT_EXTERN extern
# endif
#endif
#if !defined(SWIFT_CALL)
# define SWIFT_CALL __attribute__((swiftcall))
#endif
#if defined(__cplusplus)
#if !defined(SWIFT_NOEXCEPT)
# define SWIFT_NOEXCEPT noexcept
#endif
#else
#if !defined(SWIFT_NOEXCEPT)
# define SWIFT_NOEXCEPT
#endif
#endif
#if defined(__cplusplus)
#if !defined(SWIFT_CXX_INT_DEFINED)
#define SWIFT_CXX_INT_DEFINED
namespace swift {
using Int = ptrdiff_t;
using UInt = size_t;
}
#endif
#endif
#if defined(__OBJC__)
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import Foundation;
#endif
#import <ChartboostSDK/ChartboostSDK.h>
#endif
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
#if __has_warning("-Wpragma-clang-attribute")
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
#endif
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability"
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
#if __has_attribute(external_source_symbol)
# pragma push_macro("any")
# undef any
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="ChartboostSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
# pragma pop_macro("any")
#endif
#if defined(__OBJC__)
@interface CHBMediation (SWIFT_EXTENSION(ChartboostSDK))
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@end
@class NSString;
@class NSCoder;
/// An error object passed on cache-related delegate methods.
SWIFT_CLASS_NAMED("CacheError")
@interface CHBCacheError : NSError
- (nonnull instancetype)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)dict OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end
/// Error codes for failed cache operations.
typedef SWIFT_ENUM_NAMED(NSInteger, CHBCacheErrorCode, "CacheErrorCode", open) {
CHBCacheErrorCodeInternalError = 0,
CHBCacheErrorCodeInternetUnavailable = 1,
CHBCacheErrorCodeNetworkFailure = 2,
CHBCacheErrorCodeNoAdFound = 3,
CHBCacheErrorCodeSessionNotStarted = 4,
CHBCacheErrorCodeAssetDownloadFailure = 5,
CHBCacheErrorCodePublisherDisabled = 6,
CHBCacheErrorCodeServerError = 7,
};
/// An error object passed on click-related delegate methods.
SWIFT_CLASS_NAMED("ClickError")
@interface CHBClickError : NSError
- (nonnull instancetype)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)dict OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end
/// Error codes for failed click operations.
typedef SWIFT_ENUM_NAMED(NSInteger, CHBClickErrorCode, "ClickErrorCode", open) {
CHBClickErrorCodeUriInvalid = 0,
CHBClickErrorCodeUriUnrecognized = 1,
CHBClickErrorCodeInternalError = 2,
};
@interface NSError (SWIFT_EXTENSION(ChartboostSDK))
/// IMPORTANT: For 64-bit and iPhone OS applications, there is a linker bug that prevents -ObjC from loading objects files from static libraries that contain only categories and no classes. The workaround is to use the -all_load or -force_load flags. -all_load forces the linker to load all object files from every archive it sees, even those without Objective-C code. -force_load is available in Xcode 3.2 and later. It allows finer grain control of archive loading. Each -force_load option must be followed by a path to an archive, and every object file in that archive will be loaded.
/// The Solution applied here is to include this trackDescription method inside of a file that already contains other classes so it gets linked.
- (NSString * _Nonnull)trackDescription SWIFT_WARN_UNUSED_RESULT;
@end
/// An error object passed on show-related delegate methods.
SWIFT_CLASS_NAMED("ShowError")
@interface CHBShowError : NSError
- (nonnull instancetype)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)dict OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end
/// Error codes for failed show operations.
typedef SWIFT_ENUM_NAMED(NSInteger, CHBShowErrorCode, "ShowErrorCode", open) {
CHBShowErrorCodeInternalError = 0,
CHBShowErrorCodeSessionNotStarted = 1,
CHBShowErrorCodeInternetUnavailable = 2,
CHBShowErrorCodePresentationFailure = 3,
CHBShowErrorCodeNoCachedAd = 4,
CHBShowErrorCodeNoViewController = 5,
CHBShowErrorCodeNoAdInstance = 6,
CHBShowErrorCodeAssetsFailure = 7,
};
/// An error object passed on SDK start completion callbacks.
SWIFT_CLASS_NAMED("StartError")
@interface CHBStartError : NSError
- (nonnull instancetype)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary<NSString *, id> * _Nullable)dict OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end
/// Error codes for failed start operations.
typedef SWIFT_ENUM_NAMED(NSInteger, CHBStartErrorCode, "StartErrorCode", open) {
CHBStartErrorCodeInvalidCredentials = 0,
CHBStartErrorCodeNetworkFailure = 1,
CHBStartErrorCodeServerError = 2,
};
#endif
#if defined(__cplusplus)
#endif
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
#pragma clang diagnostic pop
#endif
#else
#error unsupported Swift architecture
#endif

View File

@ -0,0 +1,16 @@
//
// ChartboostSDK.h
// Chartboost
//
// Copyright 2021 Chartboost. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for Chartboost.
FOUNDATION_EXPORT double ChartboostVersionNumber;
//! Project version string for Chartboost.
FOUNDATION_EXPORT const unsigned char ChartboostVersionString[];
#import <ChartboostSDK/Chartboost.h>

View File

@ -0,0 +1,134 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ChartboostSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AVFAudio
import AVFoundation
import AdSupport
import AppTrackingTransparency
@_exported import ChartboostSDK
import CoreGraphics
import CoreTelephony
import Foundation
import SafariServices
import StoreKit
import Swift
import UIKit
import WebKit
import _Concurrency
import _StringProcessing
extension ChartboostSDK.CHBMediation : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
required convenience public init(from decoder: Swift.Decoder) throws
@objc override dynamic open func isEqual(_ object: Any?) -> Swift.Bool
}
public typealias RedirectionURLFinished = (url: Foundation.URL, redirected: Swift.Bool)
@objc(CHBCacheErrorCode) public enum CacheErrorCode : Swift.Int {
case internalError
case internetUnavailable
case networkFailure
case noAdFound
case sessionNotStarted
case assetDownloadFailure
case publisherDisabled
case serverError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBCacheError) public class CacheError : Foundation.NSError {
public var cacheCode: ChartboostSDK.CacheErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBShowErrorCode) public enum ShowErrorCode : Swift.Int {
case internalError
case sessionNotStarted
case internetUnavailable
case presentationFailure
case noCachedAd
case noViewController
case noAdInstance
case assetsFailure
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBShowError) public class ShowError : Foundation.NSError {
public var showCode: ChartboostSDK.ShowErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBClickErrorCode) public enum ClickErrorCode : Swift.Int {
case uriInvalid
case uriUnrecognized
case internalError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBClickError) public class ClickError : Foundation.NSError {
public var clickCode: ChartboostSDK.ClickErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBStartErrorCode) public enum StartErrorCode : Swift.Int {
case invalidCredentials
case networkFailure
case serverError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBStartError) public class StartError : Foundation.NSError {
public var startCode: ChartboostSDK.StartErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
extension Foundation.NSError {
@objc dynamic public func trackDescription() -> Swift.String
}
extension ChartboostSDK.CacheErrorCode : Swift.Equatable {}
extension ChartboostSDK.CacheErrorCode : Swift.Hashable {}
extension ChartboostSDK.CacheErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.ShowErrorCode : Swift.Equatable {}
extension ChartboostSDK.ShowErrorCode : Swift.Hashable {}
extension ChartboostSDK.ShowErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.ClickErrorCode : Swift.Equatable {}
extension ChartboostSDK.ClickErrorCode : Swift.Hashable {}
extension ChartboostSDK.ClickErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.StartErrorCode : Swift.Equatable {}
extension ChartboostSDK.StartErrorCode : Swift.Hashable {}
extension ChartboostSDK.StartErrorCode : Swift.RawRepresentable {}

View File

@ -0,0 +1,134 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ChartboostSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AVFAudio
import AVFoundation
import AdSupport
import AppTrackingTransparency
@_exported import ChartboostSDK
import CoreGraphics
import CoreTelephony
import Foundation
import SafariServices
import StoreKit
import Swift
import UIKit
import WebKit
import _Concurrency
import _StringProcessing
extension ChartboostSDK.CHBMediation : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
required convenience public init(from decoder: Swift.Decoder) throws
@objc override dynamic open func isEqual(_ object: Any?) -> Swift.Bool
}
public typealias RedirectionURLFinished = (url: Foundation.URL, redirected: Swift.Bool)
@objc(CHBCacheErrorCode) public enum CacheErrorCode : Swift.Int {
case internalError
case internetUnavailable
case networkFailure
case noAdFound
case sessionNotStarted
case assetDownloadFailure
case publisherDisabled
case serverError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBCacheError) public class CacheError : Foundation.NSError {
public var cacheCode: ChartboostSDK.CacheErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBShowErrorCode) public enum ShowErrorCode : Swift.Int {
case internalError
case sessionNotStarted
case internetUnavailable
case presentationFailure
case noCachedAd
case noViewController
case noAdInstance
case assetsFailure
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBShowError) public class ShowError : Foundation.NSError {
public var showCode: ChartboostSDK.ShowErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBClickErrorCode) public enum ClickErrorCode : Swift.Int {
case uriInvalid
case uriUnrecognized
case internalError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBClickError) public class ClickError : Foundation.NSError {
public var clickCode: ChartboostSDK.ClickErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBStartErrorCode) public enum StartErrorCode : Swift.Int {
case invalidCredentials
case networkFailure
case serverError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBStartError) public class StartError : Foundation.NSError {
public var startCode: ChartboostSDK.StartErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
extension Foundation.NSError {
@objc dynamic public func trackDescription() -> Swift.String
}
extension ChartboostSDK.CacheErrorCode : Swift.Equatable {}
extension ChartboostSDK.CacheErrorCode : Swift.Hashable {}
extension ChartboostSDK.CacheErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.ShowErrorCode : Swift.Equatable {}
extension ChartboostSDK.ShowErrorCode : Swift.Hashable {}
extension ChartboostSDK.ShowErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.ClickErrorCode : Swift.Equatable {}
extension ChartboostSDK.ClickErrorCode : Swift.Hashable {}
extension ChartboostSDK.ClickErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.StartErrorCode : Swift.Equatable {}
extension ChartboostSDK.StartErrorCode : Swift.Hashable {}
extension ChartboostSDK.StartErrorCode : Swift.RawRepresentable {}

View File

@ -0,0 +1,134 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ChartboostSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AVFAudio
import AVFoundation
import AdSupport
import AppTrackingTransparency
@_exported import ChartboostSDK
import CoreGraphics
import CoreTelephony
import Foundation
import SafariServices
import StoreKit
import Swift
import UIKit
import WebKit
import _Concurrency
import _StringProcessing
extension ChartboostSDK.CHBMediation : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
required convenience public init(from decoder: Swift.Decoder) throws
@objc override dynamic open func isEqual(_ object: Any?) -> Swift.Bool
}
public typealias RedirectionURLFinished = (url: Foundation.URL, redirected: Swift.Bool)
@objc(CHBCacheErrorCode) public enum CacheErrorCode : Swift.Int {
case internalError
case internetUnavailable
case networkFailure
case noAdFound
case sessionNotStarted
case assetDownloadFailure
case publisherDisabled
case serverError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBCacheError) public class CacheError : Foundation.NSError {
public var cacheCode: ChartboostSDK.CacheErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBShowErrorCode) public enum ShowErrorCode : Swift.Int {
case internalError
case sessionNotStarted
case internetUnavailable
case presentationFailure
case noCachedAd
case noViewController
case noAdInstance
case assetsFailure
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBShowError) public class ShowError : Foundation.NSError {
public var showCode: ChartboostSDK.ShowErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBClickErrorCode) public enum ClickErrorCode : Swift.Int {
case uriInvalid
case uriUnrecognized
case internalError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBClickError) public class ClickError : Foundation.NSError {
public var clickCode: ChartboostSDK.ClickErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBStartErrorCode) public enum StartErrorCode : Swift.Int {
case invalidCredentials
case networkFailure
case serverError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBStartError) public class StartError : Foundation.NSError {
public var startCode: ChartboostSDK.StartErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
extension Foundation.NSError {
@objc dynamic public func trackDescription() -> Swift.String
}
extension ChartboostSDK.CacheErrorCode : Swift.Equatable {}
extension ChartboostSDK.CacheErrorCode : Swift.Hashable {}
extension ChartboostSDK.CacheErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.ShowErrorCode : Swift.Equatable {}
extension ChartboostSDK.ShowErrorCode : Swift.Hashable {}
extension ChartboostSDK.ShowErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.ClickErrorCode : Swift.Equatable {}
extension ChartboostSDK.ClickErrorCode : Swift.Hashable {}
extension ChartboostSDK.ClickErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.StartErrorCode : Swift.Equatable {}
extension ChartboostSDK.StartErrorCode : Swift.Hashable {}
extension ChartboostSDK.StartErrorCode : Swift.RawRepresentable {}

View File

@ -0,0 +1,134 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ChartboostSDK
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AVFAudio
import AVFoundation
import AdSupport
import AppTrackingTransparency
@_exported import ChartboostSDK
import CoreGraphics
import CoreTelephony
import Foundation
import SafariServices
import StoreKit
import Swift
import UIKit
import WebKit
import _Concurrency
import _StringProcessing
extension ChartboostSDK.CHBMediation : Swift.Codable {
public func encode(to encoder: Swift.Encoder) throws
required convenience public init(from decoder: Swift.Decoder) throws
@objc override dynamic open func isEqual(_ object: Any?) -> Swift.Bool
}
public typealias RedirectionURLFinished = (url: Foundation.URL, redirected: Swift.Bool)
@objc(CHBCacheErrorCode) public enum CacheErrorCode : Swift.Int {
case internalError
case internetUnavailable
case networkFailure
case noAdFound
case sessionNotStarted
case assetDownloadFailure
case publisherDisabled
case serverError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBCacheError) public class CacheError : Foundation.NSError {
public var cacheCode: ChartboostSDK.CacheErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBShowErrorCode) public enum ShowErrorCode : Swift.Int {
case internalError
case sessionNotStarted
case internetUnavailable
case presentationFailure
case noCachedAd
case noViewController
case noAdInstance
case assetsFailure
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBShowError) public class ShowError : Foundation.NSError {
public var showCode: ChartboostSDK.ShowErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBClickErrorCode) public enum ClickErrorCode : Swift.Int {
case uriInvalid
case uriUnrecognized
case internalError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBClickError) public class ClickError : Foundation.NSError {
public var clickCode: ChartboostSDK.ClickErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
@objc(CHBStartErrorCode) public enum StartErrorCode : Swift.Int {
case invalidCredentials
case networkFailure
case serverError
public var description: Swift.String {
get
}
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
@_inheritsConvenienceInitializers @objc(CHBStartError) public class StartError : Foundation.NSError {
public var startCode: ChartboostSDK.StartErrorCode? {
get
}
@objc override dynamic public init(domain: Swift.String, code: Swift.Int, userInfo dict: [Swift.String : Any]? = nil)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
extension Foundation.NSError {
@objc dynamic public func trackDescription() -> Swift.String
}
extension ChartboostSDK.CacheErrorCode : Swift.Equatable {}
extension ChartboostSDK.CacheErrorCode : Swift.Hashable {}
extension ChartboostSDK.CacheErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.ShowErrorCode : Swift.Equatable {}
extension ChartboostSDK.ShowErrorCode : Swift.Hashable {}
extension ChartboostSDK.ShowErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.ClickErrorCode : Swift.Equatable {}
extension ChartboostSDK.ClickErrorCode : Swift.Hashable {}
extension ChartboostSDK.ClickErrorCode : Swift.RawRepresentable {}
extension ChartboostSDK.StartErrorCode : Swift.Equatable {}
extension ChartboostSDK.StartErrorCode : Swift.Hashable {}
extension ChartboostSDK.StartErrorCode : Swift.RawRepresentable {}

View File

@ -0,0 +1,24 @@
framework module ChartboostSDK {
umbrella header "ChartboostSDK.h"
export *
module * { export * }
link framework "UIKit"
link framework "WebKit"
link framework "StoreKit"
link framework "CoreMedia"
link framework "AVFoundation"
link framework "AppTrackingTransparency"
link framework "AdSupport"
link framework "CoreTelephony"
link framework "SafariServices"
link framework "CoreFoundation"
link framework "SystemConfiguration"
}
module ChartboostSDK.Swift {
header "ChartboostSDK-Swift.h"
requires objc
}

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
</dict>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCoarseLocation</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeAdvertisingData</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCustomerSupport</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeDeviceID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<true/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeOtherDataTypes</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeUserID</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<true/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
<string>NSPrivacyCollectedDataTypePurposeThirdPartyAdvertising</string>
</array>
</dict>
</array>
<key>NSPrivacyTrackingDomains</key>
<array>
<string>tracking-webview.monetization-sdk.chartboost.com</string>
<string>tracking-da.monetization-sdk.chartboost.com</string>
</array>
<key>NSPrivacyTracking</key>
<true/>
</dict>
</plist>

View File

@ -0,0 +1,462 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Headers/CHBAd.h</key>
<data>
Hqerc/VGCU+T8bx9Kjf4o3oduWA=
</data>
<key>Headers/CHBAdDelegate.h</key>
<data>
RIZkuv7XipQsTtmMs/udPT+p5gg=
</data>
<key>Headers/CHBAdEvent.h</key>
<data>
Z9iOSKEUWLpQLoVHeiG5oaNYN60=
</data>
<key>Headers/CHBBanner.h</key>
<data>
AR9un6+2AfRyuX+HjVP2CyyRGvM=
</data>
<key>Headers/CHBDataUseConsent.h</key>
<data>
Rl93NbPPkOhFjclwFJ+YgsNJGz8=
</data>
<key>Headers/CHBInterstitial.h</key>
<data>
j+6Io5e3N5V2bHmvF8NF06ojVvw=
</data>
<key>Headers/CHBMediation.h</key>
<data>
f/qPODbJN5IX2h0CjWE/Wk+B7QY=
</data>
<key>Headers/CHBRewarded.h</key>
<data>
rX362tL3ko4Le4/eA+4fb0mThUM=
</data>
<key>Headers/Chartboost.h</key>
<data>
eFeAPjweXjdytKoh0mwt1HH2igE=
</data>
<key>Headers/ChartboostSDK-Swift.h</key>
<data>
V0CGLgoztGoPUqM2ghcoIFlx+14=
</data>
<key>Headers/ChartboostSDK.h</key>
<data>
vIvNxaYm+maQHuy7Orh4Y03IL20=
</data>
<key>Info.plist</key>
<data>
q4lrHM98f0a0ZxzY2I2XDa6qv+Q=
</data>
<key>Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
<data>
vMknqpOE8hUonWZX4QO853QWNVo=
</data>
<key>Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
<data>
CPoN6TlnVvWK3fJTD+aFrivi/pE=
</data>
<key>Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
<data>
wlk3zn9TP2077S7l3GWH5QptklI=
</data>
<key>Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
<data>
CPoN6TlnVvWK3fJTD+aFrivi/pE=
</data>
<key>Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
<data>
aYlPDt7vhcXlXq9gCHdlC+30sb0=
</data>
<key>Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
<data>
vMknqpOE8hUonWZX4QO853QWNVo=
</data>
<key>Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
<data>
mvBSFjGSNtlaSls1i6BZDB0wA+w=
</data>
<key>Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
<data>
21HWohH51gcQJMcqr1D1R5bKIkU=
</data>
<key>Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
<data>
mvBSFjGSNtlaSls1i6BZDB0wA+w=
</data>
<key>Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
<data>
OR4IMJdap7ywupjpR30Bwtg+f+Q=
</data>
<key>Modules/module.modulemap</key>
<data>
nFHhKUqbFTMiqx019DJWgXlTob0=
</data>
<key>PrivacyInfo.xcprivacy</key>
<data>
4Q6ZldxeYHcejcuGiVOZBPEZtpU=
</data>
<key>PrivateHeaders/ChartboostOMID.h</key>
<data>
wI1v8d5v8RTMNQXuHZQ/IzE3Few=
</data>
</dict>
<key>files2</key>
<dict>
<key>Headers/CHBAd.h</key>
<dict>
<key>hash</key>
<data>
Hqerc/VGCU+T8bx9Kjf4o3oduWA=
</data>
<key>hash2</key>
<data>
vp4q9acOAbhzzG+BcO7K6W6vC1o7FtTje2zgaicRTiw=
</data>
</dict>
<key>Headers/CHBAdDelegate.h</key>
<dict>
<key>hash</key>
<data>
RIZkuv7XipQsTtmMs/udPT+p5gg=
</data>
<key>hash2</key>
<data>
nR6ZABusGq2LECyw6enTNNj8qcqsQMhJLu4ywlKTfJ0=
</data>
</dict>
<key>Headers/CHBAdEvent.h</key>
<dict>
<key>hash</key>
<data>
Z9iOSKEUWLpQLoVHeiG5oaNYN60=
</data>
<key>hash2</key>
<data>
Z66X8hx8Gshx78fqK+jNWxUrc/JeYNJ6tDNoGIJlnfI=
</data>
</dict>
<key>Headers/CHBBanner.h</key>
<dict>
<key>hash</key>
<data>
AR9un6+2AfRyuX+HjVP2CyyRGvM=
</data>
<key>hash2</key>
<data>
0oJSi3vUqPuYWfn/dJ8uBxE/o3pAVL2/Ddqe6ehLMqY=
</data>
</dict>
<key>Headers/CHBDataUseConsent.h</key>
<dict>
<key>hash</key>
<data>
Rl93NbPPkOhFjclwFJ+YgsNJGz8=
</data>
<key>hash2</key>
<data>
Masw0wruSwoql2Xd7feu12tHKpT2YA/fVKl/Kd2kp9g=
</data>
</dict>
<key>Headers/CHBInterstitial.h</key>
<dict>
<key>hash</key>
<data>
j+6Io5e3N5V2bHmvF8NF06ojVvw=
</data>
<key>hash2</key>
<data>
Fmm8Nlf2Ho5AYkMQMgdhcT6RpSTgD5vKGcZnXTtxcLc=
</data>
</dict>
<key>Headers/CHBMediation.h</key>
<dict>
<key>hash</key>
<data>
f/qPODbJN5IX2h0CjWE/Wk+B7QY=
</data>
<key>hash2</key>
<data>
jFjB4AZG96k08Mr7dGh0IqHx44wJaMj6k5u8B1502cs=
</data>
</dict>
<key>Headers/CHBRewarded.h</key>
<dict>
<key>hash</key>
<data>
rX362tL3ko4Le4/eA+4fb0mThUM=
</data>
<key>hash2</key>
<data>
mpVM/xOTDlLGet5ePmpB13q1R55cQ3KHkyA6lX5z+Xo=
</data>
</dict>
<key>Headers/Chartboost.h</key>
<dict>
<key>hash</key>
<data>
eFeAPjweXjdytKoh0mwt1HH2igE=
</data>
<key>hash2</key>
<data>
/+uAcoCjE9tvOwY6euFNt8XOHHP+ldtnoBqLQ6WwUp0=
</data>
</dict>
<key>Headers/ChartboostSDK-Swift.h</key>
<dict>
<key>hash</key>
<data>
V0CGLgoztGoPUqM2ghcoIFlx+14=
</data>
<key>hash2</key>
<data>
UinD73IXcT80gbYpHA4HKPpHNB/VytOJOE+jb/FrauE=
</data>
</dict>
<key>Headers/ChartboostSDK.h</key>
<dict>
<key>hash</key>
<data>
vIvNxaYm+maQHuy7Orh4Y03IL20=
</data>
<key>hash2</key>
<data>
0x3fNm0M2yRnw7Nie71m+Dt3YlmCKz7gvPDakejMaOM=
</data>
</dict>
<key>Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
<dict>
<key>hash</key>
<data>
vMknqpOE8hUonWZX4QO853QWNVo=
</data>
<key>hash2</key>
<data>
8/XB2ohW/gFR89PbX9r3+IXmkb2D7he4QizCca2DZBs=
</data>
</dict>
<key>Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
<dict>
<key>hash</key>
<data>
CPoN6TlnVvWK3fJTD+aFrivi/pE=
</data>
<key>hash2</key>
<data>
uUX9MB/vLMvhU3pplnVPSb3gaqhmQUAOzrm5nMxzMf8=
</data>
</dict>
<key>Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
<dict>
<key>hash</key>
<data>
wlk3zn9TP2077S7l3GWH5QptklI=
</data>
<key>hash2</key>
<data>
HKsm+dYyzysIfU84qO2qZkT6QYxt0HQAot4baVN4xMk=
</data>
</dict>
<key>Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
<dict>
<key>hash</key>
<data>
CPoN6TlnVvWK3fJTD+aFrivi/pE=
</data>
<key>hash2</key>
<data>
uUX9MB/vLMvhU3pplnVPSb3gaqhmQUAOzrm5nMxzMf8=
</data>
</dict>
<key>Modules/ChartboostSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
<dict>
<key>hash</key>
<data>
aYlPDt7vhcXlXq9gCHdlC+30sb0=
</data>
<key>hash2</key>
<data>
3/6+JhInqvFXahUCymVJXEUkL08zAVUzAXJS7MyZs9A=
</data>
</dict>
<key>Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
<dict>
<key>hash</key>
<data>
vMknqpOE8hUonWZX4QO853QWNVo=
</data>
<key>hash2</key>
<data>
8/XB2ohW/gFR89PbX9r3+IXmkb2D7he4QizCca2DZBs=
</data>
</dict>
<key>Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
<dict>
<key>hash</key>
<data>
mvBSFjGSNtlaSls1i6BZDB0wA+w=
</data>
<key>hash2</key>
<data>
2ALQitxuktgMfDVyvw3eg+N0MGAU7J1Mn7dQ47hV8ZY=
</data>
</dict>
<key>Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
<dict>
<key>hash</key>
<data>
21HWohH51gcQJMcqr1D1R5bKIkU=
</data>
<key>hash2</key>
<data>
gxnd6b9vDBRbEtSNTjzgCtfzbypU/DQKY3el+k9K83g=
</data>
</dict>
<key>Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
<dict>
<key>hash</key>
<data>
mvBSFjGSNtlaSls1i6BZDB0wA+w=
</data>
<key>hash2</key>
<data>
2ALQitxuktgMfDVyvw3eg+N0MGAU7J1Mn7dQ47hV8ZY=
</data>
</dict>
<key>Modules/ChartboostSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
<dict>
<key>hash</key>
<data>
OR4IMJdap7ywupjpR30Bwtg+f+Q=
</data>
<key>hash2</key>
<data>
/rUJppGyMaA8ossAdgazmEuEmkiGERx2n+z7hVED6vs=
</data>
</dict>
<key>Modules/module.modulemap</key>
<dict>
<key>hash</key>
<data>
nFHhKUqbFTMiqx019DJWgXlTob0=
</data>
<key>hash2</key>
<data>
O8T1cENekr25WaGkoUt+4DYoDLgbX7PeJBZ1qdL75X4=
</data>
</dict>
<key>PrivacyInfo.xcprivacy</key>
<dict>
<key>hash</key>
<data>
4Q6ZldxeYHcejcuGiVOZBPEZtpU=
</data>
<key>hash2</key>
<data>
w1gG3A84IZBAWL0PiMF7xI6l8RpAbQqqdo4/p2ZOckA=
</data>
</dict>
<key>PrivateHeaders/ChartboostOMID.h</key>
<dict>
<key>hash</key>
<data>
wI1v8d5v8RTMNQXuHZQ/IzE3Few=
</data>
<key>hash2</key>
<data>
Rc4wzWx6hHyymS3qlPtxSaERsFPMn/7I3s7agVEGtUc=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>22G91</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleIdentifier</key>
<string>com.chartboost.ChartboostSDKResources</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>ChartboostSDKResources</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>14B47b</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>13.0</string>
<key>DTSDKBuild</key>
<string>22A372</string>
<key>DTSDKName</key>
<string>macosx13.0</string>
<key>DTXcode</key>
<string>1410</string>
<key>DTXcodeBuild</key>
<string>14B47b</string>
<key>LSMinimumSystemVersion</key>
<string>10.15</string>
<key>UIDeviceFamily</key>
<array>
<integer>2</integer>
</array>
</dict>
</plist>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,78 @@
;(function(omidGlobal) {
'use strict';var n;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function p(a){var b='undefined'!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}}function q(a){if(!(a instanceof Array)){a=p(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}var ba='function'==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},ca;
if('function'==typeof Object.setPrototypeOf)ca=Object.setPrototypeOf;else{var da;a:{var ea={T:!0},fa={};try{fa.__proto__=ea;da=fa.T;break a}catch(a){}da=!1}ca=da?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+' is not extensible');return a}:null}var ha=ca;
function r(a,b){a.prototype=ba(b.prototype);a.prototype.constructor=a;if(ha)ha(a,b);else for(var c in b)if('prototype'!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c]}function ia(a){a=['object'==typeof window&&window,'object'==typeof self&&self,'object'==typeof global&&global,a];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}return globalThis}
var u=ia(this),ja='function'==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};function v(a,b){if(b){var c=u;a=a.split('.');for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ja(c,a,{configurable:!0,writable:!0,value:b})}}v('globalThis',function(a){return a||u});function x(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
var ka='function'==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)x(d,e)&&(a[e]=d[e])}return a};v('Object.assign',function(a){return a||ka});function la(){la=function(){};u.Symbol||(u.Symbol=ma)}function na(a,b){this.a=a;ja(this,'description',{configurable:!0,writable:!0,value:b})}na.prototype.toString=function(){return this.a};
var ma=function(){function a(c){if(this instanceof a)throw new TypeError('Symbol is not a constructor');return new na('jscomp_symbol_'+(c||'')+'_'+b++,c)}var b=0;return a}();function oa(){la();var a=u.Symbol.iterator;a||(a=u.Symbol.iterator=u.Symbol('Symbol.iterator'));'function'!=typeof Array.prototype[a]&&ja(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return pa(aa(this))}});oa=function(){}}function pa(a){oa();a={next:a};a[u.Symbol.iterator]=function(){return this};return a}
v('WeakMap',function(a){function b(h){this.a=(g+=Math.random()+1).toString();if(h){h=p(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}}function c(){}function d(h){var k=typeof h;return'object'===k&&null!==h||'function'===k}function e(h){if(!x(h,l)){var k=new c;ja(h,l,{value:k})}}function f(h){var k=Object[h];k&&(Object[h]=function(m){if(m instanceof c)return m;e(m);return k(m)})}if(function(){if(!a||!Object.seal)return!1;try{var h=Object.seal({}),k=Object.seal({}),m=new a([[h,2],[k,
3]]);if(2!=m.get(h)||3!=m.get(k))return!1;m.delete(h);m.set(k,4);return!m.has(h)&&4==m.get(k)}catch(t){return!1}}())return a;var l='$jscomp_hidden_'+Math.random();f('freeze');f('preventExtensions');f('seal');var g=0;b.prototype.set=function(h,k){if(!d(h))throw Error('Invalid WeakMap key');e(h);if(!x(h,l))throw Error('WeakMap key fail: '+h);h[l][this.a]=k;return this};b.prototype.get=function(h){return d(h)&&x(h,l)?h[l][this.a]:void 0};b.prototype.has=function(h){return d(h)&&x(h,l)&&x(h[l],this.a)};
b.prototype.delete=function(h){return d(h)&&x(h,l)&&x(h[l],this.a)?delete h[l][this.a]:!1};return b});
v('Map',function(a){function b(){var g={};return g.A=g.next=g.head=g}function c(g,h){var k=g.a;return pa(function(){if(k){for(;k.head!=g.a;)k=k.A;for(;k.next!=k.head;)return k=k.next,{done:!1,value:h(k)};k=null}return{done:!0,value:void 0}})}function d(g,h){var k=h&&typeof h;'object'==k||'function'==k?f.has(h)?k=f.get(h):(k=''+ ++l,f.set(h,k)):k='p_'+h;var m=g.b[k];if(m&&x(g.b,k))for(g=0;g<m.length;g++){var t=m[g];if(h!==h&&t.key!==t.key||h===t.key)return{id:k,list:m,index:g,s:t}}return{id:k,list:m,
index:-1,s:void 0}}function e(g){this.b={};this.a=b();this.size=0;if(g){g=p(g);for(var h;!(h=g.next()).done;)h=h.value,this.set(h[0],h[1])}}if(function(){if(!a||'function'!=typeof a||!a.prototype.entries||'function'!=typeof Object.seal)return!1;try{var g=Object.seal({x:4}),h=new a(p([[g,'s']]));if('s'!=h.get(g)||1!=h.size||h.get({x:4})||h.set({x:4},'t')!=h||2!=h.size)return!1;var k=h.entries(),m=k.next();if(m.done||m.value[0]!=g||'s'!=m.value[1])return!1;m=k.next();return m.done||4!=m.value[0].x||
't'!=m.value[1]||!k.next().done?!1:!0}catch(t){return!1}}())return a;oa();var f=new WeakMap;e.prototype.set=function(g,h){g=0===g?0:g;var k=d(this,g);k.list||(k.list=this.b[k.id]=[]);k.s?k.s.value=h:(k.s={next:this.a,A:this.a.A,head:this.a,key:g,value:h},k.list.push(k.s),this.a.A.next=k.s,this.a.A=k.s,this.size++);return this};e.prototype.delete=function(g){g=d(this,g);return g.s&&g.list?(g.list.splice(g.index,1),g.list.length||delete this.b[g.id],g.s.A.next=g.s.next,g.s.next.A=g.s.A,g.s.head=null,
this.size--,!0):!1};e.prototype.clear=function(){this.b={};this.a=this.a.A=b();this.size=0};e.prototype.has=function(g){return!!d(this,g).s};e.prototype.get=function(g){return(g=d(this,g).s)&&g.value};e.prototype.entries=function(){return c(this,function(g){return[g.key,g.value]})};e.prototype.keys=function(){return c(this,function(g){return g.key})};e.prototype.values=function(){return c(this,function(g){return g.value})};e.prototype.forEach=function(g,h){for(var k=this.entries(),m;!(m=k.next()).done;)m=
m.value,g.call(h,m[1],m[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var l=0;return e});v('Object.values',function(a){return a?a:function(b){var c=[],d;for(d in b)x(b,d)&&c.push(b[d]);return c}});
v('Set',function(a){function b(c){this.a=new Map;if(c){c=p(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.a.size}if(function(){if(!a||'function'!=typeof a||!a.prototype.entries||'function'!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(p([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||
f.value[1]!=f.value[0]?!1:e.next().done}catch(l){return!1}}())return a;oa();b.prototype.add=function(c){c=0===c?0:c;this.a.set(c,c);this.size=this.a.size;return this};b.prototype.delete=function(c){c=this.a.delete(c);this.size=this.a.size;return c};b.prototype.clear=function(){this.a.clear();this.size=0};b.prototype.has=function(c){return this.a.has(c)};b.prototype.entries=function(){return this.a.entries()};b.prototype.values=function(){return this.a.values()};b.prototype.keys=b.prototype.values;
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.a.forEach(function(f){return c.call(d,f,f,e)})};return b});v('Object.is',function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});v('Array.prototype.includes',function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
v('Object.entries',function(a){return a?a:function(b){var c=[],d;for(d in b)x(b,d)&&c.push([d,b[d]]);return c}});
var y={ta:'loaded',Aa:'start',ma:'firstQuartile',va:'midpoint',Ba:'thirdQuartile',ka:'complete',wa:'pause',ya:'resume',ja:'bufferStart',ia:'bufferFinish',za:'skipped',Da:'volumeChange',xa:'playerStateChange',fa:'adUserInteraction'},qa={pa:'generic',Ca:'video',ua:'media'},ra={S:'native',qa:'html',R:'javascript'},ta={S:'native',R:'javascript',NONE:'none'},ua={oa:'full',la:'domain',sa:'limited'},va={ha:'backgrounded',na:'foregrounded'},wa={ga:'app',Ea:'web'};function z(a,b){this.x=null!=a.x?a.x:a.left;this.y=null!=a.y?a.y:a.top;this.width=a.width;this.height=a.height;this.endX=this.x+this.width;this.endY=this.y+this.height;this.adSessionId=a.adSessionId||void 0;this.isFriendlyObstructionFor=a.isFriendlyObstructionFor||[];this.b=a.friendlyObstructionClass||void 0;this.c=a.friendlyObstructionPurpose||void 0;this.f=a.friendlyObstructionReason||void 0;this.clipsToBounds=void 0!==a.clipsToBounds?!0===a.clipsToBounds:!0;this.g=void 0!==a.hasWindowFocus?!0===
a.hasWindowFocus:!0;this.notVisibleReason=a.notVisibleReason||void 0;this.noOutputDevice=a.noOutputDevice||void 0;this.childViews=a.childViews||[];this.isCreative=a.isCreative||!1;this.a=b}function xa(a){var b={};return b.width=a.width,b.height=a.height,b}function A(a){var b={};return Object.assign({},xa(a),(b.x=a.x,b.y=a.y,b))}function ya(a){var b=A(a),c={};return Object.assign({},b,(c.endX=a.endX,c.endY=a.endY,c))}function za(a,b,c){a.x+=b;a.y+=c;a.endX+=b;a.endY+=c}
z.prototype.I=function(a){if(null==a)return!1;a=A(a);var b=a.y,c=a.width,d=a.height;return this.x===a.x&&this.y===b&&this.width===c&&this.height===d};function Aa(a){return a.width*a.height}function Ba(a){return 0===a.width||0===a.height};function Ca(a,b){var c=0;if(0<b.length){var d=Da(a,b);a=d.da;d=d.ea;for(var e=0;e<a.length-1;e++)for(var f=(a[e]+(a[e]+1))/2,l=a[e+1]-a[e],g=0;g<d.length-1;g++){for(var h=(d[g]+(d[g]+1))/2,k=d[g+1]-d[g],m=!1,t=0;t<b.length;t++){var w=A(b[t]);if(w.x<f&&w.x+w.width>f&&w.y<h&&w.y+w.height>h){m=!0;break}}m&&(c+=Math.round(l)*Math.round(k))}}return c}
function Da(a,b){a=A(a);for(var c=[],d=[],e=0;e<b.length;e++){var f=A(b[e]);f=Ea(a,f);Fa(c,f.x);Fa(c,f.endX);Fa(d,f.y);Fa(d,f.endY)}c=c.sort(function(l,g){return l-g});d=d.sort(function(l,g){return l-g});return{da:c,ea:d}}function Ea(a,b){return{x:Math.max(a.x,b.x),y:Math.max(a.y,b.y),endX:Math.min(a.x+a.width,b.x+b.width),endY:Math.min(a.y+a.height,b.y+b.height)}}function Fa(a,b){-1===a.indexOf(b)&&a.push(b)};function Ga(){this.b=this.a=this.v=this.l=this.g=this.j=void 0;this.m=0;this.h=[];this.o=[];this.u=0;this.i=[];this.c=[];this.f=[]}Ga.prototype.I=function(a){return null==a?!1:JSON.stringify(Ha(this))===JSON.stringify(Ha(a))};
function Ha(a){var b=[],c=[],d={viewport:a.j,adView:{percentageInView:a.m,pixelsInView:a.u,reasons:a.f},declaredFriendlyObstructions:a.h.length};if(void 0!==a.a){d.adView.geometry=A(a.a);d.adView.geometry.pixels=Aa(a.a);d.adView.onScreenGeometry=A(a.b);d.adView.onScreenGeometry.pixels=Math.max(0,Aa(a.b)-Ca(a.b,a.c));for(var e=0;e<a.c.length;e++)b.push(A(a.c[e]));for(e=0;e<a.o.length;e++){var f=a.o[e],l=f,g={};l.b&&(g.obstructionClass=l.b);l.c&&(g.obstructionPurpose=l.c);l.f&&(g.obstructionReason=
l.f);f=Ea(a.a,f);c.push(Object.assign({},{x:f.x,y:f.y,width:f.endX-f.x,height:f.endY-f.y},g))}d.adView.onScreenGeometry.obstructions=b;d.adView.onScreenGeometry.friendlyObstructions=c;void 0!==a.l&&void 0!==a.v&&(d.adView.containerGeometry=A(a.l),d.adView.onScreenContainerGeometry=A(a.v),d.adView.measuringElement=!0)}return d}function Ia(a,b){b=xa(b);a.j={};a.j.width=b.width;a.j.height=b.height;a.g={};a.g.x=0;a.g.y=0;a.g.width=b.width;a.g.height=b.height;a.g.endX=b.width;a.g.endY=b.height}
function Ja(){return{x:0,y:0,endX:0,endY:0,width:0,height:0}}function Ka(a,b){var c={};c.x=Math.max(a.x,b.x);c.y=Math.max(a.y,b.y);c.endX=Math.min(a.endX,b.endX);c.endY=Math.min(a.endY,b.endY);c.width=Math.max(0,c.endX-c.x);c.height=Math.max(0,c.endY-c.y);return c}function La(a,b){return.01<b.width-a.width||.01<b.height-a.height}function Ma(a){if(-1!==a.f.indexOf('backgrounded'))a.m=0,a.u=0;else{var b=Aa(a.a);if(0!==b){var c=Math.max(0,Aa(a.b)-Ca(a.b,a.c));a.m=Math.round(c/b*100);a.u=c}}}
function Na(a,b){if(Ba(b)||!a.b)b=!1;else{var c=ya(a.b),d=c.y,e=c.endX;a=c.endY;var f=b.endX;c=c.x;(f=f<c||.01>Math.abs(f-c))||(f=b.x,f=f>e||.01>Math.abs(f-e));(e=f)||(e=b.endY,e=e<d||.01>Math.abs(e-d));(d=e)||(b=b.y,d=b>a||.01>Math.abs(b-a));b=!d}return b}function B(a,b){for(var c=!1,d=0;d<a.f.length;d++)a.f[d]===b&&(c=!0);c||a.f.push(b)};function Oa(a,b,c,d,e){var f=new Ga;b=new z(b,!1);Ia(f,b);Pa(a,b,f,d);if(!e)return f.f=['unmeasurable'],f.j=void 0,f.m=0,f.c=[],f.a&&(a=f.a,c={},a=new z((c.x=0,c.y=0,c.width=a.width,c.height=a.height,c),a.a),f.a=a),f.b=Ja(),f;b.noOutputDevice&&(B(f,'backgrounded'),B(f,'noOutputDevice'));if('backgrounded'===c)B(f,'backgrounded');else if(void 0!==f.a){for(a=0;a<f.h.length;a++)Na(f,f.h[a])&&f.o.push(f.h[a]);for(a=0;a<f.i.length;a++){if(c=Na(f,f.i[a])){a:{c=f.i[a];for(d=0;d<f.c.length;d++)if(f.c[d].I(c)){c=
!0;break a}c=!1}c=!c}c&&(B(f,'obstructed'),f.c.push(f.i[a]))}Ma(f)}else B(f,'notFound');return f}
function Pa(a,b,c,d){var e=b.isCreative?!0:b.adSessionId===d;if(e){c.a=b;var f=ya(c.a);a=Ka(c.g,f);var l=c.a;'notAttached'===l.notVisibleReason||'noWindowFocus'===l.notVisibleReason||'noAdView'===l.notVisibleReason?(B(c,'notFound'),c.b=new z(Ja(),!1)):(l=c.a,'viewInvisible'===l.notVisibleReason||'viewGone'===l.notVisibleReason||'viewNotVisible'===l.notVisibleReason||'viewAlphaZero'===l.notVisibleReason||'viewHidden'===l.notVisibleReason||void 0!==c.a.notVisibleReason||Ba(c.a)?(B(c,'hidden'),c.b=new z(Ja(),
!1)):(c.a.g||(B(c,'backgrounded'),B(c,'noWindowFocus')),La(a,f)&&B(c,'clipped'),c.b=new z(a,!1)))}else if(f=!0,b.a&&(f=-1!==b.isFriendlyObstructionFor.indexOf(d)?!1:!1===b.clipsToBounds),f){l=b.childViews;for(var g=0;g<l.length;g++)f=void 0!==c.a,Pa(a,new z(l[g],f),c,d)}e||void 0===c.a||(b.a?-1!==b.isFriendlyObstructionFor.indexOf(d)?c.h.push(b):c.i.push(b):(e=ya(b),d=ya(c.b),A(c.b),!Ba(c.b)&&b.clipsToBounds&&(b=Ka(d,e),La(b,d)&&(B(c,'clipped'),c.b=new z(b,!1)))))};function Qa(a,b){this.y=this.x=0;this.width=a;this.height=b};function Ra(){return{apiVersion:'1.0',accessMode:'limited',environment:'app',omidJsInfo:{omidImplementer:'omsdk',serviceVersion:'1.4.2-iab3703'}}}function Sa(){this.adSessionId=null;this.c=Ra();this.v=null;this.u='foregrounded';this.l=this.i='none';this.j=this.g=this.f=this.h=this.a=this.b=this.C=this.D=null;this.B=!0;this.m=new Map;this.H=!1;this.o=null}var C;function D(){C||(C=new Sa);return C}
function Ta(){C.adSessionId=null;C.c=Ra();C.v=null;C.G=void 0;C.ra=void 0;C.K=null;C.M=null;C.F=null;C.u='foregrounded';C.i='none';C.l='none';C.D=null;C.C=null;C.b=null;C.a=null;C.h=null;C.f=null;C.g=null;C.j=null;C.B=!0;C.m=new Map;C.H=!1;C.o=null};var F=function(){if('undefined'!==typeof omidGlobal&&omidGlobal)return omidGlobal;if('undefined'!==typeof global&&global)return global;if('undefined'!==typeof window&&window)return window;if('undefined'!==typeof globalThis&&globalThis)return globalThis;var a=Function('return this')();if(a)return a;throw Error('Could not determine global object context.');}();function Ua(a,b){this.a=a;this.b=b}u.Object.defineProperties(Ua.prototype,{event:{configurable:!0,enumerable:!0,get:function(){return this.a}},origin:{configurable:!0,enumerable:!0,get:function(){return this.b}}});function G(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];Va(function(){throw new (Function.prototype.bind.apply(Error,[null,'Could not complete the test successfully - '].concat(q(b))));},function(){return console.error.apply(console,q(b))})}function Wa(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];Va(function(){},function(){return console.error.apply(console,q(b))})}
function Va(a,b){'undefined'!==typeof jasmine&&jasmine?a():'undefined'!==typeof console&&console&&console.error&&b()};function Xa(){this.f=[];this.b=[];this.c=[];this.g=[];this.h={};this.a=D()}function Ya(a){a.f=[];a.b=[];a.c=[];a.g=[]}function Za(a,b){if(void 0!==a.a&&a.a.adSessionId&&!1!==$a(a,b)){var c=b.event;a.c.filter(function(d){return d.type===c.type}).forEach(function(d){return H(a,d,c)})}}function ab(a,b){a.f.push(b);Za(a,b)}function bb(a,b,c){void 0!==a.a&&a.a.adSessionId&&a.f.filter(function(d){return d.event.type===b&&$a(a,d)}).map(function(d){return d.event}).forEach(function(d){H(a,c,d)})}
function $a(a,b){var c=b.event.type,d=-1!==Object.values(y).indexOf(c)&&'volumeChange'!==c;return'impression'===c||'loaded'===c&&a.a.a?b.origin===D().l:d?b.origin===D().i:!0}function cb(a,b,c,d){'media'===b||'video'===b?db(a,c,d):(c={type:b,J:d,L:c},a.c.push(c),bb(a,b,c))}function db(a,b,c){Object.keys(y).forEach(function(d){d=y[d];var e={type:d,J:c,L:b};a.c.push(e);bb(a,d,e)})}
function eb(a,b,c,d){var e={P:c,J:d,L:b};a.g.push(e);a.b.forEach(function(f){var l=fb(f);'sessionStart'===f.event.type&&gb(a,l,e);H(a,e,l)})}function hb(a,b,c){var d=I(a,'sessionError','native',{errorType:b,message:c});a.b.push(d);a.g.forEach(function(e){H(a,e,d.event)})}
function ib(a,b){a.h=Object.assign(a.h,b);b=a.a.c;if(void 0!==b){b=Object.assign({},jb(a,kb(a,lb(a,{context:b}),!0)),{supportsLoadedEvent:!!a.a.a||'video'==a.a.b});Object.assign(b,{pageUrl:null,contentUrl:a.a.v});var c=I(a,'sessionStart','native',b);a.b.push(c);a.g.forEach(function(d){var e=fb(c);gb(a,e,d);H(a,d,e)},a);mb(a)}}
function gb(a,b,c){c.P&&(b.data.verificationParameters=a.h[c.P]);c.J&&(c=a.a.m.get(c.J))&&(b.data.verificationParameters=c.verificationParameters,b.data.context.accessMode=c.accessMode,'full'===c.accessMode&&(a.a.g&&(b.data.context.videoElement=a.a.g),a.a.f&&(b.data.context.slotElement=a.a.f)))}function nb(a){var b=a.g,c=I(a,'sessionFinish','native');a.b.push(c);var d=a.a.c;(d=!d||'native'!==d.adSessionType)&&Ya(a);b.forEach(function(e){return H(a,e,c.event)});d&&(a.h={},Ta(),Ta())}
function H(a,b,c){var d=b.L;b=b.J;!b||a.a.m.has(b)||a.a.H?a.i(d,c):G('Listener/observer not called, probably because it was added after its intended ad session had already finished.')}Xa.prototype.i=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];try{a.apply(null,q(c))}catch(e){Wa(e)}};function ob(a,b){var c=(c=D().F)?Ha(c):void 0;c=kb(a,lb(a,c));ab(a,I(a,'impression',b,c))}
function pb(a,b,c){if(a.a.a||'display'!=a.a.b)b=I(a,'loaded',b,kb(a,lb(a,void 0===c?null:c))),ab(a,b)}function qb(a,b,c,d){'start'!==b&&'volumeChange'!==b||null!=(d&&d.deviceVolume)||(d.deviceVolume=a.a.D);if(d&&('start'===b||'volumeChange'===b)){var e=d.videoPlayerVolume,f=d.mediaPlayerVolume;null!=e?(Object.assign(d,{mediaPlayerVolume:e}),a.a.C=e):null!=f&&(Object.assign(d,{videoPlayerVolume:f}),a.a.C=f)}ab(a,I(a,b,c,d))}
function mb(a){var b=a.f.filter(function(f){return Object.values(y).includes(f.event.type)&&'video'==a.a.b&&f.origin===a.a.i||'loaded'==f.event.type&&'display'==a.a.b&&f.origin===a.a.l?!0:!1}).map(function(f){return f.event}),c=a.a.adSessionId||'',d={};b=p(b);for(var e=b.next();!e.done;d={w:d.w},e=b.next()){d.w=e.value;d.w.adSessionId||(d.w.adSessionId=c);if('loaded'==d.w.type){if(!a.a.a&&'display'==a.a.b)continue;d.w.data=kb(a,lb(a,d.w.data))}a.c.filter(function(f){return function(l){return l.type===
f.w.type}}(d)).forEach(function(f){return function(l){return l.L(f.w)}}(d))}}function rb(a,b,c){a:{c=new Set(c);a=p(a.f.concat(a.b));for(var d=a.next();!d.done;d=a.next())if(d=d.value,c.has(d.event.type)&&d.origin!=b){b=!0;break a}b=!1}return b?(G('Event owner cannot be registered after its events have already been published.'),!1):!0}function sb(a,b){rb(a,b,Object.values(y))&&K(a,b)&&(a.a.i=b)}function tb(a,b){rb(a,b,['impression'])&&ub(a,b)&&(a.a.l=b)}
function ub(a,b){var c=a.a.l;return'none'!=c&&c!=b?(G('Impression event is owned by '+(a.a.l+', not ')+(b+'.')),!1):!0}function K(a,b){var c=a.a.i;return'none'!=c&&c!=b?(G('Media events are owned by '+(a.a.i+', not '+b+'.')),!1):!0}function kb(a,b,c){c=void 0===c?!1:c;b=Object.assign({},b);a.a.b&&Object.assign(b,{mediaType:a.a.b});a.a.a&&(c||'definedByJavaScript'!==a.a.a)&&Object.assign(b,{creativeType:a.a.a});return b}function jb(a,b){return a.a.o?Object.assign(b,{lastActivity:a.a.o}):b}
function lb(a,b){return a.a.h?Object.assign({},b,{impressionType:a.a.h}):b}function I(a,b,c,d){return new Ua({adSessionId:a.a.adSessionId||'',timestamp:(new Date).getTime(),type:b,data:d},c)}function fb(a){a=a.event;var b=a.data?Object.assign({},a.data):void 0;'sessionStart'===a.type&&(b.context=Object.assign({},b.context));return{adSessionId:a.adSessionId,timestamp:a.timestamp,type:a.type,data:b}};function vb(a,b,c){'container'===b&&void 0!==a.a.G&&void 0!==a.a&&null!=a.a.adSessionId&&(a.a.K=Oa(a.c,a.a.G,a.a.u,a.a.adSessionId,!0));b=a.a;var d=b.K,e=b.M;if(d)if(e){b=new Ga;var f=d.j,l=d.a,g=d.b,h=e.a,k=e.b;f&&l&&g&&h&&k&&(Ia(b,f),b.l=new z(l,!1),b.v=new z(g,!1),b.i=Object.assign([],d.i),b.c=Object.assign([],d.c),b.h=Object.assign([],d.h),b.o=Object.assign([],d.o),b.f=Object.assign([],e.f,d.f),d=b.l.x,e=b.l.y,h=new z(h,!1),k=new z(k,!1),za(h,d,e),za(k,d,e),b.a=h,b.b=Ka(k,g),Ma(b))}else b=d;else b=
null;g=a.a.F;if(b&&!b.I(g)||c)g=Ha(b),c&&(g.adView.reasons=g.adView.reasons||[c]),c=a.b,'audio'!=c.a.a&&ab(c,I(c,'geometryChange','native',g)),a.a.F=b};function L(a){return'object'===typeof a}function M(a){return'number'===typeof a&&!isNaN(a)&&0<=a}function N(a){return'string'===typeof a}function O(a,b){return N(a)&&-1!==Object.values(b).indexOf(a)}function wb(a){return!(!a||!a.tagName||'iframe'!==a.tagName.toLowerCase())};function P(a,b,c){this.f=a;this.K=b;this.F=c;this.c=D();this.b=null;this.a=this.g=this.u=void 0;this.H=!0;this.B=void 0;Q(this)}function Q(a){if(!a.b){var b;a:{if((b=a.f.document)&&b.getElementsByClassName&&(b=b.getElementsByClassName('omid-element'))){if(1==b.length){b=b[0];break a}1<b.length&&a.H&&(hb(a.F,'generic',"More than one element with 'omid-element' class name."),a.H=!1)}b=null}if(b&&b.tagName&&'video'===b.tagName.toLowerCase())a.c.g=b;else if(b&&b.tagName)a.c.f=b;else return;xb(a)}}
function xb(a){a.c.g?(a.b=a.c.g,a.i()):a.c.f&&(a.b=a.c.f,wb(a.b)?a.c.j&&a.i():a.i())}function yb(a){a.a&&(wb(a.b)?a.c.j&&(a.C(),zb(a)):(a.C(),zb(a)))}P.prototype.m=function(){this.B&&(this.f.document.removeEventListener('visibilitychange',this.B),this.B=void 0)};P.prototype.i=function(){};function zb(a){a.u&&(a.c.M=a.u,vb(a.K,'creative'))}function Ab(a){if(a.a&&a.c.j){var b=new z(a.c.j,!1);za(b,a.a.x,a.a.y);b.clipsToBounds=!0;return b}};function Bb(a,b,c){return Cb(a,'setInterval')(b,c)}function Db(a,b){Cb(a,'clearInterval')(b)}function Eb(a,b){Cb(a,'clearTimeout')(b)}function Cb(a,b){return a.a&&a.a[b]?a.a[b]:Fb(a,b)}
function Gb(a,b,c,d){if(a.a.document&&a.a.document.body){var e=a.a.document.createElement('img');e.width=1;e.height=1;e.style.display='none';e.src=b;c&&e.addEventListener('load',function(){return c()});d&&e.addEventListener('error',function(){return d()});a.a.document.body.appendChild(e)}else Fb(a,'sendUrl')(b,c,d)}function Fb(a,b){if(a.a&&a.a.omidNative&&a.a.omidNative[b])return a.a.omidNative[b].bind(a.a.omidNative);throw Error('Native interface method "'+b+'" not found.');};function R(a,b,c,d,e){P.call(this,a,c,e);this.l=b;this.h=void 0;this.j=d}r(R,P);R.prototype.m=function(){void 0!==this.h&&(Db(this.j,this.h),this.h=void 0);P.prototype.m.call(this)};R.prototype.i=function(){var a=this;P.prototype.i.call(this);null==this.b?this.h=void 0:void 0===this.h&&(this.h=Bb(this.j,function(){return Hb(a)},200),Hb(this))};
R.prototype.C=function(){if(this.g){var a=Ab(this);if(a){this.a.isCreative=!1;a.isCreative=!0;for(var b=!1,c=0;c<this.a.childViews.length;c++)if(this.a.childViews[c].isCreative){this.a.childViews[c]=a;b=!0;break}b||this.a.childViews.push(a)}else this.a.isCreative=!0;this.u=Oa(this.l,this.g,this.c.u,this.c.adSessionId,this.D())}};R.prototype.D=function(){return!0};
function Hb(a){if(void 0!==a.h){b:{try{var b=a.f.top;var c=0<=b.innerHeight&&0<=b.innerWidth;break b}catch(d){}c=!1}c?(c=a.f.top,c=new z(new Qa(c.innerWidth,c.innerHeight),!1)):c=new z(new Qa(0,0),!1);b=a.b.getBoundingClientRect();if(null==b.x||isNaN(b.x))b.x=b.left;if(null==b.y||isNaN(b.y))b.y=b.top;b=new z(b,!1);c.I(a.g)&&b.I(a.a)||(a.a=b,a.a.clipsToBounds=!0,a.g=c,a.g.childViews.push(a.a),yb(a))}};function S(a,b,c,d){P.call(this,a,c,d);this.o=this.j=this.l=this.h=void 0;this.G=!1;this.v=void 0}r(S,P);S.prototype.m=function(){this.h&&this.h.disconnect();Ib(this);P.prototype.m.call(this)};S.prototype.i=function(){P.prototype.i.call(this);this.b&&(this.h||(this.h=Jb(this)),Kb(this),Lb(this.b)&&Mb(this))};
S.prototype.C=function(){if(this.a&&this.v){var a=Ab(this);if(a){var b=a;var c=this.v;var d=Math.max(a.x,c.x);var e=Math.max(a.y,c.y),f=Math.min(a.endX,c.endX);a=Math.min(a.endY,c.endY);f<=d||a<=e?d=null:(c={},d=new z((c.x=d,c.y=e,c.width=Math.abs(f-d),c.height=Math.abs(a-e),c),!1));d||(d=new z({x:0,y:0,width:0,height:0},!1))}else b=this.a,d=this.v;e=new Ga;this.g&&Ia(e,this.g);e.a=b;e.b=d;Ma(e);this.G?Ba(e.a)?B(e,'hidden'):100===e.m||B(e,'clipped'):B(e,'viewport');this.u=e}};S.prototype.D=function(){return!0};
function Ib(a){a.l&&(a.l.disconnect(),a.l=void 0);a.j&&(a.j.disconnect(),a.j=void 0);a.o&&((0,a.f.removeEventListener)('resize',a.o),a.o=void 0)}function Kb(a){a.h&&a.b&&(a.h.unobserve(a.b),a.h.observe(a.b))}function Lb(a){a=a.getBoundingClientRect();return 0==a.width||0==a.height}
function Jb(a){return new a.f.IntersectionObserver(function(b){try{if(b.length){for(var c,d=b[0],e=1;e<b.length;e++)b[e].time>d.time&&(d=b[e]);c=d;a.g=Nb(c.rootBounds);a.a=Nb(c.boundingClientRect);a.v=Nb(c.intersectionRect);a.G=!!c.isIntersecting;yb(a)}}catch(f){a.m(),hb(a.F,'generic','Problem handling IntersectionObserver callback: '+f.message)}},{root:null,rootMargin:'0px',threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]})}
function Mb(a){a.f.ResizeObserver?a.l||(a.l=Ob(a,function(){return Pb(a)}),a.l.observe(a.b)):(a.o||(a.o=function(){return Pb(a)},(0,a.f.addEventListener)('resize',a.o)),a.j||(a.j=new MutationObserver(function(){return Pb(a)}),a.j.observe(a.b,{childList:!1,attributes:!0,subtree:!1})))}function Pb(a){a.b&&!Lb(a.b)&&(Kb(a),Ib(a))}function Ob(a,b){return new a.f.ResizeObserver(b)}function Nb(a){if(a&&null!==a.x&&null!==a.y&&null!==a.width&&null!==a.height)return new z(a,!1)};function Sb(a){return a&&L(a)?Object.entries(a).reduce(function(b,c){var d=p(c);c=d.next().value;d=d.next().value;return b&&N(c)&&null!=d&&L(d)&&N(d.resourceUrl)},!0):!1};function T(a,b,c,d){this.b=a;this.method=b;this.version=c;this.a=d}function Tb(a){return!!a&&void 0!==a.omid_message_guid&&void 0!==a.omid_message_method&&void 0!==a.omid_message_version&&'string'===typeof a.omid_message_guid&&'string'===typeof a.omid_message_method&&'string'===typeof a.omid_message_version&&(void 0===a.omid_message_args||void 0!==a.omid_message_args)}function Ub(a){return new T(a.omid_message_guid,a.omid_message_method,a.omid_message_version,a.omid_message_args)}
function Vb(a){var b={};b=(b.omid_message_guid=a.b,b.omid_message_method=a.method,b.omid_message_version=a.version,b);void 0!==a.a&&(b.omid_message_args=a.a);return b};function Wb(a){this.c=a};function U(a){this.c=a;this.handleExportedMessage=U.prototype.f.bind(this)}r(U,Wb);U.prototype.b=function(a,b){b=void 0===b?this.c:b;if(!b)throw Error('Message destination must be defined at construction time or when sending the message.');b.handleExportedMessage(Vb(a),this)};U.prototype.f=function(a,b){Tb(a)&&this.a&&this.a(Ub(a),b)};function Xb(a){return Yb(a,'SessionService.')}function Yb(a,b){return(a=a.match(new RegExp('^'+b+'(.*)')))&&a[1]};function Zb(a,b){this.c=b=void 0===b?F:b;var c=this;a.addEventListener('message',function(d){if('object'===typeof d.data){var e=d.data;Tb(e)&&d.source&&c.a&&c.a(Ub(e),d.source)}})}r(Zb,Wb);Zb.prototype.b=function(a,b){b=void 0===b?this.c:b;if(!b)throw Error('Message destination must be defined at construction time or when sending the message.');b.postMessage(Vb(a),'*')};function $b(){return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(a){var b=16*Math.random()|0;return'y'===a?(b&3|8).toString(16):b.toString(16)})};function ac(a){if(!a.a||!a.a.document)throw Error('OMID Service Script is not running within a window.');var b=a.b;a.b=[];b.forEach(function(c){try{var d=a.c.B?'limited':'full',e=O(c.accessMode,ua)?c.accessMode:null;var f=e?'full'==e&&'limited'==d?d:'domain'==e?'limited':e:d;c.accessMode=f;a:{var l=c.resourceUrl,g=a.a.location.origin;try{var h=new URL(l,g);break a}catch(X){}try{h=new URL(l);break a}catch(X){}h=null}if(d=h){var k=$b(),m=a.a.document,t=m.createElement('iframe');t.id='omid-verification-script-frame-'+
k;t.style.display='none';['full','limited'].includes(f)?t.srcdoc="<html><head>\n<script type=\"text/javascript\">window['omidVerificationProperties'] = {\n'serviceWindow': window.parent,\n'injectionSource': 'app',\n'injectionId': '"+(k+'\',\n};\x3c/script>\n<script type="text/javascript" src="')+d.href+'">\x3c/script>\n</head><body></body></html>':'domain'==f&&(t.src=bc(a,k,d).href);['domain','limited'].includes(f)&&(t.sandbox='allow-scripts');m.body.appendChild(t);var w=c.vendorKey,J=c.verificationParameters;
w=void 0===w?'':w;J=void 0===J?'':J;w&&'string'===typeof w&&''!==w&&J&&'string'===typeof J&&''!==J&&(a.f.h[w]=J);a.c.m.set(k,c)}}catch(X){Wa('OMID verification script '+c.resourceUrl+' failed to load: '+X)}})}
function bc(a,b,c){var d='/.well-known/omid/omloader-v1.html#';(new Map([['verificationScriptUrl',c.href],['injectionId',b]])).forEach(function(e,f){d+=encodeURIComponent(f)+'='+encodeURIComponent(e)+'&'});b=null;try{b=new URL(d,a.a.parent.location.origin)}catch(e){throw Error('OMID Service Script cannot access the parent window.');}return b};function cc(){var a=dc,b=ec,c=this;this.c=V;this.b=a;this.a=D();this.g=b;this.f=!1;this.registerSessionObserver(function(d){return fc(c,d)})}n=cc.prototype;n.registerSessionObserver=function(a){eb(this.c,a)};n.setSlotElement=function(a){a&&a.tagName?(this.a.f=a,this.b&&xb(this.b)):G('setSlotElement called with a non-HTMLElement. It will be ignored.')};n.setElementBounds=function(a){this.a.j=a;this.b&&xb(this.b);this.b&&yb(this.b)};n.error=function(a,b){hb(this.c,a,b)};
n.registerAdEvents=function(){tb(this.c,'javascript')};n.registerMediaEvents=function(){sb(this.c,'javascript')};function W(a,b,c){'impression'==b?ub(a.c,'javascript')&&(ob(a.c,'javascript'),a.b&&Q(a.b)):('loaded'==b?(c=void 0===c?null:c,K(a.c,'javascript')&&pb(a.c,'javascript',c)):K(a.c,'javascript')&&qb(a.c,b,'javascript',c),['loaded','start'].includes(b)&&a.b&&Q(a.b))}n.injectVerificationScriptResources=function(a){var b=this.g;b.b.push.apply(b.b,q(a));if(this.f)try{ac(this.g)}catch(c){G(c.message)}};
n.setCreativeType=function(a,b){b=void 0===b?null:b;if(!this.a.b||this.a.a)this.a.a=a,'video'==a||'audio'==a?this.a.b='video':'htmlDisplay'==a||'nativeDisplay'==a?this.a.b='display':'definedByJavaScript'==a&&b&&(this.a.b='none'==b?'display':'video')};n.setImpressionType=function(a){if(!this.a.b||this.a.a)this.a.h=a};
function fc(a,b){if('sessionStart'===b.type){a.f=!0;try{ac(a.g)}catch(c){G(c.message)}}'sessionFinish'===b.type&&(a.f=!1,(b=D().c)&&'native'==b.adSessionType||a.registerSessionObserver(function(c){return fc(a,c)}))}n.setClientInfo=function(a,b,c){var d=this.a.c||{};d.omidJsInfo=Object.assign({},d.omidJsInfo,{sessionClientVersion:a,partnerName:b,partnerVersion:c});this.a.c=d;return this.a.c.omidJsInfo.serviceVersion};function gc(a){return/\d+\.\d+\.\d+(-.*)?/.test(a)}function hc(a){a=a.split('-')[0].split('.');for(var b=['1','0','3'],c=0;3>c;c++){var d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d<e)return!1}return!0};function ic(a,b){return gc(a)&&hc(a)?b?b:[]:b&&'string'===typeof b?JSON.parse(b):[]};var jc=new function(){};function kc(){var a=lc;var b=void 0===b?omidGlobal:b;this.a=a;this.g=b;this.b=new U;this.g.omid=this.g.omid||{};this.g.omid.v1_SessionServiceCommunication=this.b;this.f=b&&b.addEventListener&&b.postMessage?new Zb(b):null;this.c=null;this.b.a=this.h.bind(this);this.f&&(this.f.a=this.i.bind(this))}kc.prototype.h=function(a,b){null!=Xb(a.method)&&mc(this,jc)&&nc(this,a,b,this.b)};kc.prototype.i=function(a,b){null!=Xb(a.method)&&mc(this,b)&&nc(this,a,b,this.f)};
function mc(a,b){a.c||(a.c=b);return a.c!=b?(G('The source of session client messages cannot be changed from the source of the first message.'),!1):!0}
function nc(a,b,c,d){function e(h){for(var k=[],m=0;m<arguments.length;++m)k[m]=arguments[m];k=new T(f,'response',g,gc(g)&&hc(g)?k:JSON.stringify(k));d.b(k,c)}var f=b.b,l=b.method,g=b.version;b=ic(g,b.a);try{oc(a,l,e,b)}catch(h){d.b(new T(f,'error',g,'\n name: '+h.name+'\n message: '+h.message+'\n filename: '+h.filename+'\n lineNumber: '+h.lineNumber+'\n columnNumber: '+h.columnNumber+'\n stack: '+h.stack+'\n toString(): '+h.toString()),c)}}
function oc(a,b,c,d){if(null!=Xb(b))switch(Xb(b)){case 'registerAdEvents':a.a.registerAdEvents();break;case 'registerMediaEvents':a.a.registerMediaEvents();break;case 'registerSessionObserver':a.a.registerSessionObserver(c);break;case 'setSlotElement':c=p(d).next().value;a.a.setSlotElement(c);break;case 'setVideoElement':c=p(d).next().value;a=a.a;c&&c.tagName&&'video'===c.tagName.toLowerCase()?(a.a.g=c,a.b&&xb(a.b)):G('setVideoElement called with a non-HTMLVideoElement. It will be ignored.');break;
case 'setElementBounds':c=p(d).next().value;a.a.setElementBounds(c);break;case 'startSession':G('Session start from JS is not supported in mobile app.');break;case 'finishSession':G('Session finish from JS is not supported in mobile app.');break;case 'impressionOccurred':W(a.a,'impression');break;case 'loaded':(c=p(d).next().value)?(b={skippable:c.isSkippable,autoPlay:c.isAutoPlay,position:c.position},c.isSkippable&&(b.skipOffset=c.skipOffset),W(a.a,'loaded',b)):W(a.a,'loaded');break;case 'start':b=
p(d);c=b.next().value;b=b.next().value;W(a.a,'start',{duration:c,mediaPlayerVolume:b});break;case 'firstQuartile':W(a.a,'firstQuartile');break;case 'midpoint':W(a.a,'midpoint');break;case 'thirdQuartile':W(a.a,'thirdQuartile');break;case 'complete':W(a.a,'complete');break;case 'pause':W(a.a,'pause');break;case 'resume':W(a.a,'resume');break;case 'bufferStart':W(a.a,'bufferStart');break;case 'bufferFinish':W(a.a,'bufferFinish');break;case 'skipped':W(a.a,'skipped');break;case 'volumeChange':c={mediaPlayerVolume:p(d).next().value};
W(a.a,'volumeChange',c);break;case 'playerStateChange':c={state:p(d).next().value};W(a.a,'playerStateChange',c);break;case 'adUserInteraction':c={interactionType:p(d).next().value};W(a.a,'adUserInteraction',c);break;case 'setClientInfo':var e=p(d);b=e.next().value;d=e.next().value;e=e.next().value;a=a.a.setClientInfo(b,d,e);c(a);break;case 'injectVerificationScriptResources':c=p(d).next().value;a.a.injectVerificationScriptResources(c);break;case 'setCreativeType':c=p(d).next().value;a.a.setCreativeType(c);
break;case 'setImpressionType':c=p(d).next().value;a.a.setImpressionType(c);break;case 'setContentUrl':c=p(d).next().value;a.a.a.v=c;break;case 'sessionError':b=p(d),c=b.next().value,b=b.next().value,a.a.error(c,b)}};function Z(){var a=V,b=pc,c=qc,d=dc;this.f=lc;this.b=a;this.c=b;this.h=c;this.g=d;this.a=D()}n=Z.prototype;
n.U=function(a){if(!(!(a&&L(a)&&O(a.impressionOwner,ta))||'videoEventsOwner'in a&&null!=a.videoEventsOwner&&!O(a.videoEventsOwner,ta)||'mediaEventsOwner'in a&&null!=a.mediaEventsOwner&&!O(a.mediaEventsOwner,ta))){if(a.creativeType&&a.impressionType){var b=a.mediaEventsOwner;null==this.a.a&&this.f.setCreativeType(a.creativeType,b);null==this.a.h&&(this.a.h=a.impressionType);sb(this.b,b)}else b=a.videoEventsOwner,this.a.b=null==b||'none'===b?'display':'video',this.a.a=null,this.a.h=null,sb(this.b,b);
tb(this.b,a.impressionOwner);a&&null!=a.isolateVerificationScripts&&'boolean'===typeof a.isolateVerificationScripts&&(this.a.B=a.isolateVerificationScripts)}};
n.X=function(a,b,c,d){var e;if(L(b)){if(e=O(b.environment,wa)&&O(b.adSessionType,ra))e=b.omidNativeInfo,e=L(e)?N(e.partnerName)&&N(e.partnerVersion):!1;e&&(e=b.app,e=L(e)?N(e.libraryVersion)&&N(e.appId):!1)}else e=!1;if(e){if(Sb(d)){e=p(Object.values(d));for(var f=e.next();!f.done;f=e.next())f.value.accessMode='limited';this.a.m=new Map(Object.entries(d))}else this.a.H=!0;d=this.f;c=void 0===c?null:c;null==a&&(a=$b());b.canMeasureVisibility=d.b.D();d.a.adSessionId=a;a=d.a;e=b;void 0!==e.contentUrl&&
(a.v=e.contentUrl,e.contentUrl=void 0);e=a.c||{};b.omidJsInfo=Object.assign({},e.omidJsInfo||{},b.omidJsInfo||{});e=b=Object.assign({},e,b);a.B||(null!=a.g?(e.videoElement=a.g,e.accessMode='full'):null!=a.f&&(e.slotElement=a.f,e.accessMode='full'));a.c=b;ib(d.c,c);d.b&&Q(d.b)}};n.V=function(){var a=this.f;nb(a.c);a.b.m()};n.ba=function(a){L(a)&&M(a.x)&&M(a.y)&&M(a.width)&&M(a.height)&&(this.a.G=a,vb(this.c,'container'))};
n.ca=function(a){O(a,va)&&(this.a.u=a,'backgrounded'===a?vb(this.c,'container','backgrounded'):vb(this.c,'container'))};n.Y=function(a){'impression'===a&&(this.N(),this.g&&Q(this.g))};n.N=function(){ub(this.b,'native')&&ob(this.b,'native')};n.W=function(a){a=void 0===a?null:a;K(this.b,'native')&&pb(this.b,'native',a)};n.error=function(a,b){O(a,qa)&&hb(this.b,a,b)};n.Z=function(a,b){this.O(a,b)};
n.O=function(a,b){K(this.b,'native')&&O(a,y)&&(void 0===b||L(b))&&('loaded'==a?pb(this.b,'native',b):qb(this.b,a,'native',b))};n.$=function(a){if('none'!==this.b.a.i&&'number'===typeof a&&!isNaN(a)){this.a.D=a;a=this.h;var b=a.a.C;null!=b&&qb(a.b,'volumeChange','native',{mediaPlayerVolume:b,deviceVolume:a.a.D})}};n.aa=function(a){if(a&&L(a)&&M(a.timestamp)){var b=(this.a.o||{}).timestamp;if(!b||b<a.timestamp)this.a.o=a}};Z.prototype.startSession=Z.prototype.X;Z.prototype.error=Z.prototype.error;
Z.prototype.finishSession=Z.prototype.V;Z.prototype.publishAdEvent=Z.prototype.Y;Z.prototype.publishImpressionEvent=Z.prototype.N;Z.prototype.publishVideoEvent=Z.prototype.Z;Z.prototype.publishMediaEvent=Z.prototype.O;Z.prototype.publishLoadedEvent=Z.prototype.W;Z.prototype.setNativeViewHierarchy=Z.prototype.ba;Z.prototype.setState=Z.prototype.ca;Z.prototype.setDeviceVolume=Z.prototype.$;Z.prototype.init=Z.prototype.U;Z.prototype.setLastActivity=Z.prototype.aa;function rc(){var a=V,b=sc;var c=void 0===c?F:c;this.g=a;this.a=b;this.h={};this.f={};this.c=new U;c.omid=c.omid||{};c.omid.v1_VerificationServiceCommunication=this.c;this.b=null;c&&c.addEventListener&&c.postMessage&&(this.b=new Zb(c));this.c.a=this.i.bind(this);this.b&&(this.b.a=this.j.bind(this))}function tc(a,b,c,d){Gb(a.a,b,c,d)}function uc(a,b,c,d){Fb(a.a,'downloadJavaScriptResource')(b,c,d)}rc.prototype.j=function(a,b){this.b&&vc(this,a,b,this.b)};rc.prototype.i=function(a,b){vc(this,a,b,this.c)};
function vc(a,b,c,d){function e(E){for(var Y=[],sa=0;sa<arguments.length;++sa)Y[sa]=arguments[sa];Y=new T(f,'response',g,gc(g)&&hc(g)?Y:JSON.stringify(Y));d.b(Y,c)}var f=b.b,l=b.method,g=b.version;b=ic(g,b.a);if(null!=Yb(l,'VerificationService.')){l=Yb(l,'VerificationService.');try{switch(l){case 'addEventListener':var h=p(b),k=h.next().value,m=h.next().value;cb(a.g,k,e,m);break;case 'addSessionListener':var t=p(b),w=t.next().value,J=t.next().value;eb(a.g,e,w,J);break;case 'sendUrl':var X=p(b).next().value;
tc(a,X,function(){return e(!0)},function(){return e(!1)});break;case 'setTimeout':var Qb=p(b),Ac=Qb.next().value,Bc=Qb.next().value;a.h[Ac]=Cb(a.a,'setTimeout')(e,Bc);break;case 'clearTimeout':var Cc=p(b).next().value;Eb(a.a,a.h[Cc]);break;case 'setInterval':var Rb=p(b),Dc=Rb.next().value,Ec=Rb.next().value;a.f[Dc]=Bb(a.a,e,Ec);break;case 'clearInterval':var Fc=p(b).next().value;Db(a.a,a.f[Fc]);break;case 'injectJavaScriptResource':var Gc=p(b).next().value;uc(a,Gc,function(E){return e(!0,E)},function(){return e(!1)});
break;case 'getVersion':p(b).next();var Hc=D().c.omidJsInfo;e(Hc.serviceVersion)}}catch(E){d.b(new T(f,'error',g,'\n name: '+E.name+'\n message: '+E.message+'\n filename: '+E.filename+'\n lineNumber: '+E.lineNumber+'\n columnNumber: '+E.columnNumber+'\n stack: '+E.stack+'\n toString(): '+E.toString()+'\n '),c)}}};function wc(){var a=F.document.createElement('iframe');a.id='omid_v1_present';a.name='omid_v1_present';a.style.display='none';F.document.body.appendChild(a)}function xc(){var a=new MutationObserver(function(b){b.forEach(function(c){'BODY'===c.addedNodes[0].nodeName&&(wc(),a.disconnect())})});a.observe(F.document.documentElement,{childList:!0})};var V=new Xa,sc=new function(){var a;this.a=a=void 0===a?omidGlobal:a};new rc;var yc=new function(){},zc=new function(){},pc=new function(){this.b=V;this.c=zc;this.a=D()},Ic;F?Ic=F.IntersectionObserver&&(F.MutationObserver||F.ResizeObserver)?new S(F,yc,pc,V):new R(F,zc,pc,sc,V):Ic=null;var dc=Ic,ec=new function(){var a=V;var b=void 0===b?F:b;this.f=a;this.a=b;this.c=D();this.b=[]},lc=new cc,qc=new function(){var a=V,b=D();this.b=a;this.a=b};F.omidBridge=new Z;new kc;
if(F.frames&&F.document&&!('omid_v1_present'in F.frames)){var Jc;if(Jc=null==F.document.body)Jc='MutationObserver'in F;Jc?xc():F.document.body?wc():F.document.write('<iframe style="display:none" id="omid_v1_present" name="omid_v1_present"></iframe>')};
}).call(this, this);

15
Pods/ChartboostSDK/README.md generated Normal file
View File

@ -0,0 +1,15 @@
# Chartboost Monetization SDK for iOS
*Version 9.7.0*
The Chartboost Monetization iOS SDK is the cornerstone of the Chartboost network. It provides the functionality for showing interstitial, rewarded and banner ads.
## Get Started
Visit our [documentation](https://docs.chartboost.com/en/monetization/get-started/) website to get more information con how to get started with our monetization sdk and check out our [integration](https://docs.chartboost.com/en/monetization/integrate/ios/get-started/) instructions.
## Example App
Check out our [example app](http://github.com/ChartBoost/ios-sdk-example/) which showcases how to integrate the Chartboost SDK.
## Contact Us
For any question please contact us [here](https://docs.chartboost.com/en/support/contact-us/).

View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>BinaryPath</key>
<string>ChartboostAdapter.framework/ChartboostAdapter</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>ChartboostAdapter.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>ChartboostAdapter.framework/ChartboostAdapter</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>ChartboostAdapter.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>

View File

@ -0,0 +1,16 @@
// Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

View File

@ -0,0 +1,9 @@
framework module ChartboostAdapter {
umbrella header "ChartboostAdapter.h"
export *
module * { export * }
link framework "Foundation"
link framework "UIKit"
}

View File

@ -0,0 +1,16 @@
// Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

View File

@ -0,0 +1,9 @@
framework module ChartboostAdapter {
umbrella header "ChartboostAdapter.h"
export *
module * { export * }
link framework "Foundation"
link framework "UIKit"
}

View File

@ -0,0 +1,8 @@
# Chartboost Mediation Adapter for Google Mobile Ads SDK for iOS
This is an adapter to be used in conjunction with the Google Mobile Ads SDK.
For requirements, instructions, and other info, see the
[Chartboost Adapter Integration Guide](https://developers.google.com/admob/ios/mediation/chartboost).
See the [changelog](https://developers.google.com/admob/ios/mediation/chartboost#chartboost-ios-mediation-adapter-changelog)
to view the version history.

11
Pods/Manifest.lock generated
View File

@ -35,12 +35,16 @@ PODS:
- BURelyFoundation_Global/Zip
- BURelyFoundation_Global/Zip (1.0.0.0):
- BURelyFoundation_Global/Foundation
- ChartboostSDK (9.7.0)
- DownloadButton (0.1.0)
- Google-Mobile-Ads-SDK (11.4.0):
- GoogleUserMessagingPlatform (>= 1.1)
- GoogleMobileAdsMediationAppLovin (12.6.0.0):
- AppLovinSDK (= 12.6.0)
- Google-Mobile-Ads-SDK (~> 11.0)
- GoogleMobileAdsMediationChartboost (9.7.0.0):
- ChartboostSDK (= 9.7.0)
- Google-Mobile-Ads-SDK (~> 11.0)
- GoogleMobileAdsMediationIronSource (8.2.0.0.0):
- Google-Mobile-Ads-SDK (~> 11.0)
- IronSourceSDK (= 8.2.0.0)
@ -99,6 +103,7 @@ DEPENDENCIES:
- DownloadButton
- Google-Mobile-Ads-SDK (= 11.4.0)
- GoogleMobileAdsMediationAppLovin
- GoogleMobileAdsMediationChartboost
- GoogleMobileAdsMediationIronSource
- GoogleMobileAdsMediationMintegral
- GoogleMobileAdsMediationPangle
@ -121,9 +126,11 @@ SPEC REPOS:
- Alamofire
- AppLovinSDK
- BURelyFoundation_Global
- ChartboostSDK
- DownloadButton
- Google-Mobile-Ads-SDK
- GoogleMobileAdsMediationAppLovin
- GoogleMobileAdsMediationChartboost
- GoogleMobileAdsMediationIronSource
- GoogleMobileAdsMediationMintegral
- GoogleMobileAdsMediationPangle
@ -148,9 +155,11 @@ SPEC CHECKSUMS:
Alamofire: f36a35757af4587d8e4f4bfa223ad10be2422b8c
AppLovinSDK: 76c1f378b8492110a197c288ea4907930d703829
BURelyFoundation_Global: d8099571ab7a0767ec0a334052108e33ff6d8a3f
ChartboostSDK: 0cd093c90a5a21c89783fe5be486e511fb2dbfc8
DownloadButton: 49a21a89e0d7d1b42d9134f79aaa40e727cd57c3
Google-Mobile-Ads-SDK: d097dca17b9344135dcf592e79df0c7fbd89947b
GoogleMobileAdsMediationAppLovin: bdd093b9b0469da3206aa7fc049ce92f2b672822
GoogleMobileAdsMediationChartboost: ef674600037f6ccd046df19ed663d223e4822026
GoogleMobileAdsMediationIronSource: 259afd9bc8293ab1563439188a7cc1552a27f91c
GoogleMobileAdsMediationMintegral: 83382df88ca5560318d03d5faa82c3ef33cf00c8
GoogleMobileAdsMediationPangle: 7cdcaeb4e0cceb3b2546724a9c5c295096047b46
@ -170,6 +179,6 @@ SPEC CHECKSUMS:
Tiercel: c0a73f876a72800333b15f4e7e48791f4ad21e90
VungleAds: 4823f53e691ba140ff21e3a3a6897af789832a36
PODFILE CHECKSUM: 6b0051839104814ab26eed21f9448682e50b7c68
PODFILE CHECKSUM: 6a95ca6014572e024266fe6dd05d870b42d7be49
COCOAPODS: 1.15.2

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E4B2E76CF11A2BA2F1DC75B5B8BB8905"
BuildableName = "ChartboostSDK"
BlueprintName = "ChartboostSDK"
ReferencedContainer = "container:Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View File

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "5001F84E52E8E82CAE7578A60976A1EF"
BuildableName = "GoogleMobileAdsMediationChartboost"
BlueprintName = "GoogleMobileAdsMediationChartboost"
ReferencedContainer = "container:Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View File

@ -34,6 +34,11 @@
<key>isShown</key>
<false/>
</dict>
<key>ChartboostSDK.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
</dict>
<key>DownloadButton-DownloadButton.xcscheme</key>
<dict>
<key>isShown</key>
@ -59,6 +64,11 @@
<key>isShown</key>
<false/>
</dict>
<key>GoogleMobileAdsMediationChartboost.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
</dict>
<key>GoogleMobileAdsMediationIronSource.xcscheme</key>
<dict>
<key>isShown</key>

View File

@ -0,0 +1,2 @@
${PODS_ROOT}/Target Support Files/ChartboostSDK/ChartboostSDK-xcframeworks.sh
${PODS_ROOT}/ChartboostSDK/ChartboostSDK.xcframework

View File

@ -0,0 +1 @@
${PODS_XCFRAMEWORKS_BUILD_DIR}/ChartboostSDK/ChartboostSDK.framework

View File

@ -0,0 +1,121 @@
#!/bin/sh
set -e
set -u
set -o pipefail
function on_error {
echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR
# This protects against multiple targets copying the same framework dependency at the same time. The solution
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
variant_for_slice()
{
case "$1" in
"ChartboostSDK.xcframework/ios-arm64")
echo ""
;;
"ChartboostSDK.xcframework/ios-arm64_x86_64-simulator")
echo "simulator"
;;
esac
}
archs_for_slice()
{
case "$1" in
"ChartboostSDK.xcframework/ios-arm64")
echo "arm64"
;;
"ChartboostSDK.xcframework/ios-arm64_x86_64-simulator")
echo "arm64 x86_64"
;;
esac
}
copy_dir()
{
local source="$1"
local destination="$2"
# Use filter instead of exclude so missing patterns don't throw errors.
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}*\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}"/* "${destination}"
}
SELECT_SLICE_RETVAL=""
select_slice() {
local xcframework_name="$1"
xcframework_name="${xcframework_name##*/}"
local paths=("${@:2}")
# Locate the correct slice of the .xcframework for the current architectures
local target_path=""
# Split archs on space so we can find a slice that has all the needed archs
local target_archs=$(echo $ARCHS | tr " " "\n")
local target_variant=""
if [[ "$PLATFORM_NAME" == *"simulator" ]]; then
target_variant="simulator"
fi
if [[ ! -z ${EFFECTIVE_PLATFORM_NAME+x} && "$EFFECTIVE_PLATFORM_NAME" == *"maccatalyst" ]]; then
target_variant="maccatalyst"
fi
for i in ${!paths[@]}; do
local matched_all_archs="1"
local slice_archs="$(archs_for_slice "${xcframework_name}/${paths[$i]}")"
local slice_variant="$(variant_for_slice "${xcframework_name}/${paths[$i]}")"
for target_arch in $target_archs; do
if ! [[ "${slice_variant}" == "$target_variant" ]]; then
matched_all_archs="0"
break
fi
if ! echo "${slice_archs}" | tr " " "\n" | grep -F -q -x "$target_arch"; then
matched_all_archs="0"
break
fi
done
if [[ "$matched_all_archs" == "1" ]]; then
# Found a matching slice
echo "Selected xcframework slice ${paths[$i]}"
SELECT_SLICE_RETVAL=${paths[$i]}
break
fi
done
}
install_xcframework() {
local basepath="$1"
local name="$2"
local package_type="$3"
local paths=("${@:4}")
# Locate the correct slice of the .xcframework for the current architectures
select_slice "${basepath}" "${paths[@]}"
local target_path="$SELECT_SLICE_RETVAL"
if [[ -z "$target_path" ]]; then
echo "warning: [CP] $(basename ${basepath}): Unable to find matching slice in '${paths[@]}' for the current build architectures ($ARCHS) and platform (${EFFECTIVE_PLATFORM_NAME-${PLATFORM_NAME}})."
return
fi
local source="$basepath/$target_path"
local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}"
if [ ! -d "$destination" ]; then
mkdir -p "$destination"
fi
copy_dir "$source/" "$destination"
echo "Copied $source to $destination"
}
install_xcframework "${PODS_ROOT}/ChartboostSDK/ChartboostSDK.xcframework" "ChartboostSDK" "framework" "ios-arm64" "ios-arm64_x86_64-simulator"

View File

@ -0,0 +1,16 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ChartboostSDK
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/ChartboostSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/ChartboostSDK"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
OTHER_LDFLAGS = $(inherited) -l"ObjC" -framework "AVFoundation" -framework "AdSupport" -framework "AppTrackingTransparency" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreMedia" -framework "CoreTelephony" -framework "Foundation" -framework "SafariServices" -framework "StoreKit" -framework "SystemConfiguration" -framework "UIKit" -framework "WebKit"
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE}
PODS_ROOT = ${SRCROOT}
PODS_TARGET_SRCROOT = ${PODS_ROOT}/ChartboostSDK
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES

View File

@ -0,0 +1,16 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ChartboostSDK
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/ChartboostSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/ChartboostSDK"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
OTHER_LDFLAGS = $(inherited) -l"ObjC" -framework "AVFoundation" -framework "AdSupport" -framework "AppTrackingTransparency" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreMedia" -framework "CoreTelephony" -framework "Foundation" -framework "SafariServices" -framework "StoreKit" -framework "SystemConfiguration" -framework "UIKit" -framework "WebKit"
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE}
PODS_ROOT = ${SRCROOT}
PODS_TARGET_SRCROOT = ${PODS_ROOT}/ChartboostSDK
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES

View File

@ -0,0 +1,2 @@
${PODS_ROOT}/Target Support Files/GoogleMobileAdsMediationChartboost/GoogleMobileAdsMediationChartboost-xcframeworks.sh
${PODS_ROOT}/GoogleMobileAdsMediationChartboost/ChartboostAdapter-9.7.0.0/ChartboostAdapter.xcframework

View File

@ -0,0 +1 @@
${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationChartboost/ChartboostAdapter.framework

View File

@ -0,0 +1,121 @@
#!/bin/sh
set -e
set -u
set -o pipefail
function on_error {
echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR
# This protects against multiple targets copying the same framework dependency at the same time. The solution
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
variant_for_slice()
{
case "$1" in
"ChartboostAdapter.xcframework/ios-arm64")
echo ""
;;
"ChartboostAdapter.xcframework/ios-arm64_x86_64-simulator")
echo "simulator"
;;
esac
}
archs_for_slice()
{
case "$1" in
"ChartboostAdapter.xcframework/ios-arm64")
echo "arm64"
;;
"ChartboostAdapter.xcframework/ios-arm64_x86_64-simulator")
echo "arm64 x86_64"
;;
esac
}
copy_dir()
{
local source="$1"
local destination="$2"
# Use filter instead of exclude so missing patterns don't throw errors.
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" \"${source}*\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "${source}"/* "${destination}"
}
SELECT_SLICE_RETVAL=""
select_slice() {
local xcframework_name="$1"
xcframework_name="${xcframework_name##*/}"
local paths=("${@:2}")
# Locate the correct slice of the .xcframework for the current architectures
local target_path=""
# Split archs on space so we can find a slice that has all the needed archs
local target_archs=$(echo $ARCHS | tr " " "\n")
local target_variant=""
if [[ "$PLATFORM_NAME" == *"simulator" ]]; then
target_variant="simulator"
fi
if [[ ! -z ${EFFECTIVE_PLATFORM_NAME+x} && "$EFFECTIVE_PLATFORM_NAME" == *"maccatalyst" ]]; then
target_variant="maccatalyst"
fi
for i in ${!paths[@]}; do
local matched_all_archs="1"
local slice_archs="$(archs_for_slice "${xcframework_name}/${paths[$i]}")"
local slice_variant="$(variant_for_slice "${xcframework_name}/${paths[$i]}")"
for target_arch in $target_archs; do
if ! [[ "${slice_variant}" == "$target_variant" ]]; then
matched_all_archs="0"
break
fi
if ! echo "${slice_archs}" | tr " " "\n" | grep -F -q -x "$target_arch"; then
matched_all_archs="0"
break
fi
done
if [[ "$matched_all_archs" == "1" ]]; then
# Found a matching slice
echo "Selected xcframework slice ${paths[$i]}"
SELECT_SLICE_RETVAL=${paths[$i]}
break
fi
done
}
install_xcframework() {
local basepath="$1"
local name="$2"
local package_type="$3"
local paths=("${@:4}")
# Locate the correct slice of the .xcframework for the current architectures
select_slice "${basepath}" "${paths[@]}"
local target_path="$SELECT_SLICE_RETVAL"
if [[ -z "$target_path" ]]; then
echo "warning: [CP] $(basename ${basepath}): Unable to find matching slice in '${paths[@]}' for the current build architectures ($ARCHS) and platform (${EFFECTIVE_PLATFORM_NAME-${PLATFORM_NAME}})."
return
fi
local source="$basepath/$target_path"
local destination="${PODS_XCFRAMEWORKS_BUILD_DIR}/${name}"
if [ ! -d "$destination" ]; then
mkdir -p "$destination"
fi
copy_dir "$source/" "$destination"
echo "Copied $source to $destination"
}
install_xcframework "${PODS_ROOT}/GoogleMobileAdsMediationChartboost/ChartboostAdapter-9.7.0.0/ChartboostAdapter.xcframework" "GoogleMobileAdsMediationChartboost" "framework" "ios-arm64" "ios-arm64_x86_64-simulator"

View File

@ -0,0 +1,16 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/GoogleMobileAdsMediationChartboost
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/ChartboostSDK" "${PODS_ROOT}/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework" "${PODS_ROOT}/GoogleMobileAdsMediationChartboost/ChartboostAdapter-9.7.0.0" "${PODS_ROOT}/GoogleUserMessagingPlatform/Frameworks/Release" "${PODS_XCFRAMEWORKS_BUILD_DIR}/ChartboostSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/Google-Mobile-Ads-SDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationChartboost" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleUserMessagingPlatform"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE}
PODS_ROOT = ${SRCROOT}
PODS_TARGET_SRCROOT = ${PODS_ROOT}/GoogleMobileAdsMediationChartboost
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
VALID_ARCHS[sdk=iphoneos*] = arm64
VALID_ARCHS[sdk=iphonesimulator*] = arm64 x86_64

View File

@ -0,0 +1,16 @@
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/GoogleMobileAdsMediationChartboost
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/ChartboostSDK" "${PODS_ROOT}/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework" "${PODS_ROOT}/GoogleMobileAdsMediationChartboost/ChartboostAdapter-9.7.0.0" "${PODS_ROOT}/GoogleUserMessagingPlatform/Frameworks/Release" "${PODS_XCFRAMEWORKS_BUILD_DIR}/ChartboostSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/Google-Mobile-Ads-SDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationChartboost" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleUserMessagingPlatform"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE}
PODS_ROOT = ${SRCROOT}
PODS_TARGET_SRCROOT = ${PODS_ROOT}/GoogleMobileAdsMediationChartboost
PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
VALID_ARCHS[sdk=iphoneos*] = arm64
VALID_ARCHS[sdk=iphonesimulator*] = arm64 x86_64

View File

@ -311,6 +311,10 @@ The AppLovin SDK is available under a commercial license (https://www.applovin.c
## ChartboostSDK
LICENSE © 2011-2024 Chartboost. All rights reserved. LICENSE
## DownloadButton
Copyright (c) 2015 Pavel Katunin <wk.katunin@gmail.com>
@ -342,6 +346,10 @@ Copyright 2024 Google LLC
Copyright 2017 Google LLC
## GoogleMobileAdsMediationChartboost
Copyright 2016 Google LLC
## GoogleMobileAdsMediationIronSource
Copyright 2017 Google LLC

View File

@ -340,6 +340,16 @@ The AppLovin SDK is available under a commercial license (https://www.applovin.c
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>LICENSE © 2011-2024 Chartboost. All rights reserved. LICENSE</string>
<key>License</key>
<string>Commercial</string>
<key>Title</key>
<string>ChartboostSDK</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Copyright (c) 2015 Pavel Katunin &lt;wk.katunin@gmail.com&gt;
@ -389,6 +399,16 @@ Site: https://ru.linkedin.com/in/pavelkatunin</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Copyright 2016 Google LLC</string>
<key>License</key>
<string>Apache 2.0</string>
<key>Title</key>
<string>GoogleMobileAdsMediationChartboost</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Copyright 2017 Google LLC</string>

View File

@ -1,6 +1,7 @@
${PODS_ROOT}/Target Support Files/Pods-relax.offline.mp3.music/Pods-relax.offline.mp3.music-resources.sh
${PODS_ROOT}/Ads-Global/SDK/PAGAdSDK.bundle
${PODS_CONFIGURATION_BUILD_DIR}/Ads-Global/AdsGlobalSDK.bundle
${PODS_ROOT}/ChartboostSDK/ChartboostSDKResources.bundle
${PODS_CONFIGURATION_BUILD_DIR}/Google-Mobile-Ads-SDK/GoogleMobileAdsResources.bundle
${PODS_CONFIGURATION_BUILD_DIR}/GoogleUserMessagingPlatform/UserMessagingPlatformResources.bundle
${PODS_CONFIGURATION_BUILD_DIR}/IronSourceSDK/IronSourcePrivacyInfo.bundle

View File

@ -1,5 +1,6 @@
${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/PAGAdSDK.bundle
${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AdsGlobalSDK.bundle
${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ChartboostSDKResources.bundle
${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleMobileAdsResources.bundle
${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/UserMessagingPlatformResources.bundle
${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/IronSourcePrivacyInfo.bundle

View File

@ -1,6 +1,7 @@
${PODS_ROOT}/Target Support Files/Pods-relax.offline.mp3.music/Pods-relax.offline.mp3.music-resources.sh
${PODS_ROOT}/Ads-Global/SDK/PAGAdSDK.bundle
${PODS_CONFIGURATION_BUILD_DIR}/Ads-Global/AdsGlobalSDK.bundle
${PODS_ROOT}/ChartboostSDK/ChartboostSDKResources.bundle
${PODS_CONFIGURATION_BUILD_DIR}/Google-Mobile-Ads-SDK/GoogleMobileAdsResources.bundle
${PODS_CONFIGURATION_BUILD_DIR}/GoogleUserMessagingPlatform/UserMessagingPlatformResources.bundle
${PODS_CONFIGURATION_BUILD_DIR}/IronSourceSDK/IronSourcePrivacyInfo.bundle

View File

@ -1,5 +1,6 @@
${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/PAGAdSDK.bundle
${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AdsGlobalSDK.bundle
${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ChartboostSDKResources.bundle
${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleMobileAdsResources.bundle
${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/UserMessagingPlatformResources.bundle
${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/IronSourcePrivacyInfo.bundle

View File

@ -99,6 +99,7 @@ EOM
if [[ "$CONFIGURATION" == "Debug" ]]; then
install_resource "${PODS_ROOT}/Ads-Global/SDK/PAGAdSDK.bundle"
install_resource "${PODS_CONFIGURATION_BUILD_DIR}/Ads-Global/AdsGlobalSDK.bundle"
install_resource "${PODS_ROOT}/ChartboostSDK/ChartboostSDKResources.bundle"
install_resource "${PODS_CONFIGURATION_BUILD_DIR}/Google-Mobile-Ads-SDK/GoogleMobileAdsResources.bundle"
install_resource "${PODS_CONFIGURATION_BUILD_DIR}/GoogleUserMessagingPlatform/UserMessagingPlatformResources.bundle"
install_resource "${PODS_CONFIGURATION_BUILD_DIR}/IronSourceSDK/IronSourcePrivacyInfo.bundle"
@ -108,6 +109,7 @@ fi
if [[ "$CONFIGURATION" == "Release" ]]; then
install_resource "${PODS_ROOT}/Ads-Global/SDK/PAGAdSDK.bundle"
install_resource "${PODS_CONFIGURATION_BUILD_DIR}/Ads-Global/AdsGlobalSDK.bundle"
install_resource "${PODS_ROOT}/ChartboostSDK/ChartboostSDKResources.bundle"
install_resource "${PODS_CONFIGURATION_BUILD_DIR}/Google-Mobile-Ads-SDK/GoogleMobileAdsResources.bundle"
install_resource "${PODS_CONFIGURATION_BUILD_DIR}/GoogleUserMessagingPlatform/UserMessagingPlatformResources.bundle"
install_resource "${PODS_CONFIGURATION_BUILD_DIR}/IronSourceSDK/IronSourcePrivacyInfo.bundle"

View File

@ -1,12 +1,12 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/DownloadButton" "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift" "${PODS_CONFIGURATION_BUILD_DIR}/JXPagingView" "${PODS_CONFIGURATION_BUILD_DIR}/JXSegmentedView" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher" "${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh" "${PODS_CONFIGURATION_BUILD_DIR}/MarqueeLabel" "${PODS_CONFIGURATION_BUILD_DIR}/SVProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftDate" "${PODS_CONFIGURATION_BUILD_DIR}/Tiercel" "${PODS_ROOT}/Ads-Global/SDK" "${PODS_ROOT}/AppLovinSDK/applovin-ios-sdk-12.6.0" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalAFN" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalAPM" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalFoundation" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalGecko" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalHeader" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalNETWork" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalSDWebImage" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalYYModel" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalZFPlayer" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalZip" "${PODS_ROOT}/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework" "${PODS_ROOT}/GoogleMobileAdsMediationAppLovin/AppLovinAdapter-12.6.0.0" "${PODS_ROOT}/GoogleMobileAdsMediationIronSource/IronSourceAdapter-8.2.0.0.0" "${PODS_ROOT}/GoogleMobileAdsMediationMintegral/MintegralAdapter-7.6.8.0" "${PODS_ROOT}/GoogleMobileAdsMediationPangle/PangleAdapter-6.1.0.5.0" "${PODS_ROOT}/GoogleMobileAdsMediationVungle/LiftoffMonetizeAdapter-7.4.0.0" "${PODS_ROOT}/GoogleUserMessagingPlatform/Frameworks/Release" "${PODS_ROOT}/IronSourceSDK/IronSource" "${PODS_ROOT}/MintegralAdSDK/Fmk" "${PODS_ROOT}/VungleAds/static" "${PODS_XCFRAMEWORKS_BUILD_DIR}/Ads-Global/BUAdSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppLovinSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/Google-Mobile-Ads-SDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationAppLovin" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationIronSource" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationMintegral" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationPangle" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationVungle" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleUserMessagingPlatform" "${PODS_XCFRAMEWORKS_BUILD_DIR}/IronSourceSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/BannerAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/BidNativeAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/InterstitialVideoAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/NativeAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/NativeAdvancedAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/NewInterstitialAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/RewardVideoAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/SplashAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/VungleAds"
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/DownloadButton" "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift" "${PODS_CONFIGURATION_BUILD_DIR}/JXPagingView" "${PODS_CONFIGURATION_BUILD_DIR}/JXSegmentedView" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher" "${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh" "${PODS_CONFIGURATION_BUILD_DIR}/MarqueeLabel" "${PODS_CONFIGURATION_BUILD_DIR}/SVProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftDate" "${PODS_CONFIGURATION_BUILD_DIR}/Tiercel" "${PODS_ROOT}/Ads-Global/SDK" "${PODS_ROOT}/AppLovinSDK/applovin-ios-sdk-12.6.0" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalAFN" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalAPM" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalFoundation" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalGecko" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalHeader" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalNETWork" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalSDWebImage" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalYYModel" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalZFPlayer" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalZip" "${PODS_ROOT}/ChartboostSDK" "${PODS_ROOT}/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework" "${PODS_ROOT}/GoogleMobileAdsMediationAppLovin/AppLovinAdapter-12.6.0.0" "${PODS_ROOT}/GoogleMobileAdsMediationChartboost/ChartboostAdapter-9.7.0.0" "${PODS_ROOT}/GoogleMobileAdsMediationIronSource/IronSourceAdapter-8.2.0.0.0" "${PODS_ROOT}/GoogleMobileAdsMediationMintegral/MintegralAdapter-7.6.8.0" "${PODS_ROOT}/GoogleMobileAdsMediationPangle/PangleAdapter-6.1.0.5.0" "${PODS_ROOT}/GoogleMobileAdsMediationVungle/LiftoffMonetizeAdapter-7.4.0.0" "${PODS_ROOT}/GoogleUserMessagingPlatform/Frameworks/Release" "${PODS_ROOT}/IronSourceSDK/IronSource" "${PODS_ROOT}/MintegralAdSDK/Fmk" "${PODS_ROOT}/VungleAds/static" "${PODS_XCFRAMEWORKS_BUILD_DIR}/Ads-Global/BUAdSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppLovinSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/ChartboostSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/Google-Mobile-Ads-SDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationAppLovin" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationChartboost" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationIronSource" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationMintegral" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationPangle" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationVungle" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleUserMessagingPlatform" "${PODS_XCFRAMEWORKS_BUILD_DIR}/IronSourceSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/BannerAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/BidNativeAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/InterstitialVideoAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/NativeAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/NativeAdvancedAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/NewInterstitialAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/RewardVideoAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/SplashAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/VungleAds"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/DownloadButton/DownloadButton.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/JXPagingView/JXPagingView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/JXSegmentedView/JXSegmentedView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh/MJRefresh.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/MarqueeLabel/MarqueeLabel.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SVProgressHUD/SVProgressHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftDate/SwiftDate.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Tiercel/Tiercel.framework/Headers" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/BURelyFoundation_Global" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/AFNetworking/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/APM/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Foundation/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Gecko/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Header/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/NETWork/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/SDWebImage/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/YYModel/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/ZFPlayer/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Zip/Headers"
LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/AFNetworking" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/APM" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Foundation" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Gecko" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Header" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/NETWork" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/SDWebImage" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/YYModel" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/ZFPlayer" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Zip" "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift $(SDKROOT)/usr/lib/swift
OTHER_LDFLAGS = $(inherited) -ObjC -l"BURelyFoundationGlobalAFN" -l"BURelyFoundationGlobalAPM" -l"BURelyFoundationGlobalFoundation" -l"BURelyFoundationGlobalGecko" -l"BURelyFoundationGlobalHeader" -l"BURelyFoundationGlobalNETWork" -l"BURelyFoundationGlobalSDWebImage" -l"BURelyFoundationGlobalYYModel" -l"BURelyFoundationGlobalZFPlayer" -l"BURelyFoundationGlobalZip" -l"bz2" -l"c++" -l"c++abi" -l"iconv" -l"resolv" -l"resolv.9" -l"sqlite3" -l"swiftCoreGraphics" -l"xml2" -l"z" -framework "AVFoundation" -framework "Accelerate" -framework "AdSupport" -framework "Alamofire" -framework "AppLovinAdapter" -framework "AppLovinSDK" -framework "AudioToolbox" -framework "CFNetwork" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreImage" -framework "CoreMedia" -framework "CoreMotion" -framework "CoreServices" -framework "CoreTelephony" -framework "CoreText" -framework "CoreVideo" -framework "DownloadButton" -framework "Foundation" -framework "GoogleMobileAds" -framework "IQKeyboardManagerSwift" -framework "ImageIO" -framework "IronSource" -framework "IronSourceAdapter" -framework "JXPagingView" -framework "JXSegmentedView" -framework "JavaScriptCore" -framework "Kingfisher" -framework "LiftoffMonetizeAdapter" -framework "MJRefresh" -framework "MTGSDK" -framework "MTGSDKBanner" -framework "MTGSDKBidding" -framework "MTGSDKInterstitialVideo" -framework "MTGSDKNativeAdvanced" -framework "MTGSDKNewInterstitial" -framework "MTGSDKReward" -framework "MTGSDKSplash" -framework "MarqueeLabel" -framework "MediaPlayer" -framework "MessageUI" -framework "MintegralAdapter" -framework "MobileCoreServices" -framework "PAGAdSDK" -framework "PangleAdapter" -framework "QuartzCore" -framework "SVProgressHUD" -framework "SafariServices" -framework "Security" -framework "SnapKit" -framework "StoreKit" -framework "SwiftDate" -framework "SystemConfiguration" -framework "Tiercel" -framework "UIKit" -framework "UserMessagingPlatform" -framework "VungleAdsSDK" -framework "WebKit" -weak_framework "AdSupport" -weak_framework "AppTrackingTransparency" -weak_framework "Combine" -weak_framework "CoreML" -weak_framework "DeviceCheck" -weak_framework "Foundation" -weak_framework "JavaScriptCore" -weak_framework "SafariServices" -weak_framework "SwiftUI" -weak_framework "UIKit" -weak_framework "WebKit"
OTHER_LDFLAGS = $(inherited) -ObjC -l"BURelyFoundationGlobalAFN" -l"BURelyFoundationGlobalAPM" -l"BURelyFoundationGlobalFoundation" -l"BURelyFoundationGlobalGecko" -l"BURelyFoundationGlobalHeader" -l"BURelyFoundationGlobalNETWork" -l"BURelyFoundationGlobalSDWebImage" -l"BURelyFoundationGlobalYYModel" -l"BURelyFoundationGlobalZFPlayer" -l"BURelyFoundationGlobalZip" -l"bz2" -l"c++" -l"c++abi" -l"iconv" -l"resolv" -l"resolv.9" -l"sqlite3" -l"swiftCoreGraphics" -l"xml2" -l"z" -framework "AVFoundation" -framework "Accelerate" -framework "AdSupport" -framework "Alamofire" -framework "AppLovinAdapter" -framework "AppLovinSDK" -framework "AppTrackingTransparency" -framework "AudioToolbox" -framework "CFNetwork" -framework "ChartboostAdapter" -framework "ChartboostSDK" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreImage" -framework "CoreMedia" -framework "CoreMotion" -framework "CoreServices" -framework "CoreTelephony" -framework "CoreText" -framework "CoreVideo" -framework "DownloadButton" -framework "Foundation" -framework "GoogleMobileAds" -framework "IQKeyboardManagerSwift" -framework "ImageIO" -framework "IronSource" -framework "IronSourceAdapter" -framework "JXPagingView" -framework "JXSegmentedView" -framework "JavaScriptCore" -framework "Kingfisher" -framework "LiftoffMonetizeAdapter" -framework "MJRefresh" -framework "MTGSDK" -framework "MTGSDKBanner" -framework "MTGSDKBidding" -framework "MTGSDKInterstitialVideo" -framework "MTGSDKNativeAdvanced" -framework "MTGSDKNewInterstitial" -framework "MTGSDKReward" -framework "MTGSDKSplash" -framework "MarqueeLabel" -framework "MediaPlayer" -framework "MessageUI" -framework "MintegralAdapter" -framework "MobileCoreServices" -framework "PAGAdSDK" -framework "PangleAdapter" -framework "QuartzCore" -framework "SVProgressHUD" -framework "SafariServices" -framework "Security" -framework "SnapKit" -framework "StoreKit" -framework "SwiftDate" -framework "SystemConfiguration" -framework "Tiercel" -framework "UIKit" -framework "UserMessagingPlatform" -framework "VungleAdsSDK" -framework "WebKit" -weak_framework "AdSupport" -weak_framework "AppTrackingTransparency" -weak_framework "Combine" -weak_framework "CoreML" -weak_framework "DeviceCheck" -weak_framework "Foundation" -weak_framework "JavaScriptCore" -weak_framework "SafariServices" -weak_framework "SwiftUI" -weak_framework "UIKit" -weak_framework "WebKit"
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

View File

@ -1,12 +1,12 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/DownloadButton" "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift" "${PODS_CONFIGURATION_BUILD_DIR}/JXPagingView" "${PODS_CONFIGURATION_BUILD_DIR}/JXSegmentedView" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher" "${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh" "${PODS_CONFIGURATION_BUILD_DIR}/MarqueeLabel" "${PODS_CONFIGURATION_BUILD_DIR}/SVProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftDate" "${PODS_CONFIGURATION_BUILD_DIR}/Tiercel" "${PODS_ROOT}/Ads-Global/SDK" "${PODS_ROOT}/AppLovinSDK/applovin-ios-sdk-12.6.0" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalAFN" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalAPM" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalFoundation" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalGecko" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalHeader" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalNETWork" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalSDWebImage" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalYYModel" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalZFPlayer" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalZip" "${PODS_ROOT}/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework" "${PODS_ROOT}/GoogleMobileAdsMediationAppLovin/AppLovinAdapter-12.6.0.0" "${PODS_ROOT}/GoogleMobileAdsMediationIronSource/IronSourceAdapter-8.2.0.0.0" "${PODS_ROOT}/GoogleMobileAdsMediationMintegral/MintegralAdapter-7.6.8.0" "${PODS_ROOT}/GoogleMobileAdsMediationPangle/PangleAdapter-6.1.0.5.0" "${PODS_ROOT}/GoogleMobileAdsMediationVungle/LiftoffMonetizeAdapter-7.4.0.0" "${PODS_ROOT}/GoogleUserMessagingPlatform/Frameworks/Release" "${PODS_ROOT}/IronSourceSDK/IronSource" "${PODS_ROOT}/MintegralAdSDK/Fmk" "${PODS_ROOT}/VungleAds/static" "${PODS_XCFRAMEWORKS_BUILD_DIR}/Ads-Global/BUAdSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppLovinSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/Google-Mobile-Ads-SDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationAppLovin" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationIronSource" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationMintegral" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationPangle" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationVungle" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleUserMessagingPlatform" "${PODS_XCFRAMEWORKS_BUILD_DIR}/IronSourceSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/BannerAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/BidNativeAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/InterstitialVideoAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/NativeAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/NativeAdvancedAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/NewInterstitialAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/RewardVideoAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/SplashAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/VungleAds"
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/DownloadButton" "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift" "${PODS_CONFIGURATION_BUILD_DIR}/JXPagingView" "${PODS_CONFIGURATION_BUILD_DIR}/JXSegmentedView" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher" "${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh" "${PODS_CONFIGURATION_BUILD_DIR}/MarqueeLabel" "${PODS_CONFIGURATION_BUILD_DIR}/SVProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftDate" "${PODS_CONFIGURATION_BUILD_DIR}/Tiercel" "${PODS_ROOT}/Ads-Global/SDK" "${PODS_ROOT}/AppLovinSDK/applovin-ios-sdk-12.6.0" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalAFN" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalAPM" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalFoundation" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalGecko" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalHeader" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalNETWork" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalSDWebImage" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalYYModel" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalZFPlayer" "${PODS_ROOT}/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalZip" "${PODS_ROOT}/ChartboostSDK" "${PODS_ROOT}/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework" "${PODS_ROOT}/GoogleMobileAdsMediationAppLovin/AppLovinAdapter-12.6.0.0" "${PODS_ROOT}/GoogleMobileAdsMediationChartboost/ChartboostAdapter-9.7.0.0" "${PODS_ROOT}/GoogleMobileAdsMediationIronSource/IronSourceAdapter-8.2.0.0.0" "${PODS_ROOT}/GoogleMobileAdsMediationMintegral/MintegralAdapter-7.6.8.0" "${PODS_ROOT}/GoogleMobileAdsMediationPangle/PangleAdapter-6.1.0.5.0" "${PODS_ROOT}/GoogleMobileAdsMediationVungle/LiftoffMonetizeAdapter-7.4.0.0" "${PODS_ROOT}/GoogleUserMessagingPlatform/Frameworks/Release" "${PODS_ROOT}/IronSourceSDK/IronSource" "${PODS_ROOT}/MintegralAdSDK/Fmk" "${PODS_ROOT}/VungleAds/static" "${PODS_XCFRAMEWORKS_BUILD_DIR}/Ads-Global/BUAdSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AppLovinSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/ChartboostSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/Google-Mobile-Ads-SDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationAppLovin" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationChartboost" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationIronSource" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationMintegral" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationPangle" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleMobileAdsMediationVungle" "${PODS_XCFRAMEWORKS_BUILD_DIR}/GoogleUserMessagingPlatform" "${PODS_XCFRAMEWORKS_BUILD_DIR}/IronSourceSDK" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/BannerAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/BidNativeAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/InterstitialVideoAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/NativeAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/NativeAdvancedAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/NewInterstitialAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/RewardVideoAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/MintegralAdSDK/SplashAd" "${PODS_XCFRAMEWORKS_BUILD_DIR}/VungleAds"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/DownloadButton/DownloadButton.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/JXPagingView/JXPagingView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/JXSegmentedView/JXSegmentedView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/MJRefresh/MJRefresh.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/MarqueeLabel/MarqueeLabel.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SVProgressHUD/SVProgressHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftDate/SwiftDate.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Tiercel/Tiercel.framework/Headers" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/BURelyFoundation_Global" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/AFNetworking/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/APM/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Foundation/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Gecko/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Header/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/NETWork/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/SDWebImage/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/YYModel/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/ZFPlayer/Headers" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Zip/Headers"
LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/AFNetworking" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/APM" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Foundation" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Gecko" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Header" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/NETWork" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/SDWebImage" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/YYModel" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/ZFPlayer" "${PODS_XCFRAMEWORKS_BUILD_DIR}/BURelyFoundation_Global/Zip" "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift $(SDKROOT)/usr/lib/swift
OTHER_LDFLAGS = $(inherited) -ObjC -l"BURelyFoundationGlobalAFN" -l"BURelyFoundationGlobalAPM" -l"BURelyFoundationGlobalFoundation" -l"BURelyFoundationGlobalGecko" -l"BURelyFoundationGlobalHeader" -l"BURelyFoundationGlobalNETWork" -l"BURelyFoundationGlobalSDWebImage" -l"BURelyFoundationGlobalYYModel" -l"BURelyFoundationGlobalZFPlayer" -l"BURelyFoundationGlobalZip" -l"bz2" -l"c++" -l"c++abi" -l"iconv" -l"resolv" -l"resolv.9" -l"sqlite3" -l"swiftCoreGraphics" -l"xml2" -l"z" -framework "AVFoundation" -framework "Accelerate" -framework "AdSupport" -framework "Alamofire" -framework "AppLovinAdapter" -framework "AppLovinSDK" -framework "AudioToolbox" -framework "CFNetwork" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreImage" -framework "CoreMedia" -framework "CoreMotion" -framework "CoreServices" -framework "CoreTelephony" -framework "CoreText" -framework "CoreVideo" -framework "DownloadButton" -framework "Foundation" -framework "GoogleMobileAds" -framework "IQKeyboardManagerSwift" -framework "ImageIO" -framework "IronSource" -framework "IronSourceAdapter" -framework "JXPagingView" -framework "JXSegmentedView" -framework "JavaScriptCore" -framework "Kingfisher" -framework "LiftoffMonetizeAdapter" -framework "MJRefresh" -framework "MTGSDK" -framework "MTGSDKBanner" -framework "MTGSDKBidding" -framework "MTGSDKInterstitialVideo" -framework "MTGSDKNativeAdvanced" -framework "MTGSDKNewInterstitial" -framework "MTGSDKReward" -framework "MTGSDKSplash" -framework "MarqueeLabel" -framework "MediaPlayer" -framework "MessageUI" -framework "MintegralAdapter" -framework "MobileCoreServices" -framework "PAGAdSDK" -framework "PangleAdapter" -framework "QuartzCore" -framework "SVProgressHUD" -framework "SafariServices" -framework "Security" -framework "SnapKit" -framework "StoreKit" -framework "SwiftDate" -framework "SystemConfiguration" -framework "Tiercel" -framework "UIKit" -framework "UserMessagingPlatform" -framework "VungleAdsSDK" -framework "WebKit" -weak_framework "AdSupport" -weak_framework "AppTrackingTransparency" -weak_framework "Combine" -weak_framework "CoreML" -weak_framework "DeviceCheck" -weak_framework "Foundation" -weak_framework "JavaScriptCore" -weak_framework "SafariServices" -weak_framework "SwiftUI" -weak_framework "UIKit" -weak_framework "WebKit"
OTHER_LDFLAGS = $(inherited) -ObjC -l"BURelyFoundationGlobalAFN" -l"BURelyFoundationGlobalAPM" -l"BURelyFoundationGlobalFoundation" -l"BURelyFoundationGlobalGecko" -l"BURelyFoundationGlobalHeader" -l"BURelyFoundationGlobalNETWork" -l"BURelyFoundationGlobalSDWebImage" -l"BURelyFoundationGlobalYYModel" -l"BURelyFoundationGlobalZFPlayer" -l"BURelyFoundationGlobalZip" -l"bz2" -l"c++" -l"c++abi" -l"iconv" -l"resolv" -l"resolv.9" -l"sqlite3" -l"swiftCoreGraphics" -l"xml2" -l"z" -framework "AVFoundation" -framework "Accelerate" -framework "AdSupport" -framework "Alamofire" -framework "AppLovinAdapter" -framework "AppLovinSDK" -framework "AppTrackingTransparency" -framework "AudioToolbox" -framework "CFNetwork" -framework "ChartboostAdapter" -framework "ChartboostSDK" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreImage" -framework "CoreMedia" -framework "CoreMotion" -framework "CoreServices" -framework "CoreTelephony" -framework "CoreText" -framework "CoreVideo" -framework "DownloadButton" -framework "Foundation" -framework "GoogleMobileAds" -framework "IQKeyboardManagerSwift" -framework "ImageIO" -framework "IronSource" -framework "IronSourceAdapter" -framework "JXPagingView" -framework "JXSegmentedView" -framework "JavaScriptCore" -framework "Kingfisher" -framework "LiftoffMonetizeAdapter" -framework "MJRefresh" -framework "MTGSDK" -framework "MTGSDKBanner" -framework "MTGSDKBidding" -framework "MTGSDKInterstitialVideo" -framework "MTGSDKNativeAdvanced" -framework "MTGSDKNewInterstitial" -framework "MTGSDKReward" -framework "MTGSDKSplash" -framework "MarqueeLabel" -framework "MediaPlayer" -framework "MessageUI" -framework "MintegralAdapter" -framework "MobileCoreServices" -framework "PAGAdSDK" -framework "PangleAdapter" -framework "QuartzCore" -framework "SVProgressHUD" -framework "SafariServices" -framework "Security" -framework "SnapKit" -framework "StoreKit" -framework "SwiftDate" -framework "SystemConfiguration" -framework "Tiercel" -framework "UIKit" -framework "UserMessagingPlatform" -framework "VungleAdsSDK" -framework "WebKit" -weak_framework "AdSupport" -weak_framework "AppTrackingTransparency" -weak_framework "Combine" -weak_framework "CoreML" -weak_framework "DeviceCheck" -weak_framework "Foundation" -weak_framework "JavaScriptCore" -weak_framework "SafariServices" -weak_framework "SwiftUI" -weak_framework "UIKit" -weak_framework "WebKit"
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

View File

@ -50,7 +50,6 @@
CBAFCAF22C0A10500054500E /* String.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBAFCA022C0A10500054500E /* String.swift */; };
CBAFCAF32C0A10500054500E /* TableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBAFCA032C0A10500054500E /* TableView.swift */; };
CBAFCAF42C0A10500054500E /* Macro.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBAFCA052C0A10500054500E /* Macro.swift */; };
CBAFCAF52C0A10500054500E /* CoreDataDelegete.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBAFCA072C0A10500054500E /* CoreDataDelegete.swift */; };
CBAFCAF62C0A10500054500E /* InstanceFromNib.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBAFCA082C0A10500054500E /* InstanceFromNib.swift */; };
CBAFCAF72C0A10500054500E /* Breathe.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = CBAFCA0A2C0A10500054500E /* Breathe.mp3 */; };
CBAFCAF82C0A10500054500E /* Shh Shh.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = CBAFCA0B2C0A10500054500E /* Shh Shh.mp3 */; };
@ -323,7 +322,6 @@
CBAFCA022C0A10500054500E /* String.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = String.swift; sourceTree = "<group>"; };
CBAFCA032C0A10500054500E /* TableView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableView.swift; sourceTree = "<group>"; };
CBAFCA052C0A10500054500E /* Macro.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Macro.swift; sourceTree = "<group>"; };
CBAFCA072C0A10500054500E /* CoreDataDelegete.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CoreDataDelegete.swift; sourceTree = "<group>"; };
CBAFCA082C0A10500054500E /* InstanceFromNib.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InstanceFromNib.swift; sourceTree = "<group>"; };
CBAFCA0A2C0A10500054500E /* Breathe.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = Breathe.mp3; sourceTree = "<group>"; };
CBAFCA0B2C0A10500054500E /* Shh Shh.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = "Shh Shh.mp3"; sourceTree = "<group>"; };
@ -694,7 +692,6 @@
CBAFCA092C0A10500054500E /* Protocol(公用协议) */ = {
isa = PBXGroup;
children = (
CBAFCA072C0A10500054500E /* CoreDataDelegete.swift */,
CBAFCA082C0A10500054500E /* InstanceFromNib.swift */,
);
path = "Protocol(公用协议)";
@ -1290,7 +1287,7 @@
CBC2D6E62BFDF3D700E17703 /* Resources */,
0018BD0A2C1050F60066717C /* ShellScript */,
4F340A16CA4CBC1A386EF0AF /* [CP] Embed Pods Frameworks */,
2C1E4F703755D5732EB6C88C /* [CP] Copy Pods Resources */,
D1CFD1D7A1F3154E85EE0F93 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@ -1457,23 +1454,6 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
2C1E4F703755D5732EB6C88C /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-relax.offline.mp3.music/Pods-relax.offline.mp3.music-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-relax.offline.mp3.music/Pods-relax.offline.mp3.music-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-relax.offline.mp3.music/Pods-relax.offline.mp3.music-resources.sh\"\n";
showEnvVarsInLog = 0;
};
4F340A16CA4CBC1A386EF0AF /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@ -1491,6 +1471,23 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-relax.offline.mp3.music/Pods-relax.offline.mp3.music-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
D1CFD1D7A1F3154E85EE0F93 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-relax.offline.mp3.music/Pods-relax.offline.mp3.music-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-relax.offline.mp3.music/Pods-relax.offline.mp3.music-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-relax.offline.mp3.music/Pods-relax.offline.mp3.music-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
@ -1534,7 +1531,6 @@
CBAFCB512C0A10500054500E /* MPPositive_SearchResultShowViewController.swift in Sources */,
CBAFCB4C2C0A10500054500E /* MPPositive_ListShowViewController.swift in Sources */,
CBAFCB682C0A10500054500E /* MPPositive_MusicItemShowTableViewCell.swift in Sources */,
CBAFCAF52C0A10500054500E /* CoreDataDelegete.swift in Sources */,
CBAFCB5B2C0A10500054500E /* MPPositive_ArtistShowCollectionViewCell.swift in Sources */,
CBAFCB182C0A10500054500E /* MPPositive_JsonArtistMore.swift in Sources */,
CBAFCB982C0A10500054500E /* MPSideA_CustomTabBarItem.swift in Sources */,

View File

@ -72,18 +72,6 @@
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
<AdditionalOptions>
<AdditionalOption
key = "NSZombieEnabled"
value = "YES"
isEnabled = "YES">
</AdditionalOption>
<AdditionalOption
key = "MallocScribble"
value = ""
isEnabled = "YES">
</AdditionalOption>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"

View File

@ -3,4 +3,18 @@
uuid = "B2D42C7E-B789-40F0-8339-B70A223A3889"
type = "0"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
<BreakpointContent
uuid = "C55B60AF-F439-4924-A399-CD9EE440654E"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
breakpointStackSelectionBehavior = "1"
scope = "1"
stopOnStyle = "0">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>

View File

@ -103,15 +103,15 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}
//
func setAudioStop() {
//
let session = AVAudioSession.sharedInstance()
do {
//
try session.setActive(false)
print("中止会话")
} catch {
print("Failed to set type:\(error.localizedDescription)")
}
// //
// let session = AVAudioSession.sharedInstance()
// do {
// //
// try session.setActive(false)
// print("")
// } catch {
// print("Failed to set type:\(error.localizedDescription)")
// }
}
//
private func ActiveDaysCalculation() {

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Frame@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Frame@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Some files were not shown because too many files have changed in this diff Show More