addstream_flutter 1.2.2
addstream_flutter: ^1.2.2 copied to clipboard
A Flutter package for displaying AddStream ads in your mobile applications.
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.2.2 - 2026-02-24 #
- Fixed button styles to be theme-independent across host apps
1.2.1 - 2026-02-22 #
Fixed #
- Improved fullscreen video player UI and controls
- Fixed video margin and loading widget display issues
- Enhanced video end card layout and responsiveness
1.2.0 - 2026-02-19 #
Added #
VideoEndCardoverlay displayed when the video completes — shows the last visible frame, a Replay button, and a Visit Site button (only when a click-through URL is present); re-appears automatically after replay finishesonVideoReadycallback onAddStreamVideoWidget— fires once the first video frame is rendered on screen, distinct fromonAdLoadedwhich fires after initializationonImageLoadedcallback onAddStreamWidget— fires when the ad image pixels are fully decoded and painted on screen
Fixed #
- Pause and resume IAB tracking events are now deduplicated with a
markEventFiredguard to prevent double-firing
1.1.0 - 2026-02-17 #
Added #
AddStreamVideoWidgetfor displaying VAST video advertisements- Full IAB VAST 2.0 tracking event support (start, firstQuartile, midpoint, thirdQuartile, complete, pause, resume, mute, unmute, fullscreen, click, stop, replay)
- Automatic impression firing on ad load
- Mute/unmute, play/pause, and fullscreen controls
- Progress bar overlay on video ad
onTrackingEventcallback for monitoring ad events externallyonAdClosedcallback when the user dismisses the video ad- HMAC-SHA256 authentication on VAST requests (consistent with banner ads)
Changed #
AnimatedAdBadgeextracted to shared widget used by bothAddStreamWidgetandAddStreamVideoWidget
1.0.2 - 2025-10-15 #
Removed #
- Removed
onAdClickedcallback (deprecated before stable release). - Minor improvements to documentation.
1.0.0 - 2025-10-14 #
Added #
- Initial release of AddStream Flutter package
AddStreamWidgetfor displaying adsAddStreamGlobal.initialize()for SDK initialization- Support for image and text ad formats
- Animated badge overlay on ads
- Custom loading and error widget support
- Callback system for ad events (loaded, clicked, failed)
AddStreamExceptionfor proper error handling- Automatic impression tracking
- Click handling with external browser launch
Features #
- Zone-based ad serving
- Responsive ad sizing
- Network error handling
- Debug mode warnings
- Graceful fallbacks for missing ads
Dependencies #
- http: ^1.1.0
- html: ^0.15.4
- url_launcher: ^6.2.0
- crypto: ^3.0.6
Version Format #
[MAJOR.MINOR.PATCH]
- MAJOR: Breaking changes
- MINOR: New features (backwards compatible)
- PATCH: Bug fixes (backwards compatible)