|
|
|
|
inAppRestorePurchases( Función) Restaura las compras de productos no consumibles realizadas previamente por el usuario en una aplicación iOS.. Observación: Esta función es useful si la aplicación fue reinstalada por el usuario. Le aconsejamos que realice la llamada a esta función en un botón accesible para el usuario.. ArrayDeleteAll(garrReceived_iOS) HourglassNetwork(True) inAppRestorePurchases(RestoreProc)
// ----------------------------------------- PROCEDURE RestoreProc(bSuccess is boolean, ... ProductPurchased is inAppProduct, nQuantity is int) IF bSuccess THEN stReceived is ST_Received_iOS stReceived.nQuantity = nQuantity stReceived.prodProduct = ProductPurchased ArrayAdd(garrReceived_iOS, stReceived) // Refresh the Looper control LOOPDisplayReceived_iOS() HourglassNetwork(False) ELSE Error("Error while restoring the purchases: " + ErrorInfo()) END Sintaxis
inAppRestorePurchases(<WLanguage procedure>)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|