5.0.0-rc01
21 days ago by Kevin Herembourg
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
withUIHandler
.
Android only
- Kotlin Updated: Upgraded to Kotlin 2.0.20.
- Updated Android Build Requirements:
compileSDK
: 34minSDK
: 23
- Updated purchase history retrieval:
- Removed
purchaseHistory(onSuccess, onError)
. - Use
purchaseHistory(): List<PLYPlan>
instead.
- Removed
- Updated subscriber status check:
- Removed
isPastSubscriber(result: (Boolean) -> Unit)
. - Use
isPastSubscriber(): Boolean
instead.
- Removed
- Renamed
PLYPresentationViewProperties
toPLYPresentationProperties
. - Replaced
show/hide closeButton
byshow/hide headerButton
- Simplified Presentation API:
- Removed
FetchPresentationForPlacement
. - Use
FetchPresentation
instead.
- Removed