Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not have iPhone/iPad for testing, What do functions return on iOS? #98

Open
goodamr opened this issue Aug 22, 2019 · 0 comments
Open

Not have iPhone/iPad for testing, What do functions return on iOS? #98

goodamr opened this issue Aug 22, 2019 · 0 comments

Comments

@goodamr
Copy link

goodamr commented Aug 22, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant