highfivve_advertising 0.0.1+5
highfivve_advertising: ^0.0.1+5 copied to clipboard
A Flutter plugin to integrate Highfivve GmbH's native highfivve_advertising.
Changelog #
All notable changes to the highfivve_advertising Flutter plugin will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.1+5 - 2026-07-16 #
Added #
- GDPR/GPP/CCPA consent support:
HighfivveAdManager.updateConsent(ConsentInfo),ConsentInfo,AdPersonalizationState, and a newAdEventType.blockedByConsentevent. Wired up for real on both Android (advertising_android0.0.6) and iOS (advertising_ios0.0.74). HighfivveBannerAdWidgetgainedautoRefreshEnabled/refreshIntervalconstructor parameters andHighfivveAdManagergainedsetInterstitialAutoReloadEnabled/setInterstitialReloadDelay, to configure the native SDKs' new automatic ad-reload behavior (see the native SDKs' changelogs). Wired up for real on both Android (advertising_android0.0.6) and iOS (advertising_ios0.0.74).- Swift Package Manager support: added
ios/highfivve_advertising/Package.swift(fixes pub.dev's "Package does not support the Swift Package Manager on iOS" analysis flag). The old podspec is kept alongside it - Flutter supports both in parallel. HighfivveAdManagernow exposes abannerSizeChangedstream.
Changed #
- Native iOS source moved from
ios/Classes/**toios/highfivve_advertising/Sources/highfivve_advertising/**(required layout for Swift Package Manager support); the podspec'ssource_files/resource_bundleswere updated to match. - Migrated
android/build.gradleto Flutter's built-in Kotlin support (fixes pub.dev's "Legacy Kotlin configuration detected" flag) - the plugin no longer self-applies the Kotlin Gradle Plugin, letting the consuming app's own Flutter tooling apply it with a single, centrally-managed version. compileSdkbumped to 36 (from 35). API 37 was tried but isn't buildable with our current Android Gradle Plugin (8.1.4) yet - see the native Android SDK's changelog for details.- Replaced raw
print()calls throughout the Dart layer with a small debug-gated logger.
Removed #
- Unused/version-skewed
exoplayer,prebid-mobile-sdk, andokhttpdependency redeclarations fromandroid/build.gradle(none were referenced in this plugin's own source; they were duplicating - and in the exoplayer/Prebid case, at different versions than - what the native SDK already provides).
Fixed #
- A real bug:
HighfivveBannerAdWidgetwas callingAdvertisingFlutterApi.setUpa second time on the same channel thatHighfivveAdManageralready registers in its constructor, which silently replaced the manager's registration. In practice this meantHighfivveAdManager.instance.adEventstopped receiving anything as soon as any banner widget mounted, and with two banners mounted only the most-recently-mounted one'sonAdNotFoundcallback ever fired. Banner widgets now listen to the manager's own streams instead of re-registering the Pigeon handler. - Unsafe force-unwraps in the iOS native glue (
args["position"] as!,rootController!) that could crash the host app - now fail gracefully instead. - Reconciled the plugin's
PrivacyInfo.xcprivacy(previously an unfilledNSPrivacyTracking: falsetemplate) with the native iOS SDK's actual privacy declarations, since both ship in the same app bundle and a reviewer/tool would otherwise see contradictory declarations for what is one integrated ad SDK.
0.0.1+3 - 2025-09-02 #
0.0.1+1 - 2025-07-30 #
- set correct platform channel name
0.0.1 - 2025-07-29 #
Added #
- Initial Release of the Highfivve Advertising Flutter Plugin.
- Banner Ads:
- Introduced
HighfivveBannerAdWidgetfor displaying banner advertisements. - Support for specifying ad
positionand optionalpageType. - Callbacks for
onAdNotFound. - Basic native implementation for Android and iOS using Highfivve's native SDKs.
- Introduced
- SDK Initialization:
HighfivveAdManager.initialize()method to configure the SDK withbundleNameandpublisherCode.
- Platform Integration:
- Native Android (
com.highfivve.advertising_android) and iOS (advertising_ios.xcframework) SDKs are bundled. - Pigeon used for type-safe communication between Dart and native platforms.
- Native Android (
- Documentation:
- Initial
README.mdwith installation instructions, usage examples, and disclaimer. - Basic API documentation comments in Dart code.
- Initial
- Example App:
- Included an example application demonstrating banner ad integration.
- Setup instructions for running the example on both Android and iOS.
- Included an example application demonstrating banner ad integration.
Changed #
- N/A (Initial Release)
Deprecated #
- N/A (Initial Release)
Removed #
- N/A (Initial Release)
Fixed #
- N/A (Initial Release)
Security #
- Added disclaimer regarding customer status with Highfivve GmbH for SDK usage.
- Included initial notes on
PrivacyInfo.xcprivacyrequirements for iOS.