Platforms to show: All Mac Windows Linux Cross-Platform
Back to AppReceiptIAPMBS class.
AppReceiptIAPMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 14.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AppReceiptIAPMBS.isActiveAutoRenewableSubscriptionForDate(d as Date) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 14.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
date: The date in which the auto-renewable subscription should be active. If you are using the current date, you might not want to take it from the device in case the user has changed it.
Returns true if the auto-renewable subscription is active for the given date, false otherwise.
Auto-renewable subscription lapses are possible. If you are checking against the current date, you might want to deduct some time as tolerance.
If this method fails Apple recommends to refresh the receipt and try again once.
See also:
AppReceiptIAPMBS.isActiveAutoRenewableSubscriptionForDate(d as DateTime) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
date: The date in which the auto-renewable subscription should be active. If you are using the current date, you might not want to take it from the device in case the user has changed it.
Returns true if the auto-renewable subscription is active for the given date, false otherwise.
Auto-renewable subscription lapses are possible. If you are checking against the current date, you might want to deduct some time as tolerance.
If this method fails Apple recommends to refresh the receipt and try again once.
See also:
The items on this page are in the following plugins: MBS MacCloud Plugin.