mobileEnablePurchaseUpdates

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mobileEnablePurchaseUpdates
Summary

Enables the receipt of purchaseStateUpdate messages

Introduced5.0.1
OSios, android
Platformsmobile
Example
if tMonitorPurchases is true then
   mobileEnablePurchaseUpdates
end if
RelatedCommand: mobilePurchaseSet, mobileDisablePurchaseUpdates, mobilePurchaseVerify, mobileRestorePurchases, iphoneRequestProductDetails, mobilePurchaseSendRequest, mobilePurchaseConfirmDelivery, mobilePurchaseCreate
Function: mobilePurchaseState, mobilePurchaseError, mobileCanMakePurchase, mobilePurchaseGet, mobilePurchases
Message: purchaseStateUpdate
Description

Use the mobileEnablePurchaseUpdates command to enable the receipt of purchaseStateUpdate messages.

Throughout the purchase process the App Store sends purchaseStateUpdate messages to your app which report any changes in the status of active purchases. The mobileEnablePurchaseUpdates command enables the receipt of purchaseStateUpdate messages.