Skip to content

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

@goodamr

Description

@goodamr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions