You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't have iPhone or iPad right now for testing the ANE on iOS.
I'd like to know the data returned when calling the various functions on iOS, so I can handle them.
For example, on Android I can get the ProductID of the transactions like that:
_iAPInstance.addEventListener(InAppPurchaseEvent.RESTORE_INFO_RECEIVED, onRestoreReceived); private function onRestoreReceived(e:InAppPurchaseEvent):void { var _json:Object = JSON.parse(e.data); for each(var _entity:Object in _json.purchases) { trace("ProductID: "+_entity.productId); } }
I do not think that iOS has the same returned properties.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi Team@FreshPlanet,
Thank you for the ANE. It works fine on Android.
I don't have iPhone or iPad right now for testing the ANE on iOS.
I'd like to know the data returned when calling the various functions on iOS, so I can handle them.
For example, on Android I can get the ProductID of the transactions like that:
_iAPInstance.addEventListener(InAppPurchaseEvent.RESTORE_INFO_RECEIVED, onRestoreReceived); private function onRestoreReceived(e:InAppPurchaseEvent):void { var _json:Object = JSON.parse(e.data); for each(var _entity:Object in _json.purchases) { trace("ProductID: "+_entity.productId); } }
I do not think that iOS has the same returned properties.
Thank you.
The text was updated successfully, but these errors were encountered: