4 ms·
How do you manage the licensing? Do you use some library to enforce the trial period in your apps?
by coffeeaddict1 4y ago
How do you manage the licensing? Do you use some library to enforce the trial period in your apps?
- alin23 4y agoFor non-AppStore apps like Lunar, I use the macOS SDK from Paddle.com. It provides trials, license activation UI, payments and checkout UI, both in-app and on web. Here's how I use it: https://github.com/FuzzyIdeas/Lowtech/blob/main/Sources/LowtechPro/Pro.swift https://github.com/FuzzyIdeas/Lowtech/blob/main/Sources/Lowt... For App Store apps I have my own custom solution which uses https://github.com/IdeasOnCanvas/AppReceiptValidator https://github.com/IdeasOnCanvas/AppReceiptValidator to see if the app has been bought, and if it isn't, I have a time and usage based expiry logic. When the timer expires, I block key functionalities of the app and show this screen: https://shots.panaitiu.com/o6qnP8 https://shots.panaitiu.com/o6qnP8