ad_pilot 1.2.0
ad_pilot: ^1.2.0 copied to clipboard
Flutter publisher integration for AdPilot — fetch, render, and track ads from your AdPilot API.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2026-06-08 #
Added #
- Initial release of the AdPilot Flutter publisher SDK.
AdPilot.configurefor API base URL setup at app startup.AdBannerwidget for IMAGE ads with impression and click tracking.AdPilot.initandAdSlotfor imperative load, refresh, and dispose flows.AdPilotClientfor low-level HTTP access and custom UI integrations.- Device fingerprinting and ad fetch/event models.
- Example app under
example/.
1.0.1 - 2026-06-08 #
Fixed #
- Flutter Web: load ad images via API proxy (
/public/ads/:id/image) to avoid CDN CORS errors.
1.2.0 - 2026-07-23 #
Added #
AdFetchMode(single|multi) onAdBanner/AdSlotConfig/AdPilotClient.- Multi-ad fetch:
mode: AdFetchMode.multireturns all eligible ads (score order) and slideshows all images of each ad before the next. - Impression once per ad id per load (no double-count when revisiting slides); click uses the current ad.
AdSlidehelper for multi-ad slideshow frames.
Changed #
- Single mode (
AdFetchMode.single, default) still requests one ad; API now returns the highest-scoring eligible ad.
1.1.0 - 2026-07-13 #
Added #
- Multi-image ads:
AdResponse.imageUrls/effectiveImageUrlsfrom the public API. AdBannerslideshow for ads with multiple images (auto-advance + arrow controls).- Single-image ads remain a static image with no slideshow UI.
- Flutter Web: image proxy supports
?index=for slideshow frames.