46 Commits

Author SHA1 Message Date
Björn Ritzl
1c829abbfb Check that the extension hasn't been recreated while fetching products 2021-04-28 08:59:16 +02:00
Björn Ritzl
1a16fcc795 Make sure skuDetails exists and isn't empty 2021-01-25 10:37:09 +01:00
Björn Ritzl
412a609738 Fixed incorrect script api doc for iap-buy() 2021-01-25 10:36:08 +01:00
Alexey Gulev
0b455dd9da Method calls update 2020-12-29 19:09:32 +01:00
Mike
ca33678486
Amazon: Stub out acknowledgeTransaction 2020-10-17 13:15:17 -05:00
Mike
faf62f2314
Amazon: Initialize listProductsCommandPtrs 2020-10-17 11:42:47 -05:00
Björn Ritzl
a48ca394bb Allocate empty string
Fixes #26
2020-08-19 10:06:39 +02:00
Björn Ritzl
ecbc807978 Update iap.script_api 2020-08-03 13:54:02 +02:00
Björn Ritzl
4c78f9e28d Update IapGooglePlay.java 2020-07-28 08:31:09 +02:00
Björn Ritzl
497d0dee1e Added iap.acknowledge 2020-07-24 00:10:04 +02:00
Björn Ritzl
3c5f8c1424 Null checks 2020-07-23 19:30:20 +02:00
Björn Ritzl
a88fab1543 Removed unused code 2020-07-23 19:29:37 +02:00
Björn Ritzl
5acf5e9f8f Cleaned up Android Manifest 2020-07-23 14:05:40 +02:00
Björn Ritzl
8cf185056f Formatting and cleanup 2020-07-23 14:04:17 +02:00
Björn Ritzl
83876a508b Almost done 2020-07-23 12:18:40 +02:00
Mathias Westerdahl
e79b5cfb36
Merge pull request #22 from dyukorev/master
Pending transactions fix
2020-04-01 10:10:41 +02:00
Denis Dyukorev
564df1e279 Rename function argument to match naming requirements. 2020-03-31 16:27:22 +07:00
Björn Ritzl
f1d53948e9
Merge pull request #20 from defold/Issue-18-crash-on-empty-product
Check if title or description is null
2020-03-09 12:33:48 +01:00
Björn Ritzl
607b4a117e Update iap_ios.mm 2020-03-09 11:57:14 +01:00
Björn Ritzl
38656e973c Check if title or description is null
Fixes #18
2020-03-09 11:46:01 +01:00
Björn Ritzl
3fb09c3b95 Missing import 2020-03-09 11:22:54 +01:00
Björn Ritzl
2843080690 Check that the Google Play Store exists on device
Fixes #3
2020-03-09 11:22:41 +01:00
Denis Dyukorev
cbc1f659c1 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. 2020-03-04 17:26:52 +03:00
Filazopovich Gennady
eda78dda4f Fix incorrect numbers in transaction date for some Arab countries 2020-03-04 15:39:30 +03:00
Denis Dyukorev
d6cc6f55f9 IAP command pointer to products list function to avoid crash on multiple calls products list 2020-02-15 15:00:15 +03:00
Björn Ritzl
8d9ea79d7d Fixed crash if buying when no listener was set 2020-02-10 08:25:48 +01:00
Alexey Gulev
1a778d0e98 fix crash 2020-01-16 23:16:21 +01:00
mathiaswking
0e76cd4f24 Updated html5 to use the new Lua callback api from dmScript 2019-11-21 18:06:39 +01:00
mathiaswking
8eebb889e3 Use Lua callback handling functions from DefoldSDK 2019-11-15 19:04:23 +01:00
mathiaswking
f784c187b2 Added thread safe command queue for iOS 2019-11-14 18:26:55 +01:00
mathiaswking
bbab40a315 Made iOS functions static
Removed old documentation
2019-11-14 10:50:07 +01:00
mathiaswking
bca28de29a Moved command queue code to iap_private.h/cpp 2019-11-14 10:48:19 +01:00
Masih
3994291854
fixed wrong words 2019-10-30 11:18:47 +03:30
Alexey Gulev
53493fea0b Fixed issue with command shadowing. 2019-09-27 15:34:16 +02:00
Alexey Gulev
33618ddc0a More careful work with pointers. 2019-09-26 14:52:03 +02:00
Alexey Gulev
7952bbd5f1 Revert "Added LUA_MULTRET"
This reverts commit af38c606dc37a9b6203533d2fab4e6d93ce72af9.
2019-09-26 10:58:16 +02:00
Alexey Gulev
af38c606dc Added LUA_MULTRET 2019-09-26 10:38:42 +02:00
Alexey Gulev
62e7ce36bd Added script_api 2019-09-24 13:26:03 +02:00
Alexey Gulev
2c23e2f45a Replaced strncat with dmStrlCat 2019-09-24 09:48:03 +02:00
Alexey Gulev
af80e05796 Fixed pcall 2019-09-20 20:06:35 +02:00
Alexey Gulev
b68550e6ef Removed extern structures 2019-09-20 17:08:19 +02:00
Alexey Gulev
8a4a562c8d Fixed callback issue 2019-09-20 14:38:44 +02:00
Alexey Gulev
d3323f9884 Fixed callback 2019-09-19 09:19:00 +02:00
Alexey Gulev
8fda0a3ae9 Fixes for command invoke 2019-09-18 14:50:53 +02:00
Alexey Gulev
18e510ea49 Renamed proGuard file 2019-09-17 16:50:53 +02:00
Alexey Gulev
0fa8400cac Initial commit 2019-09-17 16:50:00 +02:00