koah_flutter 0.1.0 copy "koah_flutter: ^0.1.0" to clipboard
koah_flutter: ^0.1.0 copied to clipboard

unlisted

A Flutter package for integrating Koah ads into your application to display relevant, contextual advertising content.

0.0.5 #

  • Unified requestAd API (v2). New Koah.requestAd(adContext: ..., size: ..., cacheKey: ...), Koah.prefetchAd(...), and Koah.cancelPrefetchAd(cacheKey), plus public KoahAdContext (.conversation / .article / .feed / .static_), KoahAdSize, and KoahAdResult types. Posts to a new /ad_requests endpoint that uses the discriminated context for matching, copy selection, and format eligibility — same wire shape as iOS 0.7.0 and Android 0.0.16. Cached entries respect the server's expires_at.
  • KoahCard.withContext(adContext: ..., size: ..., cacheKey: ...) constructor. New context-based widget initializer that drives the V2 path. KoahCard.fromCache(messageId: ...) continues to read from cache for both legacy and V2 entries.
  • Deprecations (no behavior change). Koah.fetchAd / process / prefetch / resolveAd / cancelPrefetch and the legacy primary KoahCard(query:messageId:...) constructor are marked @Deprecated with replacement guidance. They continue to work against the older /query endpoint for now.

0.0.4 #

  • New Event Callback System: Added KoahEvent sealed class with lifecycle events (NoAdFill, AdServed, AdViewed, ImpressionTracked, AdClicked). Use the onEvent parameter on KoahSuffix to handle events.
  • Redesigned KoahSuffix Widget: New three-section layout with header (logo, brand, domain, "Ad" label), body (ad text), and CTA button.
  • Breaking: Refactored KoahStyle configuration - now uses KoahHeaderStyle, KoahBodyStyle, and KoahCtaStyle instead of previous fields. KoahContainerStyle now uses individual properties instead of a single BoxDecoration.

0.0.2 #

  • Fix dart conventions. Add formatting and switch from printing to using a logger.

0.0.1 #

  • Initial Suffix Ad component with impression tracking, auth management, url launching, styling, and basic widget lifecycle.
2
likes
0
points
45
downloads

Publisher

verified publisherkoahlabs.com

Weekly Downloads

A Flutter package for integrating Koah ads into your application to display relevant, contextual advertising content.

Homepage

License

unknown (license)

Dependencies

device_info_plus, flutter, flutter_secure_storage, http, logging, meta, package_info_plus, url_launcher, uuid, visibility_detector

More

Packages that depend on koah_flutter