Hello,
I recently started to develop mobile applications and I'm starting with FlashDevelop (4.4.2).
I want to add download packages and I've found an ANE who simplifies it for ios and android : https://github.com/freshplanet/ANE-In-App-Purchase
My first problem is that I don't understand well the procedure to test "in-app purchase/billing". I don't want to send my app to the store/market before having this part finished.
Is there a state "test" in the store procedure for this situation ?
Is there a possibility to test it with FlashDevelop without store ? (an emulator)
My second problem is probably linked with the first one.
When I test the ANE class, I code this :
var purchase:InAppPurchase = InAppPurchase.getInstance();
purchase.getProductsInfo(productsId);
And the result is :
[InAppPurchase] in app purchase is supported
[InAppPurchase] extCtx is null.
[InAppPurchase] in app purchase is supported
[InAppPurchase] in app purchase is supported
[InAppPurchase] get Products Info
[Fault] exception, information=TypeError: Error #1009: Cannot access a property or method of a null object reference.
The line problem in the ANE is this :
extCtx = ExtensionContext.createExtensionContext("com.freshplanet.AirInAppPurchase", null);
Because ExtensionContext.createExtensionContext return null and I don't understand why...
My third problem is that I don't understand what I need to send to the store for a package :
- xml and images or zip ?
- ipa/apk -- in this case, what can I do to get the inside information ? (xml and images)
I'm searching for more than two weeks on google and forums and I don't find any answer to help me. I've post on the FlashDevelop forum a week ago, but no answer.
Is there a brave person to help me ?
Thanks a lot !!!