Repository navigation
Releases
Releases · lohith2406/dodo-license
0.1.0
First version: license keys for Mac apps sold through Dodo Payments.
.package(url: "https://github.com/lohith2406/dodo-license", from: "0.1.0")License: activate, deactivate, daily rechecks, offline use, revocation callback.DodoProviderfor Dodo Payments' public license endpoints, test and live.MockProviderfor building license screens without a key.Trial: an optional free trial that survives reinstalls and clock changes.LicenseKey.clean(_:)for keys pasted from emails.- Accepts keys for several products (
productIDs:). - A 403 HTML page from Dodo's edge (a firewall block) is an error, not "key inactive" or "already deactivated".
- A Keychain that can't be read isn't treated as "no license".
- A recheck that turns the license off also gives back the activation, so a key that Dodo turns on again (a subscription off hold, a re-enabled key) can be entered again.
Requires macOS 14+ and Swift 6.2 (Xcode 26).