Skip to content

Releases

0.6.1

Choose a tag to compare

@github-actions github-actions released this 20 Oct 04:40
  • 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's ios.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_scheme in 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_config and test_ad_request take an optional platform (android or
    ios), so apps registered for iOS can be checked too.

0.6.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 03:47
  • 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
    private qartvelo-bundle scheme and content rules that block http and https). 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 opens click_url
    outside 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.INLINE and
    inlineMaxHeightDp on Android, sizing = .inline (QartveloBannerSizing) and inlineMaxHeight on
    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 over
    usesAdaptiveSize; 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" and banner_max_height (pixels, like
    screen_width) and no banner_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.getInlineAdaptiveBannerAdSize on Android, inlineAdaptiveBanner(width:maxHeight:) on iOS).
    Custom adapters can implement the new optional InlineBannerFallback interface on Android, or the
    new createInlineBanner(placementId:adUnitId:width:maxHeight:rootViewController:callback:) method on
    QartveloFallbackAdapter on iOS (the default returns nil). Adapters without it get their anchored
    banner.
  • React Native: <QartveloAdsBanner size="inline" maxHeight={250} /> (size defaults to
    'anchored', maxHeight to 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.

0.5.1

Choose a tag to compare

@github-actions github-actions released this 09 Oct 11:23
  • Android adaptive banners: QartveloAdsBannerView now 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_width and
    banner_height in 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.
  • usesAdaptiveSize on the Android banner view (default true), like iOS: set it to false for 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.

0.5.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 10:13
  • 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" in app.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: appKey and admobAdUnits values accept { android, ios }.
  • preload and loadIfNeeded in 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 (onSetupIssue on Android, qartveloAdsDidReportSetupIssue on
    iOS, the setupIssue event and a development warning in React Native). Setup issues work without
    the backend's new error.details; with it, the messages also name the registered package and platform.
  • TypeScript: code that switches exhaustively on QartveloAdsEvent types must handle the new
    setupIssue event.
  • 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; set admobTestUnitsInDebugBuilds = false to restore the old behaviour (your real
    AdMob units from a debug build). The option is accepted and ignored on iOS.
  • Packaging: com.qartvelo.ads:admob brings play-services-ads at 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).

0.4.1

Choose a tag to compare

@github-actions github-actions released this 08 Oct 23:15
d70334f
  • 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 with
    ENV['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.

0.4.0

Choose a tag to compare

@github-actions github-actions released this 08 Oct 22:12
ad1cecf
  • iOS SDK: QartveloAds and the optional QartveloAdsAdMob adapter (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 when testMode = false; the legacy testModeInDebugBuilds option 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–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.

0.3.4

Choose a tag to compare

@github-actions github-actions released this 08 Oct 01:35
5035135
  • Maven Central: com.qartvelo.ads:core and com.qartvelo.ads:admob are published to Maven
    Central, so mavenCentral() 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_emulator and the backend enforces it.

0.3.3

Choose a tag to compare

@github-actions github-actions released this 08 Oct 00:22
d35dd11
  • Test mode turns itself on in debuggable (developer) builds, like AdMob test devices. Release
    builds are unaffected. Opt out with testModeInDebugBuilds = false (Android) or
    testModeInDebugBuilds: 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": true and never billed, instead of the built-in placeholder (which is still
    used for unapproved apps and when nothing matches).

0.3.2

Choose a tag to compare

@kakha13 kakha13 released this 07 Oct 23:27
bfd57b0
0.3.2: the "Ad" badge links to the Qartvelo Ads website with ref=<pac…

0.3.1

Choose a tag to compare

@kakha13 kakha13 released this 07 Oct 22:54
4608d37

Fixes the React Native Android build on React Native versions before 0.87.