|
|
|
|
WLanguage procedure called by inAppCheckSubscription Procedure ("Callback") called by inAppCheckSubscription if one of the subscriptions has been renewed. This procedure can be a local, global or internal procedure. // Project initialization code inAppCheckSubscription(CheckSubscription) PROCÉDURE CheckSubscription(bSuccess is boolean, Product is inAppProduct) IF NOT bSuccess THEN ToastDisplay(ErrorInfo()) RETURN ELSE // Call the inAppListPurchase function // to check the start and end dates of subscription END Syntax
inAppCheckSubscription_Callback(<Success> , <Product>)
<Success>: Boolean - True if the subscription was renewed,
- False otherwise.
<Product>: inAppProduct variable inAppProduct variable corresponding to the product for which the subscription renewal is checked.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|