5.0.0-rc01

Version 5.0.0 of the Purchasely SDK introduces support for the new Screen Composer and includes several major updates and breaking changes.

Breaking Changes:

  • Removed ONESIGNAL_PLAYER_ID attribute.
  • Replaced UIListener with UIHandler.

Android only

  • Kotlin Updated: Upgraded to Kotlin 2.0.20.
  • Updated Android Build Requirements:
    • compileSDK: 34
    • minSDK: 23
  • Updated purchase history retrieval:
    • Removed purchaseHistory(onSuccess, onError).
    • Use purchaseHistory(): List<PLYPlan> instead.
  • Updated subscriber status check:
    • Removed isPastSubscriber(result: (Boolean) -> Unit).
    • Use isPastSubscriber(): Boolean instead.
  • Renamed PLYPresentationViewProperties to PLYPresentationProperties.
  • Replaced show/hide closeButton by show/hide headerButton
  • Simplified Presentation API:
    • Removed FetchPresentationForPlacement.
    • Use FetchPresentation instead.