highfivve_advertising 0.0.1+5 copy "highfivve_advertising: ^0.0.1+5" to clipboard
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 new AdEventType.blockedByConsent event. Wired up for real on both Android (advertising_android 0.0.6) and iOS (advertising_ios 0.0.74).
  • HighfivveBannerAdWidget gained autoRefreshEnabled/refreshInterval constructor parameters and HighfivveAdManager gained setInterstitialAutoReloadEnabled/setInterstitialReloadDelay, to configure the native SDKs' new automatic ad-reload behavior (see the native SDKs' changelogs). Wired up for real on both Android (advertising_android 0.0.6) and iOS (advertising_ios 0.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.
  • HighfivveAdManager now exposes a bannerSizeChanged stream.

Changed #

  • Native iOS source moved from ios/Classes/** to ios/highfivve_advertising/Sources/highfivve_advertising/** (required layout for Swift Package Manager support); the podspec's source_files/resource_bundles were updated to match.
  • Migrated android/build.gradle to 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.
  • compileSdk bumped 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, and okhttp dependency redeclarations from android/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: HighfivveBannerAdWidget was calling AdvertisingFlutterApi.setUp a second time on the same channel that HighfivveAdManager already registers in its constructor, which silently replaced the manager's registration. In practice this meant HighfivveAdManager.instance.adEvent stopped receiving anything as soon as any banner widget mounted, and with two banners mounted only the most-recently-mounted one's onAdNotFound callback 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 unfilled NSPrivacyTracking: false template) 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+4 - 2025-10-21 #

Changed #

  • updated android sdk to 0.0.5 and ios sdk to 0.0.73

0.0.1+3 - 2025-09-02 #

Added #

  • method to retrieve all available ad slots from the configuration: HighfivveAdManager.getAvailableAdSlots(): List<AdSlot>

Changed #

  • updated android sdk to 0.0.4 and ios sdk to 0.0.71

0.0.1+2 - 2025-08-01 #

Changed #

  • ios dependencies updated to latest versions

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 HighfivveBannerAdWidget for displaying banner advertisements.
    • Support for specifying ad position and optional pageType.
    • Callbacks for onAdNotFound.
    • Basic native implementation for Android and iOS using Highfivve's native SDKs.
  • SDK Initialization:
    • HighfivveAdManager.initialize() method to configure the SDK with bundleName and publisherCode.
  • 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.
  • Documentation:
    • Initial README.md with installation instructions, usage examples, and disclaimer.
    • Basic API documentation comments in Dart code.
  • Example App:
    • Included an example application demonstrating banner ad integration.
      • Setup instructions for running the example on both Android and iOS.

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.xcprivacy requirements for iOS.