Skip to content

Releases: apphud/ApphudSDK-Android

2.9.5

24 Sep 10:37

Choose a tag to compare

  • Improved gradle
  • Fixed a rare bug when placements would not respond

Release 3.0.0-beta1

17 Sep 19:08
02d4539

Choose a tag to compare

Release 3.0.0-beta1 Pre-release
Pre-release
Merge pull request #118 from apphud/FigmaPaywalls_v1

Figma paywalls v1

v2.9.3

12 Sep 10:49

Choose a tag to compare

What's new in v2.9.3:

  • basePlanId and platform properties added to Subscription model
  • platform property added to NonRenewingPurchase model

v2.9.2

26 Jun 12:41

Choose a tag to compare

  • Internal improvements

v2.9.1

11 Mar 08:35

Choose a tag to compare

What's New in v2.9.1:

  • Minor bug fix related to ProductDetails loading with invalid product id.

What's new in v2.9.0:

  • [Breaking] The addAttribution method has been renamed to setAttribution, introducing the new ApphudAttributionData class. This allows developers to override attribution key mappings if needed.
  • Added support for custom attribution. Developers can now pass any attribution data to the ApphudAttributionData class, which will be fetched and displayed in all Apphud Charts.

Attribution Migration Guide:

  • For AppsFlyer, replace the addAttribution method with the following:
Apphud.setAttribution(ApphudAttributionData(map ?: emptyMap()), ApphudAttributionProvider.APPSFLYER, AppsFlyerLib.shared().getAppsFlyerUID())
  • For Firebase, replace the addAttribution method with the following:
Apphud.setAttribution(ApphudAttributionData(emptyMap()), ApphudAttributionProvider.FIREBASE, appInstanceId)
  • For custom attribution, use the following code:
Apphud.setAttribution(ApphudAttributionData(yourCustomMap), ApphudAttributionProvider.CUSTOM, identifierOrNull)

v2.9.0

11 Mar 08:05

Choose a tag to compare

What's New in v2.9.0:

  • [Breaking] The addAttribution method has been renamed to setAttribution, introducing the new ApphudAttributionData class. This allows developers to override attribution key mappings if needed.
  • Added support for custom attribution. Developers can now pass any attribution data to the ApphudAttributionData class, which will be fetched and displayed in all Apphud Charts.

Attribution Migration Guide:

  • For AppsFlyer, replace the addAttribution method with the following:
Apphud.setAttribution(ApphudAttributionData(map ?: emptyMap()), ApphudAttributionProvider.APPSFLYER, AppsFlyerLib.shared().getAppsFlyerUID())
  • For Firebase, replace the addAttribution method with the following:
Apphud.setAttribution(ApphudAttributionData(emptyMap()), ApphudAttributionProvider.FIREBASE, appInstanceId)
  • For custom attribution, use the following code:
Apphud.setAttribution(ApphudAttributionData(yourCustomMap), ApphudAttributionProvider.CUSTOM, identifierOrNull)

v2.8.4

17 Jan 10:09
c1eb8b2

Choose a tag to compare

What's new in v2.8.4:

  • Restore by email for Web-to-Web Flows.
  • Resend purchase to the backend when app enters foreground if previously was backgrounded while in Energy Saving mode.
  • Upgrade to Google Billing 7.

v2.8.3

24 Oct 08:54
5be6df8

Choose a tag to compare

What's new in v2.8.3:

  • Initial support for Web-to-Web flow. This introduces a new SDK method fun attributeFromWeb(data: Map<String, Any>, callback: (Boolean, ApphudUser?) -> Unit).
  • Added an optional callback to updateUserId(userId: UserId, callback: ((ApphudUser?) -> Unit)? = null) method.

v2.8.0

11 Oct 13:09
98a6d48

Choose a tag to compare

What's new in v2.8.0:

  • Important: Added support for real-time audience segmentation in placements based on user properties. This includes two new methods forceFlushUserProperties and deferPlacements. Learn more.
  • Important: Starting this version, the SDK does not automatically load permission groups at launch. You should manually call updated fun fetchPermissionGroups() method.
  • Important: Starting this version, the SDK automatically restores purchases at launch. Keep track of fun apphudSubscriptionsUpdated(subscriptions: List<ApphudSubscription>) or fun apphudNonRenewingPurchasesUpdated(purchases: List<ApphudNonRenewingPurchase>) methods.
  • Important: Removed some deprecated methods that used paywalls without placements: paywall(identifier: String): ApphudPaywall?, paywalls(), rawPaywalls(). Now only one deprecated paywallsDidLoadCallback() method left.
  • Now it is possible to use purchase method by passing only product_id without using fetchPermissionGroups() method.
  • Method fun refreshUserData(callback: ((ApphudUser?) -> Unit)? = null) now returns ApphudUser object in a callback.
  • Added purchaseToken property to ApphudSubscription and ApphudNonRenewingPurchase objects.
  • Changed ApphudGroup's property val products: List<ApphudProduct>? to fun productIds(): List<String>.
  • Internal improvements for User Properties APIs.
  • Internal bug fixes and improvements.

2.7.4

27 Sep 05:28

Choose a tag to compare

What's new in v2.7.4:

Added 'apphudDidReceivePurchase' function to ApphudListener