Skip to content

Releases: apphud/ApphudSDK-Android

v2.8.3

24 Oct 08:54
5be6df8
Compare
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
Compare
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
Compare
Choose a tag to compare

What's new in v2.7.4:

Added 'apphudDidReceivePurchase' function to ApphudListener

2.7.3

12 Sep 10:30
Compare
Choose a tag to compare

What's new in v2.7.3:

  • Add 'forceRefresh' parameter to Apphud.nativePurchases function

2.7.2

22 Aug 18:30
Compare
Choose a tag to compare

What's new in v2.7.2:

Stability improvements

v2.7.0

22 Jul 13:53
Compare
Choose a tag to compare

What's new in v2.7.0:

  • Internal Improvements for Observer Mode: All purchases are now tracked automatically, making the trackPurchase method optional. This can be utilized for A/B testing analytics when using paywalls and placements.
  • Google Billing Exception Handling: Improved internal handling of Google Billing exceptions.
  • Library Update: Updated the dependent library OkHttp.
  • Bug Fixes: Minor bugs fixes related to handling callbacks when the network is unreachable.
  • Custom Attribution Data Support: Added technical support (not product-ready yet) for custom attribution data.

2.6.6

27 May 10:26
Compare
Choose a tag to compare

What's new in v2.6.6:

  • Improved Products loading

v2.6.5

04 May 14:02
Compare
Choose a tag to compare

What's new in v2.6.5:

  • Important: changed maxAttempts parameter in fetchPlacements, placements, paywallsDidLoadCallback methods to preferredTimeout.
  • Internal improvements in errors handling
  • Added new method fun loadFallbackPaywalls(callback: (List<ApphudPaywall>?, ApphudError?) -> Unit) to explicitly load paywalls from local json fallback file.

v2.5.8

18 Apr 09:50
Compare
Choose a tag to compare

What's new in v2.5.8:

  • Internal improvements

v2.5.7

11 Apr 02:57
2c0ceea
Compare
Choose a tag to compare

What's new in v2.5.7:

  • Imroved SDK Logic when no (or slow) internet connection. SDK will invoke placements and paywalls callbacks anyways.
  • Added maxAttempts parameter to fetching paywalls and placements