-
Notifications
You must be signed in to change notification settings - Fork 0
SDK Migration
d.eshenko edited this page Dec 28, 2022
·
1 revision
This page covers migrations for current and previous versions.
The table below lists the removed/replaced methods in version 3.0.
Removed | New |
---|---|
.create(managerID:, onInit:) |
.buildManager().create(withCasId:) |
Removed | New |
---|---|
.init(manager:) |
.init(adSize:, manager:) |
.delegate:CASCallback |
.adDelegate: CASBannerDelegate |
.isRefreshAdaptiveSizeWhenChangingOrientation: Bool |
.isAutoloadEnabled: Bool |
Removed | New |
---|---|
.handler: CASAnalyticsHandler |
.delegate: CASAnalyticsDelegate |
Removed | New |
---|---|
.loadRewardedVideo() |
.loadRewardedAd() |
.isAdReady(type:): Bool |
.isInterstitialReady: Bool , .isRewardedAdReady: Bool
|
.show(fromRootViewController:, type:, callback:) |
.presentInterstitial(fromRootViewController:, callback:) , .presentRewardedAd(fromRootViewController:, callback:)
|
.setBanner(size:) |
CASBannerView.adSize: CASSize |
.hideBanner() |
CASBannerView.isHidden: Bool |
.setManualPauseControl() , .onPause() , .onResume()
|
No longer supported |
.getLastActiveMediation(type:): String |
No longer supported |
.isValidCallback(type:, callback:): Bool |
No longer supported |
Removed | New |
---|---|
.getTestDeviceIDs(): [String] |
You only can set list of test Ids ussed .setTestDevice(ids:)
|
.isExecuteCallbacksInUIThread() |
Callbacks from background thread is no longer supported. |
.setPluginPlatform(name:, version:) |
CAS.buildManager().withFramework(name, version) |
- Project Setup
- Advanced integration
- Additional mediation steps
- AppStore data disclosure
- App-ads.txt🔗