Skip to content

v3.3.0

Latest

Choose a tag to compare

@ren6 ren6 released this 27 Jul 14:36
d8bec96

What's New in Flutter SDK v3.3.0:

  • Apphud Rules — Full Rules support for Figma rule paywalls and legacy rule screens via Apphud.setRuleListener() / ApphudRuleListener (appear, purchase, dismiss, survey, and apphudRulePaywallWithoutScreen on both platforms). Also adds Apphud.checkRules(), Apphud.pendingRule(), Apphud.showPendingRuleScreen(), plus Apphud.submitPushNotificationsToken() and Apphud.handlePushNotification() for push-triggered rules. ApphudRule now exposes screenId, paywallId, and paywallIdentifier.

  • Rule purchase detailsapphudRulePurchaseCompleted delivers the purchased subscription / nonRenewingPurchase, the transaction on [iOS] (null for StoreKit 2 purchases) and purchase on [Android]. Failed rule purchases now report a descriptive message, errorCode, and networkIssue.

  • Direct & deferred deep link attribution — Added Apphud.setDeeplinkHandler() (ApphudDeeplinkAttribution with attribution, kind (direct / deferred), and url) and Apphud.requestDeferredDeeplinkAttribution().

  • BREAKING — Removed Apphud.attributeFromDeeplink(). Use Apphud.setDeeplinkHandler() and Apphud.requestDeferredDeeplinkAttribution() instead.

  • iOS deep links — Direct deep links (open url, universal links via continue userActivity, launch options) are captured automatically through the Flutter app-delegate plugin. Host AppDelegate must subclass FlutterAppDelegate and call super if those lifecycle methods are overridden. Only universal links on Apphud's aphd.cc domain are reported as handled, so other deep link SDKs (Firebase Dynamic Links, OneSignal, Branch) keep receiving their own links. Set FlutterDeepLinkingEnabled to false in Info.plist unless you intentionally route the same universal links through Flutter.

  • Android deep links — Forward incoming links from Activity.onCreate / onNewIntent via Apphud.handleIntent(intent) (see example app).

  • Example app — Rules debug actions, Android FCM / iOS APNs push token submit, deep link handling samples, and rule/deeplink listener logging.

  • Included Native SDK Versions — [Android] ApphudSDK-Android 3.4.2, [iOS] ApphudSDK 4.4.8.