4 ms·
There's more than one way to do this. If the purchase is refunded on the device, the app can be uninstalled at the same time; this is how Google does it. If the
by efreak 6y ago
There's more than one way to do this. If the purchase is refunded on the device, the app can be uninstalled at the same time; this is how Google does it. If the app is refunded on another device or in the browser, then all it takes is for the app store to keep track of app licenses (which it already does) and remove apps when their license disappears.
It seems odd, though, that Apple wouldn't have an API that allows locking app functionally behind licenses; on Android [1],
> With Google Play Licensing, your application can query Google Play at run time to obtain the licensing status for the current user, then allow or disallow further use as appropriate.
> ...
> Note: The Google Play Licensing service is primarily intended for paid applications that wish to verify that the current user did in fact pay for the application on Google Play. However, any application (including free apps) may use the licensing service to initiate the download of an APK expansion file.
In other words, the licensing service checks for both IAPs as well as if you've paid for the app itself.
[1]: https://developer.android.com/google/play/licensing https://developer.android.com/google/play/licensing
- nvahalik 6y ago> that Apple wouldn't have an API that allows locking app functionally behind licenses; This is what their subscription system does, though. I'm not familiar with their for-pay app setup, but for subscriptions you can monitor the receipt and see what it's status is. Perhaps you can't do it from there, but I know when even an free app is installed, you still get receipt information written to the device.
- nyuszika7h 6y agoIt seems odd, though, that Apple wouldn't have an API that allows locking app functionally behind licenses They do have something like that: https://developer.apple.com/documentation/storekit/in-app_purchase/validating_receipts_with_the_app_store https://developer.apple.com/documentation/storekit/in-app_pu...