Skip to content

v0.28.0

Choose a tag to compare

@github-actions github-actions released this 30 May 09:34
· 35 commits to main since this release
5ab9278

0.28.0

  • Add logProductItem(...) for product-catalog item logging, with type-safe ProductAvailability and ProductCondition enums (PR #487).
  • Add setPushNotificationToken(String) to register a push token for Meta push-campaign measurement.
  • Add setFlushBehavior(FlushBehavior) / getFlushBehavior() to switch between automatic and explicit-only event flushing.
  • Add getUserData(), getUserID(), and clearUserDataForType(FacebookUserDataField) — the last is functional on iOS and a no-op on Android (no native per-field clear; use clearUserData()).
  • Add convenience shorthands for the remaining Meta standard events (logAchievedLevel, logAddedPaymentInfo, logCompletedTutorial, logSearched, logSpentCredits, logUnlockedAchievement, logContact, logCustomizeProduct, logDonate, logFindLocation, logSchedule, logSubmitApplication).
  • Behavior change (Android): setAdvertiserTracking no longer toggles verbose SDK debug logging as a side effect; use the new setDebugLoggingEnabled(bool) instead.
  • Move the new enums and standard-event helpers into lib/src/ (re-exported, no consumer import changes), drop unused Android imports, and add Dart tests plus example-app coverage.