Pregunta

I have a child book mobile application and my customer asking me that he wanted to 10 book 5 free and 5 purchasable.
How can i do that

¿Fue útil?

Solución

You will need a Native Extension (ANE)

You could make your own, but i would reccomend buying one like this -> milkmangames.com

Otros consejos

For Android, you need to use an AIR Native Extension (ANE) (link is a tutorial on how to create and use one). An ANE allows you to run a native code (Java on Android, Objective-C on iOS and Mac, C++ on Windows). You would tie into the native APIs already available for in-app purchases. There are free options available, though they are generally not well documented. I recently had luck with the GCM ANE found here (though you will need to rebuild it in order to use your own icon).

For iOS, Adobe actually provides a way to do it within AIR itself using the RemoteNotifier class. I was able to implement this extremely easy. No trouble whatsoever and it is documented fairly well. This also uses native APIs, but it is built into the AIR SDK and is fully supported by Adobe. I highly recommend using this over an ANE. Read this article

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top