|
|
|
|
|
inAppRestorePurchases (Function) In french: inAppRestaureAchats Restores the purchases of non-consumable products previously performed by the user in an iOS application. Note: This function is particularly useful if the user has reinstalled the. We advise you to place the call to this function in a button accessible to the user. ArrayDeleteAll(gtabRecu_iOS)
HourglassNetwork(True)
inAppRestorePurchases(ProcRestauration)
PROCEDURE ProcRestauration(bSuccès is boolean, ...
ProduitAcheté is inAppProduct, nQuantité is int)
IF bSuccès THEN
stRecu is ST_Recu_iOS
stRecu.nQuantité = nQuantité
stRecu.prodProduit = ProduitAcheté
ArrayAdd(gtabRecu_iOS, stRecu)
ZRAfficheRecu_iOS()
HourglassNetwork(False)
ELSE
Error("Erreur lors de la restauration des achats : " + ErrorInfo())
END
Syntax
inAppRestorePurchases(<WLanguage procedure>)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|