Releases: PaddleHQ/Mac-Framework-V4
v4.4.3
v4.4.2
v4.4.1
- Added dispute/chargeback errors to verification and activation methods for licenses that are associated with orders that have an active dispute/chargeback.
- Implemented internal security updates aimed at minimizing fraudulent activations.
- Improved license verification logic to correctly report unverified activations. Previously, certain scenarios, such as manual removal of an activation via the dashboard, would erroneously trigger an “Unable to verify” error. This has now been fixed and returns the correct state.
- Changed checkout sizing to better support the new checkout design. The new checkout design is wider than previous versions and the SDK checkout window has been updated to accommodate this.
- Fixed popup issues when retrying PayPal payments. Previously, It was possible to open multiple Paypal popup windows for the same checkout, this has now been resolved and we now close the original popup before allowing the buyer to open a new one.
- Addressed an issue that was preventing the local license file expiry date from being updated when calling the verify method, this will cover cases where the license has expired or the expiry has been changed via the dashboard. Previously we were returning the correct error but we were not updating the license file accordingly.
v4.4.0
- Improvements for SwiftUI - We’ve updated the UI methods to make it easier to use with SwiftUI. Download the updated Sample app here where we demonstrate best practices for using the SDK in SwiftUI
- Ventura UI Updates - The UI has been restructured for Ventura to allow for future customisation and improvements
- Introduction of Activation Reclaim methods - Those will allow you to manage existing/previous activations for a license through the SDK, allowing you to deactivate older activations if the license being used has run out of available activations. - Please find the documentation here
- Fixed memory leaks.
- Resolved deprecations and warnings for macOS Ventura.
- Updated license persistence functionality to switch deprecated unarchiveObjectWithData methods to unarchivedObjectOfClass when using Ventura.
Minimum macOS version supported 10.13
v4.3.1
v4.3.0
This release contains bugs fixes and much-needed improvements which are listed below:
- Switched to WKWebView.
- Removed all semantic warnings.
- Added activation details (
allowed_uses
,times_used
) to activation calls. This is now on both the activation and verification calls. - Added error handling on modified properties on the
PADProduct
object. - Silent activation is now correctly returning errors when used in Swift.
- The Checkout is now returning
PADCheckoutSlowOrderProcessing
state in the completion block for all slow processing orders. - License verification improvements:
- Added further checks to obtain the correct machine UUID/MAC address, to help prevent activation issues for certain edge cases.
- Added a machine UUID error (
-127 “Identifier doesn't match activation”
) for when license verification fails due to the UUID being different from the activation one. This is to help identify more easily when users are trying to activate it on a new machine after migrating to a new one or to make it easy to identify edge cases where the machine’s UUID keeps changing. - Added a custom UUID delegate method to allow customization of the user’s machine identifier.
v4.2.0
Apart from making sure our Mac SDK is ready for the new macOS we’ve also made the following improvements:
- Added allowed_uses and times_used to the license verification response for non-subscription licenses, making it easier to see the user’s remaining activations.
- Improved the activation error handling to display more accurate activation errors.
- Improved core headers.
v4.1.1
- Support for sandbox environment added (but not subscriptions)
- Tested and updated for macOS Monterey.
- Improved memory leaks.
- Stopped the SDK from generating .profraw/coverage files for certain scenarios.
- Improved Paddle’s Checkout caching behaviour to prevent future issues with paddle.js updates.
If you don’t have a sandbox account yet, you can create one at https://sandbox-vendors.paddle.com/signup.
To use the sandbox environment on the SDK you will need to use [Paddle setEnvironmentToSandbox];
method before calling any startLicensing
methods, preferably in applicationDidFinishLaunching:
and change the vendor id, product id and key to the sandbox values.
Please note that the sandbox only works with one-off SDK products, it does not work with subscription licensing.
v4.1.0
v4.0.18
Fixed a bug introduced on the last release that was causing trial days to default to zero.
In scenarios where API requests fail, the default product configuration object was not being used, resulting in a non existing trial object and causing the SDK to default to trial expired.