How can I do make a code where the user click in “buy” and if is android --> Google app billing, if is iOS --> iAP, and if is android with amazon --> iAP Amazon?
Other question, an app downloaded from Amazon can use the Google Play Store in app billing?
Android apps downloaded from Amazon that are not specific to the Kindle Fire family can use Google IAP I believe. Please note, IAP is available to Basic, Pro and Enterprise level subscribers.
I make the tutorial and all okay, not questions, now I would buy the license, a question, now for detect multiple devices, for example: if is Android = function_iAPAndroid(), if is iOS = function_iAPiOS.
You can use the system.getInfo() API call to get the platform and see if it’s iOS or Android and then use Lua *if* statements to call platform specific code.
Android apps downloaded from Amazon that are not specific to the Kindle Fire family can use Google IAP I believe. Please note, IAP is available to Basic, Pro and Enterprise level subscribers.
I make the tutorial and all okay, not questions, now I would buy the license, a question, now for detect multiple devices, for example: if is Android = function_iAPAndroid(), if is iOS = function_iAPiOS.
You can use the system.getInfo() API call to get the platform and see if it’s iOS or Android and then use Lua *if* statements to call platform specific code.