mobileCanMakePurchase | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Determines if in-app purchasing is available. | ||||||
Introduced | 5.0.1 | ||||||
OS | ios, android | ||||||
Platforms | mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Command: mobilePurchaseSet, mobileDisablePurchaseUpdates, mobilePurchaseVerify, mobileRestorePurchases, mobilePurchaseSendRequest, mobilePurchaseConfirmDelivery, mobileEnablePurchaseUpdates, mobilePurchaseCreate Function: mobilePurchases, mobilePurchaseState, mobilePurchaseGet, mobilePurchaseError Message: purchaseStateUpdate | ||||||
Description | Use the mobileCanMakePurchase function to determine if the in-app purchasing service is available. The mobileCanMakePurchase function determines if in-app purchases can be made. This depends on whether the service is available, not whether the app itself implements in-app purchases. For example if a device is off-line mobileCanMakePurchase returns false. |