Changelog
View as Markdown
Ask AI about this page
Releases are tagged in Qartvelo-com/ads. The Android SDK, the iOS SDK, the AdMob adapters and the React Native plugin share one version number.
- Android: HTML5 banners in React Native. An HTML5 ad could stay blank in a React Native app on Android: React Native sizes the banner with a direct layout call that fires no global-layout callback, so the banner was never seen on screen and the ad stayed paused before its first frame. The banner now re-checks whether it is on screen before each frame (a no-op when nothing changed).
- React Native iOS with
use_frameworks!: apps that build pods as frameworks (for example apps with Firebase, or Expo’sios.useFrameworks) failed to compile with'RNQartveloAds-Swift.h' file not found. The package now imports the Swift header in both layouts. - Ad color mode from the dashboard: when the app’s owner sets Ad color mode to Always light
or Always dark on the app in the Qartvelo Ads dashboard, HTML5 ads that come in a light and a dark
version show that version (
config.ad_color_schemein the initialize response). Match the app (the default) keeps following the app’s light or dark theme. No code changes in apps. - MCP server:
get_app_configandtest_ad_requesttake an optionalplatform(androidorios), so apps registered for iOS can be checked too.
- HTML5 ads: banners and interstitials can show HTML5 ads made in the Qartvelo Ads editor.
Banner and interstitial requests send
supported_creative_types: ["image","video","html5"](rewarded stays image and video). The SDK downloads the served layout’s files ahead (at most 2 MB per ad, only plain relative paths) and shows the ad in a locked web view: JavaScript runs, but there is no JavaScript bridge, no storage or cookies, and only the ad’s own files load (Android: no DOM storage, no file or content access, no third-party cookies; iOS: a non-persistent data store, a privateqartvelo-bundlescheme and content rules that blockhttpandhttps). The impression counts when the ad reports ready (window.__qartvelo.ready) and is visible; an ad that is not ready within 6 seconds is a creative failure, so banners fall back to AdMob and interstitials report no ad or load the fallback. Any navigation from the ad counts as one click and opensclick_urloutside the app. Animations pause while the banner is hidden or the app is in the background. Nothing changes in apps; older SDKs keep receiving the static image versions of the same design. - HTML5 test ads: in test mode, banners and interstitials get built-in animated HTML5 test ads
(
cr_test_banner_html5,cr_test_interstitial_html5). Rewarded keeps the video test ad. - Inline banners for banners inside scrolling content:
sizing = BannerSizing.INLINEandinlineMaxHeightDpon Android,sizing = .inline(QartveloBannerSizing) andinlineMaxHeighton iOS, both with a default max height of 250 (at least 32). The ad takes the biggest size that fits the width and max height, keeping its proportions (rectangles allowed), and the banner is exactly as tall as the ad. Width changes refit the ad without a new request. Inline sizing wins overusesAdaptiveSize; the default anchored sizing is unchanged. Banners of the same placement share one ad, so an anchored and an inline banner on the same screen need two placements. - Inline banner requests send
banner_mode: "inline"andbanner_max_height(pixels, likescreen_width) and nobanner_height. The backend scales every image creative and HTML5 layout to fit the slot and serves the one with the largest area. - Inline AdMob fallback: inline banners fall back to Google’s inline adaptive banner
(
AdSize.getInlineAdaptiveBannerAdSizeon Android,inlineAdaptiveBanner(width:maxHeight:)on iOS). Custom adapters can implement the new optionalInlineBannerFallbackinterface on Android, or the newcreateInlineBanner(placementId:adUnitId:width:maxHeight:rootViewController:callback:)method onQartveloFallbackAdapteron iOS (the default returnsnil). Adapters without it get their anchored banner. - React Native:
<QartveloAdsBanner size="inline" maxHeight={250} />(sizedefaults to'anchored',maxHeightto 250). - React Native: the copy of the iOS SDK bundled with the package is in sync with the native SDK again; in 0.5.1 it was out of date.
- Android adaptive banners:
QartveloAdsBannerViewnow reserves the same compact anchored adaptive slot as iOS: the full view width and 50 to 90 dp tall. With the AdMob adapter, the height is exactly Google’s anchored adaptive banner height, so a Qartvelo Ads banner and the AdMob fallback banner are the same size. Before, the banner took the creative’s aspect ratio, about 51 dp on a 1080 px wide phone against AdMob’s 64 dp. Requests now send the slot (screen_widthandbanner_heightin pixels) so the backend picks a creative that fits, and the image is drawn aspect-fit. When the view’s width changes, the height follows without a new request. usesAdaptiveSizeon the Android banner view (default true), like iOS: set it tofalsefor an inline rectangle or the previous creative-sized layout.AdaptiveBannerSizer: an optional interface for custom fallback adapters to report their anchored banner height. The AdMob adapter implements it.- React Native: banners follow the native height on both platforms; the usage guide has a new AdMob fallback section.
- One-place AdMob setup for React Native: an Expo config plugin
(
["@qartvelo/react-native-ads", { "admob": { ... } }]) and, for bare React Native, the same object under"@qartvelo/react-native-ads"inapp.json. Both enable the adapter, write the App IDs and Google’s SKAdNetwork list, and validate the App IDs. The 0.4.x flags keep working. - Per-platform options:
appKeyandadmobAdUnitsvalues accept{ android, ios }. preloadandloadIfNeededin the React Native API.- Setup issues: a wrong package or platform for the app key, and placement codes the dashboard
does not have, are reported once (
onSetupIssueon Android,qartveloAdsDidReportSetupIssueon iOS, thesetupIssueevent and a development warning in React Native). Setup issues work without the backend’s newerror.details; with it, the messages also name the registered package and platform. - TypeScript: code that switches exhaustively on
QartveloAdsEventtypes must handle the newsetupIssueevent. - AdMob test units in debug builds:
admobTestUnitsInDebugBuilds(default true) on Android. Native Android debug builds now use Google’s test units for the AdMob fallback by default, even with test mode off; setadmobTestUnitsInDebugBuilds = falseto restore the old behaviour (your real AdMob units from a debug build). The option is accepted and ignored on iOS. - Packaging:
com.qartvelo.ads:admobbringsplay-services-adsat runtime scope, so React Native 0.83 (Kotlin 2.1) builds with the adapter; the React Native module no longer adds JitPack and GitHub Packages for 0.3.4 and later. Apps that call Google’s AdMob API directly must declare play-services-ads themselves; the adapter no longer exposes it at compile time. - Android AdMob fallback banner size: the adapter now requests Google’s standard anchored adaptive banner, like iOS and as documented. It requested the large anchored variant, which is about twice as tall on phones (128 dp instead of 64 dp at 411 dp width).
- React Native iOS support: the same JavaScript API now bridges the Swift SDK through a
TurboModule and Fabric adaptive banner. Initialization, interstitials, rewarded results,
readiness, privacy and lifecycle events are supported. Simulator and non-App Store installs
keep the native SDK’s non-billable test mode, even with
testMode: false. - Simple iOS installation: the npm package includes the canonical Swift SDK sources and
privacy manifest. CocoaPods autolinks
RNQartveloAds; no separate Qartvelo pod publication or Swift Package Manager dependency is needed. Enable the optional AdMob adapter withENV['QARTVELO_ADS_ADMOB_ENABLED'] = 'true'in the Podfile and set the iOS AdMob App ID. - React Native example cleanup: starts automatically in test mode, with banner Hide/Show,
interstitial and rewarded Load/Show buttons and an optional event log. Configuration lives in
src/AppConfig.ts; the backend URL input and debug controls were removed. - CI builds the React Native iOS example with and without AdMob. Developer docs, AI skill and MCP integration guidance now cover React Native iOS.
- Native Android and iOS SDKs: shared version bump; ad-serving behavior is unchanged.
- iOS SDK:
QartveloAdsand the optionalQartveloAdsAdMobadapter (Google Mobile Ads 12) for iOS 13+, with Swift Package Manager (https://github.com/Qartvelo-com/ads) and CocoaPods. Banner view, interstitial and rewarded ads, the same remote configuration, fallback, test mode and event rules as Android. The Simulator and all non-App Store installations (including TestFlight) always use test mode, even whentestMode = false; the legacytestModeInDebugBuildsoption is ignored. Only physical App Store installations with a production receipt present may serve live traffic. When registration or fill is unavailable in test mode, iOS fetches public server test creatives without requiring a valid app session. See iOS installation. - iOS adaptive banners: compact 50 to 90 point heights, using the AdMob adapter’s standard size
calculation when linked. Adaptive requests select horizontal creatives by slot proportions;
inline rectangles use
usesAdaptiveSize = false. Public test banners have Retina artwork at 960x150, 1320x204 and 2184x270 pixels. - Backend: apps have a platform (Android or iOS, bundle ID for iOS), an app key only works on its
own platform (
platform_mismatch), and campaigns can target platforms. - Android and React Native: no changes besides the version number.
- Maven Central:
com.qartvelo.ads:coreandcom.qartvelo.ads:admobare published to Maven Central, somavenCentral()is all you need; the JitPack repository line can be removed. JitPack and GitHub Packages keep working. The artifacts now include javadoc jars and are GPG-signed. React Native and Expo apps need no extra repository. - Emulators are always in test mode, like AdMob test devices: ads are labelled “Test ad” and
never billed, even in release builds. The SDK reports
is_emulatorand the backend enforces it.
- Test mode turns itself on in debuggable (developer) builds, like AdMob test devices. Release
builds are unaffected. Opt out with
testModeInDebugBuilds = false(Android) ortestModeInDebugBuilds: false(React Native). - Test ads are labelled Test ad instead of Ad on banners, interstitials and rewarded videos.
- Backend: in test mode an approved app now gets the real creative a live request would win,
flagged
"test": trueand never billed, instead of the built-in placeholder (which is still used for unapproved apps and when nothing matches).
- The “Ad” badge on Qartvelo Ads banners, interstitials and rewarded videos is now a link: tapping
it opens the Qartvelo Ads website with
?ref=<app package name>. It is not an ad click: no click event is sent,onClickedis not called and the advertiser’s page is not opened. AdMob fallback ads are unchanged.
- React Native plugin: fixed the Android build on React Native versions before 0.87, where
QartveloAdsBannerHostViewfailed to compile because it used an event-dispatcher overload that only newer React Native versions have. Apps that patchednode_modulesfor this can drop the patch. - Android SDK, AdMob adapter and MCP server: version bump only, no functional changes.
- Short Maven coordinates:
com.qartvelo.ads:coreandcom.qartvelo.ads:admob, identical on JitPack, GitHub Packages andmavenLocal(). - Repository moved to
Qartvelo-com/ads. - The React Native plugin depends on
com.qartvelo.ads:core; the group-switch Gradle property was removed.QartveloAds_sdkVersionstill pins the native version. - Native sample renamed to
com.qartvelo.sample.
First public release.
- Android core SDK (
com.qartvelo.sdk): banner, interstitial and rewarded ads, creative caching, remote configuration with offline cache, ordered event delivery with retries. - Optional AdMob fallback adapter with parallel preloading and automatic discovery.
- React Native plugin
@qartvelo/react-native-ads: TurboModule and Fabric banner on the New Architecture. - Native sample app and React Native example app.