Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* implement start/stop/resume autorefresh functionality (#398) * Introduce Rendering API (#462) * MOBILE-7000: [iOS] Introduce the Rendering module in the Prebid repo (#1) * chore(fastlane): fix iOS version for simulator fix simulators' names fix build script introduce the rendering module * chore(build): update build scripts * chore(InternalApp): disable GAM Ad validators * chore(migration): reorder file structure * chore(migration): tune simulator name * chore(migration): tune simulator name for builds and fastlane * chore(SDK tests): remove unused vars * chore(build): fix working directory * chore(build): set build-machine label to android-tests * Revert "chore(build): set build-machine label to android-tests" This reverts commit 5fef3ed681c2d9816f63c81dc9ab058e5f04162b. Co-authored-by: KostiantynTselykh <konstantin.tseluch@openx.com> Co-authored-by: xvadim12 <vadim.khohlov@postindustria.com> * MOBILE-7003: [iOS] Rename products (#2) * chore(migration): rename bundle id for the internal app * chore(migration): rename internal test app * chore(migration): rename GAM Event Handlers * chore(migration): rename MoPub Adapters * chore(migration): rename EH/Adapter modules * chore(migration): rename rendering core SDK * chore(migration): cleanup code * chore(migration): fix build scripts * chore(migration): fix tests for GAM Event Handlers * MOBILE-7011: [iOS] Rename classes methods and class prefixes (#3) * chore(migration): replace substring 'apollo' by 'prebid' * chore(migration): replace substring 'openx' by 'prebid' * chore(migration): rename unit-tests subproject * chore(migration): rename internal directories * chore(migration): rename prefixes OXM/OXA to PBM in the core module * chore(migration): rename prefixes OXM/OXA to PBM in the MoPub adapters * chore(migration): rename prefixes OXM/OXA to PBM in the GAM Event handlers * chore(migration): rename prefixes OXM/OXA to PBM in the Internal App * chore(migration): rename prefixes oxm/oxa * chore(migration): rename resources * chore(migration): add missed files to the reposetory * chore(migration): merge PBMError and OXMError to one class * chore(migration): fix the name of scheme for Rendering SDK testing * chore(migration): rename OXMAdFormat * chore(migration): clean up code * chore(migration): fix names in the internal app * MOBILE-7012: [iOS] Introduce ability to set custom host for PBS (#4) * chore(migration): implement ability to set custom host for PBS * chore(test): tune GAM tests loadTimeout value * fix(tests): force switching mock/prebid server for UI-tests * MOBILE-7023: [iOS][Swift] Make OXABidRequester as a Project class fix(SDK): make PBMBidRequester as a project class * MOBILE-7047: [iOS] Replace OM SDK with prebid's version (#5) * refactor(SDK): replace OMSDK by the prebid's version * chore(tests): increase load timeout for DFP tests * refactor(SDK): update unit-tests after replacing OMSDK * MOBILE-7024: [iOS][Swift] Migrate Media View and Media Data (#7) * refactor(SDK): rewrite PBMMediaData on Swift * refactor(SDK): rewrite PBMMediaView on Swift * chore(build scripts): fix iOS version * fix(tests): fix a test * refactor(SDK): cleanup code * Mobile 7054 update gam in prebid gam event handlers (#9) * chore (GAMEventHandler): update GAM to the latest version 8.4.0 * chore (GAM): fixes for application * chore (GAM): - remove GoogleMobileAdsMediationTestSuite. Reasons: it doesn't support GMA SDK v8, we do not use GAM mediation anymore. - update platform version in podfile to iOS 10. GMA SDK requires Target iOS 10.0 or higher * chore (GAM): update platform to iOS 10. GMA SDK suports Target iOS 10.0 or higher * chore (Migration): Swift classes for GAM Utils * chore (Migration to Swift): remove OBJ-C utils. Fix unit tests project * chore (Migration to Swift): ix build of internal test app * chore (Migration to Swift): fix some par of unit tests TODO: change behaviour for interstitial ads * chore (Migrate to swift): replace Reward classes * chore (Migration to Swift): introduce swift version of Interstitial event handler * chore (Migration to Swift): replace wrapper for Interstitial ad * chore (Migration to Swift): small fixes for Interstitial * chore (Migration to Swift): update and fix unit tests * chore (Migration to Swift): corrections for rewarded video * chore (Migration to Swift): prepare GAMBannerEventHandler * chore (Migration to Swift): prepare banner event handler * chore (Migration to Swift): remove ObjC Banner handler * chore (Migration to Swift): remove boxed banner view * chore (Migration to Swift): rewrite boxed request * chore (Migration to Swift): migrate boxed native ad * chore (Migration to Swift): migrate boxed class for native custom ad * chore (Migration to Swift): remove invocation helpers * chore (Migration to Swift): changes in the project file * chore (Migration to Swift): remove OBJC constants * chore (migration to Swift): replace Error * chore (Migration to Swift): remove modulemap * chore (Migration to Swift): fix Unit Tests for GAM Event Handler * chore (Migrate to Swift): swiftify code * chore (Migration to Swift): swiftify code * chore (Migration to Swift): update commit settings * chore (Migration to Swift): fix build after rebase * fix build * fix: fix rendering of Native Ads. Add unit tests * fix: corrections for PR Co-authored-by: Yuriy Velichko <yuriy.velichko@postindustria.com> * Mobile 6968 update mo pub in prebid mo pub adapters to the latest version (#10) * feat (MoPub Event Handler): update MoPub version in the Pod file * feat (MoPub Adapter): pod update * feat (MoPub Adapters): update MoPub to the latest version * fix (Application): fix warnings * feat (MoPub Adapter): add tests to the demo App * MOBILE-7016: [iOS][Swift] Migrate Native Assets (#11) * refactor(SDK): rewrite PBMNativeAssetTitle on Swift * refactor(SDK): rewrite PBMNativeAssetData on Swift * refactor(SDK): rewrite PBMNativeAssetImage on Swift * refactor(SDK): rewrite PBMNativeAssetVideo on Swift * refactor(SDK): rewrite PBMNativeAsset on Swift * refactor(SDK): cleanup NativeAsset.swift * chore: resolve conflicts after merge * refactor(SDK): improve NativeAssets' code * Mobile 7018 Migrate MoPub API classes (#13) * refactor (MoPub Adapters): rewrite PrebidMoPubNativeCustomEvent to Swift * feat (Migration to Swift): migrate PrebidMoPubNativeAdRenderer * feat (Migration to Swift): migrate PrebidMoPubNativeCustomEvent * feat (Migration to Swift): migrate PrebidMoPubAdaptersUtils * refactor (Migration to Swift): migrate PrebidMoPubBannerAdapter to Swift * refactor (Migration to Swift): migrate PrebidMoPubInterstitialAdapter * refactor (Migration to Swift): replace VideoInterstitial and Rewarded Controllers * refactor (Migration to Swift): migrate Configuration class and remove all other unneeded objc classes * fix: fix UI test * refactor (Migration to Swift): small corrections * fix: fix ui tests * fix: fix in the Demo App for native Styles * fix: fix GAM interstitial flow * refactor (Migration to Swift): prepare class MoPubInterstitialAdUnit * refactoring (Migration to Swift): remove ObjC class * refactoring (Migration to Swift): fix unit test target * refactor (Migration to Swift): migrate Rewarded ad unit * refactor (Migration to Swift): fix build of unit tests * refactor (Migration to Swift): prepare the swift version of PBMMoPubBaseInterstitialAdUnit * refactor (Migration to Swift): remove ObjC class PBMMoPubBaseInterstitialAdUnit * fix: fix build of Unit Tests * refactor (Migration to Swift): prepare MoPubNativeAdUnit * refactor (Migration to Swift): remove MoPubNativeAdUnit * refactor (Migration to Swift): prepare MoPubBannerAdUnit * refactor (Migration to Swift): remove ObjC class for bannner * refactor (Migration to Swift): prepare MoPubUtils * refactor (Migration to Swift): remove ObjC MoPubUtils * fix: fix the preparation of MoPub ad object * refactor (Migration to Swift): restore build of unit tests * refactor (Migration to Swift): fix unit tests * fix: fix MoPub rewarded ads * fix: fixes after rebase * fix: fix build of Unit Tests * MOBILE-7017: [iOS][Swift] Migrate Native Ad classes (#15) * refactor(SDK): rewrite PBMNativeAdTitle on Swift * refactor(SDK): resolve issues after merge * refactor(SDK): rewrite PBMNativeAdImage on Swift * refactor(SDK): rewrite PBMNativeAdData on Swift * refactor(SDK): rewrite PBMNativeAdVideo on Swift * refactor(SDK): rewrite PBMNativeAdEventTracker on Swift * refactor(SDK): rewrite PBMNativeAdDetectionListener on Swif * refactor(SDK): rewrite PBMNativeAdAsset on Swift * refactor(SDK): rewrite PBMNativeAdAssetBoxingError on Swift * refactor(SDK): rewrite PBMNativeAdConfiguration on Swift * refactor(SDK): rewrite PBMNativeAdUnit on Swift * refactor(SDK): rewrite PBMNativeAd on Swift * chore: fix lint warnings * refactor(SDK): fix tests after renaming PBMNativeAd * chore(SDK): fix errors after syncing * refactor(SDK): fix request generation for NativeAd * refactor(SDK): fix request generation for NativeAd * refactor(SDK): fix warnings of NativeAd rewriting * chore: add a comment about strange code * MOBILE-7022/32: [iOS][Swift] Migrate OXARewardedAdUnit/OXAInterstitialAdUnit (#16) * refactor(SDK): rewrite PBMRewardedAdUnit * refactor(SDK): rewrite PBMInterstitialAdUnit * refactor(SDK): fix errors after syncing * refactor(SDK): fix review warnings * Mobile 7025 migrate oxa banner view (#17) * Need to squash commits first to avoid ugly merge conflicts fix: fix test refactor (Migration to Swift): add accessibility identifier to the new Banner view, fix tests refactor (Migration to Swift): format code, fix unit test refactor (Migration to Swift): fix demo app refactor (Migration to Swift): fix unit test target refactor (Migration to Swift): remove obj classes for BannerView and BannerViewDelegate refactor (Migration to Swift): confirm BannerView to new BannerViewDelegate protocol refactor (Migration to Swift): migrate other methods refactor (Migration to Swift): prepare the banner view delegate refactor (Migration to Swift): rewrite code for banner view - final part refactor (Migration to Swift): add methods for context data refactor (Migration to Swift): migration of Banner view (in progress) refactor (Migration to Swift): migrate Banner View, step 1 * fix: fix build after rebase * fix: corrections for failed tests * fix: fix for native style * fix: fix runtime warning for accessing the UIView in the main thread * fix: add @objc for public methods and properties * Mobile 7031 migrate oxa interstitial controller (#18) * refactor(SDK): rewrite PBMInterstitialController * refactor(SDK): fix errors after syncing * refactor(SDK): rename PBMInterstitialController -> InterstitialController * chore(SDK): increase timeouts for tests * chore(SDK): fix errors after syncing * Mobile 7020 migrate ad unit configuration (#19) * refactor (Migration to Swift): prepare AdUnitConfig object * refactor (Migration to Swift): remove ObjC adunit config * fix: fix test * refactoring (Migration to Swift): use CGSize instead of NSValue in MoPub and GAM handlers * fix: fix for unit tests * refactor (Migration to Swift): cleanup migration headers * fix: fix build * MOBILE-7030: [iOS][Swift] Migrate OXALocalResponseInfoCache (#20) * rewrite PBMLocalResponseInfoCache on Swift * Mobile 7028: [iOS][Swift] Migrate Bid Request and Response structures (#22) * refactor(SDK): rewrite PBMBidResponse on swift * refactor(SDK): rewrite PBMDemandResponseInfo on swift * efactor(SDK): rewrite PBMBid on swift * refactor(SDK): fix tests after renaming * refactor(SDK): rename PBMBidResponse -> BidResponse * refactor(SDK): fix errors after syncing * chore(SDK): fix interoperability between objc & Swift * Mobile 7019 migrate sdk configuration (#21) * refactor (Migration to Swift): prepare the class PrebidMobileRendering * refactor (Migration to Swift): fix build of Unit Tests * refactor (Migration to Swift): fixes for unit tests * refactor (Migration to Swift): introduce the Swift class for Targeting * refactor (Migration to Swift): remove ObjC Targeting class * fix: fix unit tests * fix: fix unit tests * fix: fix after rebase * fix: fix after rebase * Fix refresh banners in background and in invisible state (#23) * MOBILE-7048: [iOS] Sync the support of GDPR and FTC with prebid (#24) * feature(SDK): sync the support of GDPR with prebid core code * chore: fix unit-tests * Mobile 7034 migrate enums and constants (#27) * refactor: migrate DisplayViewInteractionDelegate to Swift * refactor (Migration to Swift): migrate DisplayViewLoadingDelegate * refactor (Migration to Swift): migrate InterstitialControllerLoadingDelegate protocol * refactor (Migration to Swift): migrate InterstitialControllerInteractionDelegate protocol * refactor (Migration to Swift): migrate internal event handlers * refactor (Migration to Swift): rewrite InterstitialEventHandler * refactor (Migration to Swift): migrate RewardedEventHandlerProtocol * refactor (Migration to Swift): migrate rewarded delegates * fix: fix runtime crash * refactor (Migration to Swift): migrate interstitial loading delegate * refactor (Migration to Swift): migrate BannerEventLoadingDelegate * refactor (Migration to Swift): migrate BannerEventInteractionDelegate * refactor (Migration to Swift): migrate BannerEventHandler * refactor (Migration to Swift): rewrite InterstitialAdUnitDelegate * refactor (Migration to Swift): migrate PBMRewardedAdUnitDelegate * refactor (Migration to Swift): migrate NativeAdTrackingDelegate * refactor (Migration to Swift): remove PBMNativeAdHandler * refactor (Migration to Swift): migrate PBMNativeAdUIDelegate * refactor (Migration to Swift): small fix * format: remove unneeded @objc notations * fix: fix build UI Tests * refactor (Migration to Swift): remove PBMPublicConstants.h * refactor: rename error domain constant * refactoring (Migration to Swift): first part of replacing AdFormat. migrate Base Interstitial Controller * fix: fix warnings * refactor (Migration to Swift): corrections * fix: fixed for rewarded video * fix: fixes for rewarded video * refactoring (Migration to Swift): remove PBMAdFormat, fix build of unit tests target * refactor (Migration to Swift): migrate PBMAdPosition * refactor (Migration to Swift): public wrapper for PBMVideoPlacementType * refactor (Migration to Swift): make Network Type private * refactor (Migration to Swift): migrate PBMDataAssetType * refactor (Migration to Swift): migrate PBMImageAssetType * refactor (Migration to Swift): migrate Event tracker and Event tracker type * fix: fix build Unit Tests * fix: fix according to the tests * refactor (Migration to Swift): rewrite NativeAdElementType * refactor (Migration to Swift): migrate PBMNativeMarkupRequestObject * refactor (Migration to Swift): migrate native enums, and Gender * refactor (Migration to Swift): make Network Type private * fix: fix unit tests * refactor (Migration to Swift): migrate FetchDemandResult * chore (Migration to Swift): migrate additional protocols * refactor (Migration to Swift): migrate BannerAdLoaderDelegate * refactor (Migration to Swift): migrate PBMAdLoadFlowControllerDelegate * fix: fix build of Unit Tests * format: small clean code * fix: address comment from PR * fix: fixes for PR * MOBILE-7088: [iOS] recordImpression is not called (#28) fix: restore impression tracking for GAM banne * MOBILE-7082: [iOS] Apply changes for consistency with Android and Prebid (#30) * chore(SDK): rename values of app.ext.prebid.source and displaymanager to prebid-mobile * chore(SDK): change the omidpn value to "Prebid" * chore(InternalApp): replace examples' acronym PPM to In-App * chore(UITests): fix tests * fix(SDK): disable processing clicks for video interstitials * Mobile 7042 rename open files signature with prebid one (#29) * format: replace some headers * format: replace files signatures * format: chanage files signatures * format: rename file signatures * format: remane files' signature * format: remane files' signature * format: remane files' signature * format: remane files' signature * format: remane files' signature * format: remane files' signature * format: remane files' signature * format: default signature * format: remove mentions of openx, apollo, and oxb * Remove AdChoices functionality * Restore sending OM event tracker to PBS (#32) * Mobile 7083 cleanup mess singletons (#33) * refactor(SDK): rename PBMOpenMeasurementWrapper.singleton -> shared * refactor(SDK): rename PBMLocationManager.singleton -> shared * refactor(SDK): rename PBMUserConsentDataManager.singleton -> shared * refactor(SDK): rename PBMServerConnection.singleton -> shared * refactor(SDK): rename PBMUserAgentService.singleton ->shared * refactor(SDK): rename PBMLog.singleton -> shared * refactor(SDK): rename DateFormatService.singleton -> shared * refavtor(SDK): rename PBMReachability.singleton -> shared * refactor(SDK): rename MockServer.singleton -> shared * chore: cleanup code * Mobile 7035 finalization of migration to swift (#34) * fix: fix signaling of connection type * refactor (Migration to Swift): migrate Host * format: format code * format: small format code * fix: set correct constants to the AdPosition enum (#35) * Introduce rendering to prebid (#36) * chore: remove OpenX artifacts * chore: remove OpenX artifacts from project * refactor(SDK): rename OpenXSDKConfigurationViewController * chore: remove unused script * chore: remove OpenX artifacts * chore: remove OpenX artifacts * chore: cleanup code from test artifacts * chore: fix lint warnings * chore: update podspec to support Renering and MoPubAdapters modules * chore: update podspec to support GAM Event Handlers * Restore rendering module name (#37) * chore: rename back PrebidMobile to PrebidMobileRendering * chore: cleanup code * chore: restore PrebidMobile.podspec * chore: remove OpenX Team reference from projects * Mobile 7104 test app for podspec (#38) * add an initial version of the app for podspecs testing * chore: add podspecs for Rendering module and event handlers * chore: add final versions of Rendering podspecs * chore: cleanup Rendering podspecs * chore: fix the podspecs testing app * Implement a switch for quick enabling/disabling GDPR * feat: add a switch to enable/disable GDPR (#40) * Migration of Rendering Module codebase (#412) Co-authored-by: Olena Stepaniuk <olena.stepaniuk@postindustria.com> * Use the Host class from the original SDK (#419) * [RENDERING] Support SKAdNetwork 2.2 (#414) * * feat: Change bid response to support multiple versions * * feat: Add fidelity type to bid response * * feat: handle skadnetProductParameters * * feat: Add PBMSkadnEventTracker * * feat: Add test case for SKAdN v. 2.2 * * feat: Add endImpresion for SKAdNetwork * fix: Fix parsing fidelities * * fix: Small fixes and refactors * * refactor: Change PBMSkadnEventTracker to SkadnEventTracker * refactor: Create SkadnParametersManager * *refactor: Refactor SkadnParametersManager * * fix: small fix in SkadnParametersManager * * fix: Fixes in fidelities transformation to json dictionary * fix: Fix nonce in SkadParametersManager * * test: Add testing of SkadParametersManager * test: Add testing of new bid response with skadn that contains fidelities * * testing: Add PBMORTBImpExtSkadn tests * * feat: migrate SKAdNetwork 2.2 support to PrebidMobile * * fix: Support only skadn 2.2 * fix: Fix startImpression and endImpression * * fix: Fix executing impression tasks * * refactor: Refactor SkadnEventTracker * * fix: Fix skadn test * * fix: Fix impression tasks execution * * feat: migrate fixes to PrebidMobile * fix: fix impression executor test * * fix: Add missing version parameter * * fix(rendering): Fix nonce parameter * * refactor(rendering): Add HiddenWebViewManager * * fix(rendering): Fix ImpressionTaskExecutor * * feat(sdk): migrate changes to prebid mobile * * fix(rendering): resolve project settings * * fix: Fix ImpressionTasksExecutor * * refactor: Delete unnecessary things * * fix: fix ImpressionTasksExecutor * Rename PBRBidResponse to BidResponseForRendering (#423) * Rename PBRInterstitialAdUnit to InterstitialRenderingAdUnit (#424) * Migrate event handlers (#426) * refactor (EventHandlers): move Event Handlers to PrebidMobile. Fix build of MoPub * refactor (EventHandlers): fix build for GAM Event Handlers * refactor (EventHandlers): update podspecs * Migrate internal test app (#428) * refactor (InternalTestApp): move project for internal test app into prebid Mobile * refactor (InternalTestApp): change import target * refactor (InternalTestApp): fix build * refactor (InternalTestApp): rename project and target * refactor (InternalTestApp): update icons, titles etc. Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> * Make Native API from the rendering part private (#430) * refactor (Native API): make native API for rendering codebase private * refactor (NativeAds): restore build for GAM Event Handlers * refactor (NativeAds): fix build for MoPub Adapters. NOTE: Native adapters were excluded from the build so far. * refactor (Native): fix build of InternalTestApp - just exclude files for Native Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> * Migrate Unit Tests for rendering into PrebidMobile project (#433) * refactor(sdk unit tests): migrate all unit tests and utilities (but some still broken) * refactor(sdk): Update scheme * fix(sdk unit tests): Fix Open Measurement tests * fix(sdk): resolve bid response @class ramainings * fix(sdk): fix set custom host test * fix(sdk): Resolve Host setting and getting; PBMBidRequesterTest passed * fix(sdk unit tests): fix SkadnParametersManagerTest * fix(sdk unit tests): Fix Bridging Header * refactor(sdk): refactor Host * fix: fix Host * fix(sdk unit tests): fix testInjectMRAIDForExpandContentEmptyFile * fix(sdk): Fix sdk name * refactor(sdk unit tests): Resolve native tests * refactor(sdk unit tests): Add TODO on failing asserts * Add injection of WKUserScript to webView to fix bug with WKWebView (#435) * Restore UI Tests for the Internal Test App with Prebid SDK (#437) * refactor(internal test app): disable native ad ui tests * refactor(sdk ui tests): Fix errors in project * Add cases for Rendering into Swift and ObjctiveC Demo Aps (#439) * refactor (DemoAppSwift): update the banner controller in order to demonstrate the integration difference better * feat (Rendering): add examples GAM + Rendering, MoPub + Rendering * refactor: use enum for integration kind * refactor: use new enum for all controllers * feat (Rendering): add In-App, GAM + Rendering, MoPub + Rendering cases to the demo app * style: code format * feat: add examples for Banner Video * refactor: update logic for selecting test cases * feat: add cases for Rewarded ads * feat (DemoObjC): add In-App Banner * feat (DemoObjectiveC): add GAM Event Handlers & MoPub Adapters to the project * feat (DemoObjectiveC): add GAM Rendering Banner * feat (DemoAppObjC): add case for MoPub banner * feat (DemoObjectiveC): add examples for MoPub Interstitial * refactor (ObjectiveCDemoApp): use enums instead of strings to determine the test case * feat (ObjectiveCDemo): add Interstitial Video examples for GAM and MoPub * feat (DemoObjectiveC): add cases for rewarded ad * fix (DemoAppObjC): corrections for Interstitial ads Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> * [RENDERING] Introduce Mediation API (#444) * feat(sdk): redesign mopub api in a more generic way * feat(EventHandlers): add new target in order to test PrebidMobileMoPubAdapters * refactor(unit tests): move MopubUtilsTest to PrebidMobileMoPubAdaptersTests * refactor(sdk unit tests): modify MoPub unit tests to mediation unit tests * refactor(Internal Test App): update classes to fit new changes * refactor(PrebidDemoSwift): update classes to fit new changes * refactor(sdk): small fixes * refactor(PrebidDemoObjectiveC): update classes to fit new changes * fix(InternalTestApp): small fixes * refactor(mediation api): small fixes * Update delegate methods for MoPub (#446) fix(Internal Test App): fix show button in PrebidMoPubRewardedAdController fix(nternal Test App)): update delegate methods * Changed Video Outstream feed list size and added placement parameter to JSON (#448) * Exposure of the bid request to publishers (#449) * refactor(sdk): make the property bidResponse in the class PBMAdLoadFlowController public * refactor(sdk): add read-only computed property lastBidResponse * refactor(sdk): add property bidResponse into DemandResponseInfo * refactor(sdk unit tests): modify PBMBannerViewTest and PBMBaseInterstitialAdUnit_DelegationTest to test lastBidResponse * fix mopub interstitial adapter (#451) * Fix DemoObjc app and light code formatting (#452) * Add app:content:url property into bid request(rendering) * Update build and test scripts (#456) * Remove codebase artifacts of rendering module (#460) * fix (DemoApp): fix build Co-authored-by: VadimKhohlovOpenX <80830172+VadimKhohlovOpenX@users.noreply.github.com> Co-authored-by: KostiantynTselykh <konstantin.tseluch@openx.com> Co-authored-by: xvadim12 <vadim.khohlov@postindustria.com> Co-authored-by: YuriyVelichkoOpenX <79920743+YuriyVelichkoOpenX@users.noreply.github.com> Co-authored-by: Olena Stepaniuk <olena.stepaniuk@postindustria.com> Co-authored-by: OlenaPostindustria <92721590+OlenaPostindustria@users.noreply.github.com> Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> Co-authored-by: MaksPetrukhnoPI <94057303+MaksPetrukhnoPI@users.noreply.github.com> * Corrections for release 1.13.0-beta1 (#466) * chore(sdk): update versions * Fix MoPub impression tracking (#463) * fix(PrebidMobileMoPubAdapters): fix impression tracking * docs(PrebidMobileMoPubAdapters): add comments to delegates * Fix MoPub Adapter podspec (#464) Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> * Fix PrebidMobile podspec (#465) * fix: restore rendering specific configs * fix: fix podspec validation * style: format code Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> * fix: fix unit tests * fix: fix pospec * fix: fix GAM EH podspec validation * fix: fix MoPub podspec validation Co-authored-by: Yuriy Velichko <yuriy.velichko@postindustria.com> Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> * [Dr.Prebid] Fix building error (#467) * Support app.content object (#468) * feat(sdk): add support of app content object * feat: add support of app content to rendering part * fix(sdk): small fixes * Add storedauctionresponse to Rendering API (#484) * Stored auction response in imp(rendering) (#485) * feat: add storedauctionresponse to imp * refactor: move setup of storedAuctionResponse to PrebidParameterBuilderService * update README for PBS details (#487) * Add custom headers to bid requests (#490) * add custom headers * remove if check for empty dictionary Co-authored-by: onko <ondra.kormanik@gmail.com> * Fix PrebidMobile warnings (#506) * Display OM SDK version in Internal Test App (#507) * feat: display OMSDK version in Internal Test App * feat: add omsdkVersion to PrebidRenderingConfig * Introduce CircleCI build for PRs (#511) * feat: add "Hello world config file" * try xcode build * fix yaml - do not use tabs * use macos job * try minimal config file * try to build SDK * fix syntax * try run build * remove tabs * fix tabs * try ls * try pwd * add checkout * run the build script * run test script * use available version of simulator * corrections for the build script, the optional flag is added * try to run command without sh * use xcode 13.1 * use full version string * skip tests for ios 13 * prepare GAMEventHandlers for distribution via xcframework * try to build PrebidMobile and PrebidMobileGAMEventHandlers together * use build script for the first phase * build without bitcode * install pods * corrections for the MoPubUnitTests target * add unit test step * use xcode 13.2 for addressing the test error * corrections for tests * comments and formatting Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> * [Release-1.13-beta2] Original GAM ad fix (#512) * Original GAM ad fix (#472) * [Dr.Prebid] Fix building error (#467) * fix: fix GAM ad * refactor: small corrections * refactor: move GAM initialisation to GAMUtils * chore: projects config changes * chore: set version to 1.13.0-beta2 in project settings and podspecs * chore: change version of PrebidMobile in podspecs s.depandancy * fix: restore embedding of sdks into apps * chore: update version in the podspecs Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> * Rebuild original native ad according to IAB specs (#510) * feat: add native ad markup objects recording to IAB standard * refactor: rebuild native ad * refactor: clean up * feat: add array getters * fix: native adm parsing fix * fix: fix adm parsing * test: add native ad creation test * fix: fix PrebidDemoSwift after original native api changes * fix: fix PrebidDemoObjectiveC after original native api changes * fix: fix adm parsing * test: add utils get dictionary from any value test * fix: fix assetsurl; add public empty inits * test: add native asset objects tests * test: add native ad array getter tests * refactor: get rid of init throwing in native ad objects * fix: fix native ad tests * feat: add property getters * refactor: clean up * Support AdMob (#520) * Introduce AdMob Adapters framework (#473) * feat: add PrebidMobileAdMobAdapters target * feat: add pods to PrebidMobileAdMobAdapters and PrebidMobileAdMobAdaptersTests targets * feat: add podspec for PrebidMobileAdMobAdapters * style: small correction * feat: update InternalTestApp for new test cases * feat: update PrebidMobileAdMobAdapters project settings * feat: update PrebidDemoSwift for new cases * feat: update PrebidDemoObjectiveC for new cases * feat: add step to run unit tests of PrebidMobileAdMobAdapters to testPrebidMobile.sh * feat: add the step to build PrebidMobileAdMobAdapters into the buildPrebidMobile.sh * Refactor Mediation API (#481) * refactor: redesign mediation API * refactor: get rid of adObject in fetchDemand * fix: fix MoPub Utils test * refactor: refactor mediation utils * refactor: add corrections to MoPub utils * refactor: correction in mopub utils * refactor: small corrections * [AdMob] Introduce the Banner Adapter (#482) * feat: add admob banner adapter * refactor: add corrections to AdMob Banner Utils * fix: add serverParameter checking * feat: add AdMob test cases to demo app * refactor: small changes in setting admit ad size * refactor: small correction for AdMob utils * refactor: rework parameter checking * refactor: some changes * refactor: some changes * refactor: small changes * refactor: small changes * [AdMob] Introduce the Interstitial Adapter (#488) * feat: add missing delegate call to banner adapter * feat: implement admob interstitial adapter * feat: add Display Interstitial 320x480 (AdMob) [OK, Adapter] test case to Internal Test App * feat: add Display Interstitial 320x480 (AdMob) [noBids, AdMob Ad] test case to Internal Test App * feat: add Display Interstitial 320x480 (AdMob) [OK, Random] test case to Internal Test App * feat: add Display Interstitial 320x480 (AdMob) [OK, Adapter] test case to Prebid Demo Swift * feat: add Display Interstitial 320x480 (AdMob) [OK, Adapter] test case to Prebid Demo Objective C * refactor: minor correction * [AdMob] Introduce Rewarded Adapter (#491) * feat: add rewarded ads adapter skeleton * feat: update rewarded adapter * feat: implement AdMob rewarded video adapter * feat: add test cases to Internal Test App * feat: add test case to Prebid Demo Swift * feat: add test case to Prebid Demo Objective C * refactor: rework rewarded adapter * chore: clean duplicated files * refactor: clean code * chore: clean code and remove duplicated file * [AdMob] Indicate the status of ad loading (#500) * feat: add indicating of the status of ad loading to AdMob interstitial controller * feat: add indicating of the status of ad loading to AdMob rewarded controller * Add video interstitial examples to Internal Test App (#501) * Mediation API: enrich the keywords and extras of third party libs in more gentle way. (#508) * refactor: rebuild ad object set up logic * fix: remove extra additional size in adaptive AdMob banner * fix: fix mediation utils test * refactor: make keyword builder existingKeywords parameter optional * Optimize the noBids case (#509) * Implement video interstitial adapter (#513) * fix: fix missing settings * [AdMob] Introduce Native adapter (#493) * feat: implement AdMob native adapter * feat: add AdMobNativeAdView * feat: add native examples to Internal Test App * refactor: rebuild MediationNativeAdUnit * fix: fix CacheManager get content method * feat: add ImageHelper * test: mute MediationNativeAdUnitTest test * fix: fix URLSession certificate error in original api * fix: mute test * [Native] Migrate PrebidMoPubNativeAdAdapter to the original API (#496) * feat: migrate MoPub native adapters to original api * feat: restore MoPub native examples * test: fix MoPub native unit tests * refactor: clean up * [Native] Migrate GAM cases in the Internal Test App to the original API (#517) * feat: migrate gam event handlers to original api * feat: migrate gam native examples to original api * refactor: some minor changes in mopub native utils * refactor: fix cases titles * [Native] Migrate In-APP cases in the Internal Test App to the original API (#518) * feat: migrate in-app cases to native api * refactor: delete unused buttons * feat: restore native ui tests * fix: fix PrebidDemoSwift * fix: fix naming * fix: minor fix * Remove Native Ads components from the Rendering API (#519) * refactor: delete rendering native components from PrebidMobile * refactor: remove native components tests * refactor: remove test * refactor: remove native components from Internal Test App * refactor: delete rendering native test * refactor: remove native event tracking rendering components * refactor: remove native errors * fix: fix test apps emulator running * Restore demo tests (#522) * fix: fix prebid demo tests * refactor: some corrections * fix: fix tests * Fix content object (#528) * Minor fixes (#525) * fix(AdMob): make delegates weak * fix: fix userAgent * refactor: change gam native ad labels * refactor: change PrebidMobileRendering to PrebidMobile * refactor: clean up AdMob native no bids test case * refactor: rename test cases labels * Add app name into Prebid Mobile request builder (#526) * Fix app.ver request parameter (#527) * Handle Blank response (RESPONSE CODE 204) in the Prebid Mobile SDK (#531) * feat: handle 204 as no bids in original api * feat: handle 204 as no bids in rendering api * refactor: some improvements in handling 204 in rendering * The proper sdk version for SPM integration (#532) * Support for Seller-Defined Audiences for First Party Data (#530) * feat: support user.data & app.content.data in original targeting * feat: add support of user.data & app.content.data to rendering part * fix(original api): delete some original api request builder tests due to changes * fix(original api): fix naming * refactor(rendering): move user.data & app.content logic to adunits * refactor(original): move user.data & app.content logic to adunits * refactor(mediation, native): move user.data & app.content.data to adunits * First party data fixes (#547) * fix: fix app.content & user.data process argument parsing * fix: fix parameter * fix(original api): revert changes to user.ext.data & app.ext.data * fix(original api): fix naming * fix(rendering): revert changes to user.ext.data & app.ext.data & fix naming * fix: fix user.ext.data * fix(rendering): fix argument parsing * chore: edit Internal Test App scheme * fix(rendering): fix test * Update versions (#548) * Settings corrections for AdMob (#549) * Unify the bid requesting for original and rendering API (#563) * [CODE UNIFICATION] Introduce protocols for Ad Unit Configuration (#550) * feat: introduce OriginalAdUnitConfigurationProtocol * feat(test): update tests * refactor: minor corrections * feat: add pbadslot api * feat(test): update tests * refactor: some improvements * refactor: handle size * feat: update test * [CODE UNIFICATION] Introduce protocols for SDK Targeting (#551) * feat: introduce OriginalTargetingProtocol * feat(test): update test * feat: update OriginalTargetingProtocol * feat: introduce OriginalSDKConfigurationProtocol * [CODE UNIFICATION] Introduce protocols for Bid Response (#554) * [CODE UNIFICATION] Use the AdUnitConfig instead of OriginalAdUnitConfigurationProtocol (#555) * feat: confirm AdUnitConfig to OriginalAdUnitConfigurationProtocol * feat: use AdUnitConfig instead of OriginalAdUnitConfigurationProtocol * feat(test): update tests * feat: remove original adunit configuration logic * [CODE UNIFICATION] Use the Prebid class instead of OriginalSDKConfigurationProtocol (#556) * feat: confirm PrebidRenderingConfig to OriginalSDKConfigurationProtocol * feat: update logging * feat(tests): update tests * refactor: rename PrebidRenderingConfig to PrebidConfiguration * feat: use PrebidConfiguration instead of Prebid * fix: some improvements in configId setup * fix: minor fixes * feat: remove intermediate original sdk configuration api protocol & update tests * refactor: rename PrebidConfiguration to Prebid * refactor: renaming * [CODE UNIFICATION] Use the PrebidRenderingTargeting class instead of OriginalTargetingProtocol (#557) * feat: confirm PrebidRenederingTargeting to OriginalTargetingProtocol * feat: rename PrebidRenderingTargeting to Targeting & use Targeting * fix: fix test apps * feat(tests): update tests * chore: move files to respective folder * fix: fix naming * [CODE UNIFICATION] Use the BidResponseForRendering class instead of OriginalBidResponseProtocol (#558) * feat: confirm BidResponseForRendering to OriginalBidResponseProtocol * feat: use BidResponseForRendering instead of BidResponse * feat: rename BidResponseForRendering to BidResponse * [CODE UNIFICATION] Use bid requesting engine from the rendering codebase in the original API (#560) * feat: implement custom headers in rendering module * feat(test): add test of request with custom headers * feat: replace original bid request engine with rendering one * feat: delete unused classes & update * refactor: rename FetchDemandResult to ResultCode * refactor: revert naming & add new cases to ResultCode * Use original targeting and Prebid API in bid requesting (#562) * feat: implement pbadslot in rendering bid requesting & add tests * feat: implement omid source in rendering bid requesting & add tests * feat: implement subjectToCOPPA & subjectToGDPR in rendering bid requesting * feat: update targeting coppa & add tests of subjectToCOPPA and subjectToGDPR in bid request building * feat: implement gdprConsentString in rendering bid requesting & add tests * refactor: delete rendering userAge logic & use yearOfBirth instead * feat: make coppa optional & fix tests * feat: handle http cookies * feat: handle eids from original api * feat: handle store url * feat: handle domain in bid requesting * feat: handle iTunes id * feat: handle Prebid timeoutUpdated * feat: handle pbsDebug * feat: handle shareGeoLocation * feat: handle storedBidResponses & add tests * feat: update tests * Fix test apps (#564) * Multiformat Interstitial Ad Unit (#565) * feat: change adFormat to a Set of adFormats * faet: distinguish the winning bid via ext.prebid.type * feat(Internal Test App): add In-App Multiformat Interstitial test case * feat(InternalTestApp): add GAM multiform interstitial test case * fix: fix winningBidAdFormat setup * feat(InternalTestApp): add MoPub and AdMob multiformat interstitial daunt * refactor: clean up * feat: update tests * fix: fix display view winningBidAdFormat * feat: handle winningBidAdFormat is nil * Unify Prebid logging system (#574) * refactor: rework Log * feat: add objective c log api * refactor: change PBMLog to Log * refactor: remove PBMLog logic * feat(test): update tests * fix: fix test * feat(test): add log tests * fix: small correction * fix: fix test * refactor: clean LogLevel * refactor: enhance isLoggingEnabled check * refactor: add PBM prefix to log mac roses * Native and video ads fixes (#583) * fix: fix native request * refactor: clean up * feat: add tests * feat: fix video with companion ad * feat: add caching for native * refactor: minor change * refactor: handle no bids * fix: fix refreshInterval * refactor: clean * Updated endpoint for Xandr requests (#577) * Shut down MoPub (#603) * chore: drop the MoPub adapters codebase and targets * chore: drop MoPubAdapter's podspec * chore: drop MoPub dependency from the Podfile * chore: remove steps for building and testing MoPub adapters * chore: withdraw MoPub from DemoAppSwift * withdraw MoPub from DemoAppObjC * chore: withdraw MoPub from InternalTestApp * fix unit tests for InternalTestApp * test: remove MoPub UI tests for internal test app * tests: remove dependency from the DemoApp tests * tests: remove all mentions of mopub from the InternalTestApp UI tests * chore: remove all mentions of mopub from the rendering codebase * chore: mark a util mopub method in the original sdk as deprecated * chore: more cleanups * Revert "chore: drop MoPubAdapter's podspec" This reverts commit 25d4ae3cd4b4dac17fc25c81eb0c04090942b9b9. * chore: remove podspec for mopub adapters * chore: fix build of Dr.Prebid Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> * Introduce video rendering controls (#604) * [RENDERING CONTROLS] Introduce the maxVideoDuration property (#576) * feat: add maxVideoDuration property * feat: add video duration checks * feat(test): add tests * refactor: clean up * feat: add examples of usage of maxVideoDuration to Internal Test App * [RENDERING CONTROLS] Introduce the isMuted property (#579) * feat: introduce isMuted property * feat: introduce isMuteControlsVisible property * feat(test): add tests * refactor: renaming * fix: fix tests * [RENDERING CONTROLS] Introduce the closeButtonArea property (#582) * feat: introduce close button area * feat: add usage examples to Internal Test App * feat(test): add tests * refactor: rebuild button size and button constraint calculation * [RENDERING CONTROLS] Introduce the closeButtonPosition property (#584) * feat: introduce close button position * refactor: rename btnRadius * feat: add tests * refactor: rework position enums * Skip button properties and tech enhancements (#600) * feat: rebuild button decorators using swift * feat: introduce skipDelay, skipButtonArea, skipButtonPosition * feat: add usage example to Internal Test App * feat: small correction * refactor: rework button area property * feat: add tests * feat: remove duplications * feat: tech enhancement for adConfiguration * refactor: delete wrapped up values from AdUnitConfig * fix: fix auto refresh delay * fix: small fixes * fix: fix calculateCloseDelayForPubCloseDelay test * fix: fix ui test * refactor: rewrite Position enum on Swift * feat: add handle skip delay test * refactor: minor improvements * refactor: minor change * chore: update pod version * fix: fix test * fix: fix import error * fix: minor change * fix: fix testSkipOffset * Migrate InternalTestApp from mock server to pbs on aws (#607) * Migration: Banner cases internaltestapp from mock server to pbs on aws (#581) * configured banner cases on abs on was * removed mock server switcher * fixed typo in banner with incorrect vast (cherry picked from commit a9c1e5b007169727df4ec804de6b7d04eba4443c) * Migration: display interstitial cases from mock server to pbs on aws (#596) * configured display interstitial cases (cherry picked from commit 4f38cb99e27c8c9058c0e7303a873e00f23a00ba) (cherry picked from commit 6a79a47660b29a675b1443cc23674e9da5a8a0d9) (cherry picked from commit c1a0522d835f3a614f039f50ac61a2628ee2328a) * added multi bid response test case (cherry picked from commit 047eb6a2a1af3abc7ab93f40d909fe52100bd64d) (cherry picked from commit d3e14d78c581bf6824fc2b190c0302da9f710f7b) (cherry picked from commit 0f8d231b9c28105bb0659ef012e9eea6ce746cb3) * added multiform interstitial (in-app) test case (cherry picked from commit 71ca94baaf92ab38583be744691ef68ccb0f8a46) (cherry picked from commit fdff4d8642943fd7026201e3f4a23565315d8fca) (cherry picked from commit e4ebc3cd2d472eac5f9fdd2baed7be56158b0a51) * added stored auction response field in adapter ads controllers (cherry picked from commit b78c6bed38ec96f789c9a865e7e7faf0f129d2b6) (cherry picked from commit 6d124c1f64094b2b0baeff9d28ac744c7a4036d2) (cherry picked from commit ddd419cd37cf954625d2ffcde7c8212cb30f44dd) * added deinit in adapter controllers for cleaning storedAuctionResponses * added random stored auction response selection * Migration: Video cases from mock server to pbs on aws (#599) * configured video test cases * configured video out stream feed test case * changed video interstitial case for gam * fixed lines indent * configured MRAID test cases (#602) * fixed native ad (#605) * removed mock dependencies from internaltestapp * Send nested targeting params from the original API in the Bid Requests (#606) * feat: add banner and video parameters to request building * refactor: minor improvement * feat: add adformat to original daunt * refactor: small correction * refactor: clean after rebase * feat: extract banner and video nested parameters classes * feat: add banner and video parameters properties to rendering adunits * refactor: revert adding ad format property to original ad unit * fix: add adFormat default value for VideoBaseAdUnit * chore: delete in-app purchases from Internal Test App * refactor: use videoParameters maxDuration instead of adConfig property maxVideoDuration * refactor: replace placementType with videoParameters.placement * chore: clean * fix: use new banner and video parameters classes in tests * refactor: delete default values for video parameters * fix: fix & update tests * fix: restore VIDEO_PLACEMENT_TYPE option for processArgumentsParser * fix: fix test apps * refactor: make video and banner parameters lazy and get-only in rendering api * refactor: add nil parameter checks while building request * refactor: update test * Introduce the MAX Adapters (#616) * [MAX] Introduce the MAX Adapters framework (#609) * chore: add Max framework target * chore: update podfile to use ApplovinSDK * feat: prepare ui in test apps for max examples * chore: add step to build PrebidMobileMAXAdapters to buildPrebidMobile * chore: add step to test PrebidMobileMaxAdapters to testPrebidMobile * chore: update project settings * chore: add podspec for max adapters * chore: update max adapters project settings * chore: update pod file * chore: update scheme settings * chore: update IPHONEOS_DEPLOYMENT_TARGET & set signing to none * chore: set signing to none in max tests * chore: update deployment target for max tests * chore: update deployment version for admob tests * [MAX] Implement MAX SDK Adapter and MAX Banner Adapter (#611) * feat: implement PrebidMAXMediationAdapter * feat: add initialisation of Applovin SDK to test apps * feat: implement max banner adapter protocol * refactor: move PBMVCForModalPresentationKey constant to prebid sdk * feat: add MAX banner test cases to Internal Test App * fix: change max ad unit id for banner 300x50 case * refactor: minor improvements * feat: add MAX banner test case to PrebidDemoSwift * feat: add MAX banner test case to PrebidDemoObjectiveC * feat: implement cleanUpAdObject * feat: add MAX Utils tests * refactor: minor improvements * refactor: clean * fix: resolve location of PrebidMAXMediationAdapter file * Revert "feat: add MAX banner test case to PrebidDemoSwift" This reverts commit be0751008150a34a60ffad628f1695ddb530b3ad. * Revert "feat: add MAX banner test case to PrebidDemoObjectiveC" This reverts commit 576fcb6af79aaeb6e58022293fa7724c910013a1. * feat: change MAX adapter version * [MAX] Introduce Interstitial and Rewarded Adapters (#612) * feat: implement interstitial and rewarded adapters * feat: add interstitial and rewarded test cases * refactor: rework ad server parameter checking * [MAX] Introduce Native Adapter (#613) * feat: implement native adapter * chore: resolve missing tests folder * feat: add max native test examples * refactor: clean * Server-side video ad configurations & bug fixes (#618) * feat: implement ortb classes that represents prebid passthrough and ad config * feat: handle server video ad configs * feat: add & update tests * fix: fix video memory leak * fix: fix duplicated call of completeVideoViewDisplayWith in PBMVideoView * feat: implement ext.passthrough to test server-side ad configuration * feat: add test case for interstitial with end card with ad config * fix: fix native ad links example * fix: fix testBannerWithGDPR - disable failure expectations * Migrate Swift Demo App to pbs on aws (#614) * chore: small UI corrections. Migrate In-App banner case to BPS on AWS * chore: some corrections * chore: use another stored resposne * chore: migrate banner cases to aws * chore: migration of Interstitial cases * chore: prepare rewarded cases * small changes for instream ads * remove mentions of openx * small format code * fixes after parameters Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> * Add missing delegates calls (#619) * feat: add missing delegate calls * feat: minor correction for max banner controller * refactor: minor correction * Restore and migrate demo apps to PBS on AWS (#624) * feat: restore original and rendering banner and interstitial test cases * feat: add video banner rendering examples * feat: restore rewarded cases * feat: add size constraints to banner in swift demo app * chore: resolve missing folder and file in project settings * feat: restore GAM original banner native * feat: add native rendering examples * refactor: implement native ad renderer & refactor * feat: restore native original in app gam case * feat: add max banner case to swift demo * feat: add max interstitial test case to swift demo * feat: add max rewarded test case to swift demo * feat: add max native in app case to swift demo * refactor: remove return from Internal Test App max cases * feat: add comment & fix missing returns * refactor: some improvements * feat: restore native in-app objc example * feat: add banner & banner video examples to objc demo * feat: add interstitial display & video max test case to objc demo * feat: add rewarded max case to objc demo * refactor: add constant class * feat: add missing banner video examples to swift demo * refactor: small corrections * refactor: small correction * refactor: small correction * Support video controls in mediation & corrections (#625) * feat: rework mediation setup extras logic * feat: add support of video controls to mediation ad units * feat: add default values for linearity and placement * feat: set button image alignment to fill the whole space * refactor: small correction * feat: update tests * feat: delete duplicated account id property * feat: change labels for max * feat: make isMuted false by default * fix: fix after rebasing * feat: update tests * feat: update tests * feat: update tests * Restore parameters classes in original API & corrections (#626) * feat: restore parameters class and mark it deprecated * feat: replace stored response for original video gam * feat: add storedResponse for original GAM banner video integration * Release 2.0.0 (#627) * chore: update frameworks' version * chore: update podspec * chore: clean indentations * Fix video click events & corrections (#629) * fix: fix duplicated event/rc call * feat: add additional test cases with skadn 2.2 * feat: set auto display on load for interstitial ad to false * fix: fix tests & clean unnecessary URLSession logic in TrackerManager * chore: update settings & delete framework duplications * Fix creativeDidComplete missing call in rewarded ad with end card (#630) * fix: fix missing creativeDidComplete call for rewarded with end card * fix: update tests * refactor: clean * Implement optional bid caching (#634) * feat: implement optional caching * feat: update test * feat: minor correction in tests * feat: add hb_cache_id to winning bid markers if caching is enabled * feat: migrate PBMAgeUtils class to swift * feat: migrate PBMDateFormatService to swift * Set the multiformat ad unit as a default for interstitial ads (#638) * feat: make multiformat default for interstitial * feat: set multiformat default for mediation interstitial ad unit * feat: set BaseInterstitialAdUnits and MediationBaseInterstitialAdUnit as multiformat * Support win and imp events in rendering API (#637) * feat: support ext.prebid.win and ext.prebid.imp in bid response * feat: add * feat: add events firing to native * feat: add test cases * feat: update test * refactor: add nil checking for events * refactor: move win tracking to native ad creation * feat: add InternalEventTracker * chore: update visibility for event manager * refactor: update transaction property * feat: update tests * feat: migrate PBMEventManager to swift * fix: add nil checking to some event trackers * refactor: small fix * feat: rename InternalEventTracker to PrebidServerEventTracker * refactor: create win tracker instead of simple url firing * feat: make PrebidServerEventTracker receive multiple server events * Utilize MAX's privacy settings in the adapter & improvements (#643) * feat: set subjectToCOPPA with ALPrivacySettings.isAgeRestrictedUser * feat: migrate PBMServerConnection and PBMServerConnectionProtocol to swift * feat: migrate PBMServerResponse to swift * fix: fix after rebasing * Update path for omsdk (#644) * Initialization improvements (#645) * feat: migrate PBMPathBuilder to swift & rework * feat: add server status check to init sdk * fix: update test * refactor: clean * refactor: make Prebid init work in objc * refactor: provide Prebid init status to publisher * Remove unused classes & improvements (#647) * feat: migrate PBMReachability to swift & remove duplicated class from original api * refactor: delete unused PBMBaseAdUnit * refactor: delete unused LocalResponseInfoCache and PBMCachedResponseInfo * refactor: remove NSDictionary+PBMORTBNativeExt * Fix banner API signals (#649) * feat: add default banner api signals only to rendering adunits * feat: update tests * chore: remove PBMSupportedProtocolsParameterBuilder * refactor: clean * fix: fix tests * Vertical and landscape cases for Internal Test App (#650) * add cases for vertical and landscape video * changes after pod install Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> * Improvements for video ads (#653) * fix: fix learn more button appearing in rewarded ad * fix: fix button size calculation * fix: fix white background for internal web view * feat: add vertical and landscape video cases to Swift Demo * feat: add vertical and landscape examples to ObjC Demo * fix: use UIApllication status bar orientation to determine screen width * refactor: update logic for learn button * fix: update tests * fix: update tests * Skip button improvements (#660) * feat: set default skip button position to topLeft * fix: update test * Cache switch button for caching (#659) * added enable cache switch (cherry picked from commit 929332c186f3a4ef2e1250d6be4f6a85d6234f80) * feat: add constraints to caching switch * chore: update pod version Co-authored-by: Olena Stepaniuk <olena.stepaniuk@postindustria.com> * Update OMSDK (#655) * chore: update omsdk * chore: update vendored frameworks for PrebidMobile podspec * chore: update omsdk.js * chore: update PrebidMobile podspec & fix pod lib lint error * chore: delete excluded archs from AdMob adapters and GAM Event Handlers * chore: turn off shared box for event handlers * chore: delete unnecessary limits for archs in podpecs * chore: update scheme settings - mark all schemes shared except event handlers schemes to fix test running * chore: add missing step for building AdMob Adapters to build script * chore: update OMSDK to be embedded and signed in PrebidMobile * Custom video configuration cases from API (#663) * feat: rework custom video config cases * fix: small correction * Remove support of calendar and storePicture features of MRAID (#662) * feat: delete calendar and storePicture MRAID functionality * feat: remove dependancy on EventKitUI * feat: update ui tests & update info.plist * Fix OM SDK issue (#664) * feat: replace omsdk with static one & update podspec * fix: update tests * Update Internal Test App ui test cases (#665) * Improvements & fixes (#667) * feat: explicitly add adformats in test case manager * fix: fix autorotate * fix: small fix * feat: remove adFormats for multiformat cases * fix: update test cases * Release 2.0.1 (#668) * chore: update project version to 2.0.1 * chore: update podspecs version to 2.0.1 * chore: update EventHandlers' podspecs to exclude i386 to pass validation * Update README to contain Carthage section (#669) * Add missing xcassets resources import on .podspec (#671) Without this, the ads do not show icons like close, skip, sound, etc. * Update release version to 2.0.2 (#672) * chore: update project versions * chore: update pod spec versions * feat: update Prebid version in the code * Update README(#673) * Fix Content-Type value check (#675) * fix: fix content type check * feat: add unit tests * refactor: small correction * Fix infinite loop (#677) * fix: fix infinite loop in user agent service * fix: fix infinite loop in web view * Add tap gesture recogniser to rewarded without end card (#679) * Update version to 2.0.3 (#680) * Update readme (#681) Co-authored-by: Vadym Khokhlov <80830172+VadimKhohlovOpenX@users.noreply.github.com> Co-authored-by: Yuriy Velichko <yuriy.velichko@postindustria.com> Co-authored-by: KostiantynTselykh <konstantin.tseluch@openx.com> Co-authored-by: xvadim12 <vadim.khohlov@postindustria.com> Co-authored-by: YuriyVelichkoOpenX <79920743+YuriyVelichkoOpenX@users.noreply.github.com> Co-authored-by: Olena Stepaniuk <olena.stepaniuk@postindustria.com> Co-authored-by: OlenaPostindustria <92721590+OlenaPostindustria@users.noreply.github.com> Co-authored-by: Yuriy Velichko <yuriy.velichko@openx.com> Co-authored-by: MaksPetrukhnoPI <94057303+MaksPetrukhnoPI@users.noreply.github.com> Co-authored-by: bretg <bgorsline@gmail.com> Co-authored-by: Marcel Klínek <1367467+marcelklinek@users.noreply.github.com> Co-authored-by: onko <ondra.kormanik@gmail.com> Co-authored-by: Abhas Vohra <42031593+avohraa@users.noreply.github.com> Co-authored-by: jovencinho <fermin87@gmail.com>
- Loading branch information