mirror of
https://github.com/defold/extension-iap
synced 2025-09-27 09:02:18 +02:00
cbc1f659c1889e84108a7784d8369297b3679b37
Add transactions handler to init method according ios documentation it's important to add handler on application:didFinishLaunchingWithOptions: (https://developer.apple.com/documentation/storekit/in-app_purchase/setting_up_the_transaction_observer_for_the_payment_queue?language=objc), move observable commands to separate queue so it can be processed separately and after listener setup, add IAP_ProcessPendingTransactions function to resolve pending transactions on iOS.
In-app purchase extension for Defold
Defold native extension which provides access to In-app purchase functionality on iOS, Android (Google Play and Amazon) and Facebook Canvas platforms.
API and installation
Manual
The manual is available on the official Defold site.
Languages
Java
44.1%
C++
24.2%
Objective-C++
20.5%
JavaScript
8.6%
C
2.6%