osmos_flutter_plugin 2.8.0
osmos_flutter_plugin: ^2.8.0 copied to clipboard
osmos_flutter_plugin is a Flutter plugin built for OSMOS Ad Fetching, Ad Rendering and Event Tracking. It is designed to be lightweight, efficient, and easy to integrate into any Flutter application.
2.8.0 - 2026-09-09 #
Enhancements #
iOS build
- Added Swift Package Manager (SPM) support for easier integration.
- CocoaPods support remains available, so existing integrations continue to work without changes.
- SPM requires Flutter 3.44.0 or newer.
Android build
- Added support for Android Gradle Plugin 9 (AGP 9) while maintaining compatibility with older supported AGP versions.
- Improved Kotlin configuration to work correctly with the latest Android Gradle setup.
2.7.0 - 2026-09-02 #
Fixes #
Display ads
- Improved ad positioning on iOS for interstitial, picture-in-picture and slider ads.
Ad fetching
- All ad requests on iOS (product, search, home, category, purchase and third-party ads) now work without passing
pageName. Earlier they failed with a missing-parameter error unless this optional value was provided
Register event
registerPurchaseEventon iOS now accepts any product price, including common values like85.99that were previously rejectedregisterPurchaseEventon iOS no longer fails when a product has nomerchantId, since this field is optional
2.5.1 - 2026-05-14 #
2.4.0 - 2024-12-03 #
Features #
Ad Formats
- Banner ads (image and video)
- Carousel ads (image, video, and mixed media)
- Interstitial ads (image and video with auto-close)
- Picture-in-Picture (PiP) ads with fullscreen, mute/unmute support
- Native PLA (Product Listing Ads) - vertical and horizontal layouts (small, medium, large)
- Native PLA with custom views
- PDA (Product Display Ads) - vertical and horizontal layouts (small, large)
- Multi-ad carousel
Tracking & Measurement
- OMID viewability tracking (iOS and Android)
- Third-party tracking pixels (impressions and clicks)
- Impression tracking with callbacks
- Click event tracking with callbacks
- Video progress events (0%, 25%, 50%, 75%, 100%)
- Video action events (play, pause, mute, unmute, fullscreen, exit_fullscreen)
- Event batch processing with offline support (Android)
Ad Fetching
- Fetch display ads with Ad Units (AU)
- Fetch display ads with Page Type (PT)
- Fetch PLA ads (search, product, purchase, category, home pages)
- Fetch TPA (Tagged Product Ads)
- Fetch PDA ads
Event Registration
- Ad click events
- Ad impression events
- View product events
- Add to cart events
- Purchase events
- Video progress events
- Video action events
- Generic tracking events
Additional Features
- Custom ad labels with configurable alignment
- Native video rendering in carousel and PLA ads
- Height/width auto-calculation with manual override
- Lifecycle-aware ad management
- Targeting parameters (context, merchandise, geo, platform, custom labels)
- Product ads filtering (category, price, brand, store, network)