Implementing licensing mechanism for Applications Distributed in App store I have an app that I intend to distribute via the App store.
Currently, the user purchases a license from the website, he receives a key via email and our web server validates the license key entered by the user in the application.
Is it possible to distribute the app in the App Store without any change ie:the user purchase on app store,he receives a key.

Can i distribute the trial version as free on App store?
Licensing Schemes

No, applications can not use their own key based licensing system with purchases being handled by Apple's App Store.

See Apple's Validate app and in-app purchase receipts with the App Store documentation about how to handle App Store purchases and the Receipt Validation Programming Guide.


  See WWDC 2018 > Engineering Subscriptions for more information on implementing receipt validation for apps that contain auto-renewable subscription products.


Apple does not provide licensing sample code. Apple fear that if everyone uses the same implementation, it becomes trivial to bypass. If you need code level help, contact Apple and use a Technical Support Incident.

Trials

Apple does not accept free trials in the App Store. Applications must have value that does not expire. In-app purchases can be used to unlock additional features. See App Store Review Guidelines.