displayio_sdk 0.2.1 copy "displayio_sdk: ^0.2.1" to clipboard
displayio_sdk: ^0.2.1 copied to clipboard

Flutter plugin for the DIO (Display.io) ad SDKs — banner, infeed, interstitial, interscroller, audio and native ads on Android and iOS through one Dart API.

0.2.1 #

Fixes the iOS build of 0.2.0.

  • DioAdOptionsApplier.swift used FlutterStandardTypedData — the type backing the new DioInGameAudioConfig(icon:) field — without importing Flutter, so every iOS build of 0.2.0 failed with "Cannot find type 'FlutterStandardTypedData' in scope". Android was unaffected.

0.2.0 #

In-Game Audio customization and a card-less mode.

  • Card styling (DioInGameAudioConfig): background gradient, progress ring track and progress colours, accent colour, badge colours, corner radius, ring width, and switches for the AD badge, the now-playing indicator and the ring. Every field is optional and an unset one keeps the SDK default.
  • Your own image in the card: DioInGameAudioConfig(icon:) takes encoded PNG/JPEG bytes and iconPadding the gap around them. The image replaces the default audio bars, takes no touches, and yields to the campaign's companion.
  • Card-less mode: DioInGameAudioConfig(showCard: false) drops the UI and keeps the audio. DioInGameAudioAd.play() / .pause() drive it — nothing is heard until play, and the impression is counted when playback starts rather than on viewability. DioInGameAudioAd.hasCard reports which mode the ad is in, and preferredSize is no longer reported when there is no card.
  • Companion suppression: DioInGameAudioConfig(companionEnabled: false) keeps the card on its own artwork; the SDK does not even load the companion.
  • Native SDKs raised to Android 5.8.1 and iOS 4.8.1, where this API lives.

0.1.0 #

New ad format and a diagnostic API.

  • In-Game Audio (DioInGameAudioAd): an audio ad the SDK renders as its own square card — progress ring, AD badge and a native mute control — which the app positions itself (ad.cardView, typically in a Stack). Playback follows attachment and on-screen visibility, so there is no play / pause. Size it with DioInGameAudioConfig(customWidth:); ad.preferredSize reports the card's natural size. New AdUnitType.inGameAudio.
  • DioSdk.instance.placements(): lists the placements the SDK loaded for the initialized app id (DioPlacement — id + type). Diagnostics: it returns an empty list before init and on any native error, and never throws, so a settings screen cannot break on it. DioPlacement.type is null for units this plugin does not model, with the native string kept in rawType.

Both are device-verified on Android and iOS.

0.0.2 #

Native SDK bump.

  • Android: com.brandio.ads:sdk 5.7.4 → 5.8.0.
  • iOS: DIOSDK 4.7.5 → 4.8.0.
  • Breaking (iOS): the minimum iOS deployment target is now 15.0 (was 13.0). DIOSDK 4.8.0 raised its own platform requirement, so an app targeting iOS 13 or 14 will no longer build against this plugin.

The Dart API is unchanged. Both platforms build, but the native release notes are not published by the vendor, so re-verify ad rendering on a device.

0.0.1 #

Initial release — the DIO (Display.io) Flutter plugin, wrapping the native DIO ad SDKs for Android and iOS behind a single Dart API.

  • Core: DioSdk.instance.initialize / loadAd / sdkVersion, a sealed DioAd result (DioInlineAd / DioInterstitialAd / DioAudioAd / DioNativeAd), ad lifecycle events, and viewability.
  • Formats: banner, infeed (video / display / audio), interstitial, interscroller (Dart-driven reveal parallax), inline, InFlowAudio / InRing audio, and native ads.
  • Widgets: DioAdView, DioCompanionView, and the native-ad slot widgets (DioNativeAdView + DioNative{Media,Icon,Cta}View).
  • Customization via DioAdOptions — per-load placement styling (audio, interscroller, infeed, pure-audio, native asset params) plus ORTB ad-request and targeting config (DioAdRequestConfig).
  • Ad metadata: ad.metadata (DioAdMetadata) exposes the bid-response fields (eCPM, advertiser, creative/campaign ids, nurl/lurl, TTL, …).
  • Server-to-server / ORTB: buildOrtbRequest, token, and loadAdFromOrtb for rendering a bid response the publisher already holds.
  • Android and iOS are both device-verified across every format.
0
likes
160
points
208
downloads

Documentation

API reference

Publisher

verified publisherdisplay.io

Weekly Downloads

Flutter plugin for the DIO (Display.io) ad SDKs — banner, infeed, interstitial, interscroller, audio and native ads on Android and iOS through one Dart API.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on displayio_sdk

Packages that implement displayio_sdk