Skip to main content

mobilePurchases

Type​

function

Summary​

Returns a list of all known, active purchases.

Syntax​

mobilePurchases()

Description​

Use the mobilePurchases function to get a list of all known, active purchases.

The mobilePurchases function returns a list of the purchase ids of newly bought or restored purchases which are not yet confirmed as complete.

Examples​

put mobilePurchases() into tPurchaseList
if mobilePurchases() is empty then
answer "No purchases have been made."
end if

Value​

NameTypeDescription

return

Returns a list of purchase identifiers, one per line.

function: mobilePurchaseState, mobilePurchaseGet, mobileCanMakePurchase, mobilePurchaseError

message: purchaseStateUpdate

command: mobilePurchaseSet, mobileDisablePurchaseUpdates, mobilePurchaseVerify, mobileRestorePurchases, mobilePurchaseSendRequest, mobilePurchaseConfirmDelivery, mobileEnablePurchaseUpdates, mobilePurchaseCreate

Compatibility and Support​

Introduced

LiveCode 5.0.1

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?