License Verification (Mac)
Check active licenses are still valid
When working with licensing we recommend that you periodically verify activated licenses with our platform, to confirm that they are still active and valid.
Check License Validity
Verify a license's activation state as follows:
Verification Frequency
The frequency that you verify license activation state should take into consideration:
- How often your users start or restart your app
- How likely users are to be online or offline
- The financial or technical impact of allowing users to continue to use an app in without a verified license
The properties
lastVerifyDate
andlastSuccessfulVerifiedDate
of the Paddle Product object are updated each time a verification call is attempted, which can be useful for you to manage your verification regime.
License usage
When calling verifyActivationDetailsWithCompletion
the completion block will contain NSDictionary *verificationData
, which contains usage values of the license being verified.
allowed_uses
total number of allowed activationstimes_used
number of times the license has been activated
Note: This method has been introduced in v4.2