134 Commits

Author SHA1 Message Date
Björn Ritzl
6e975b67de Merge branch 'master' into dev-remove-init-count 2021-04-28 10:08:12 +02:00
Björn Ritzl
f3ee2361ac
Merge pull request #38 from defold/issue-35-crash-on-iap-oncommand
Get the Lua context from the callback and not the listener
2021-04-28 10:06:24 +02:00
Björn Ritzl
db2c7f0edb
Merge pull request #40 from defold/issue-37-crash-when-receiving-products
Check that the extension hasn't been rebooted while fetching products
2021-04-28 10:05:58 +02:00
Björn Ritzl
c21a8ea984 Update iap_ios.mm 2021-04-28 09:46:23 +02:00
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
80ba15bf22 Do not track init count for multiple Lua states
None of our other extensions support this
2021-04-28 08:54:38 +02:00
Björn Ritzl
5843f631af Get the Lua context from the callback and not the listener 2021-04-27 19:52:14 +02:00
BigButtonCo
276437b981
Update IapGooglePlay.java 2021-04-12 19:26:56 +02:00
BigButtonCo
246fcd3179
Added original_json 2021-04-12 19:22:33 +02:00
Björn Ritzl
257f95f1d3
Merge pull request #32 from defold/Issue-32-android-crash-on-restore-buy-finish
Make sure skuDetails exists and isn't empty
3.0.1
2021-01-25 23:20:24 +01: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
Björn Ritzl
401e23562e
Merge pull request #30 from defold/fix-for-new-emscripten
Method calls update
3.0.0
2020-12-29 19:43:01 +01:00
Alexey Gulev
0b455dd9da Method calls update 2020-12-29 19:09:32 +01:00
Björn Ritzl
aabfc49c1d Updated docs with iap.acknowledge() 2020-11-14 21:00:18 +01:00
Björn Ritzl
5c806a990d
Merge pull request #28 from SkaterDad/Amazon-Fix-NPE
Fix crashes when using Amazon provider
2.0.2
2020-10-20 11:12:15 +02: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
906a4679e4
Merge pull request #27 from defold/Issue-26-crash-on-free-empty-static-string
Allocate empty string when title is missing to have the same code path in both cases
2.0.1
2020-08-20 13:12:30 +02: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
16f0057399 Updated docs 2020-08-03 13:01:50 +02:00
Björn Ritzl
6d898ab5ac
Merge pull request #25 from defold/dev-upgrade-to-billing-library
Upgrade to billing 3.0
2.0.0
2020-07-28 08:32:31 +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
b1233f5912 Update index.md 2020-07-23 22:54:24 +02:00
Björn Ritzl
ef535bb677 Update index.md 2020-07-23 22:43:54 +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
7a00cd711d Define NON_CONSUMABLE 2020-07-23 12:26:01 +02:00
Björn Ritzl
83876a508b Almost done 2020-07-23 12:18:40 +02:00
Björn Ritzl
fcbdd9f4a6
Update index.md 2020-06-08 15:55:48 +02:00
Mathias Westerdahl
e79b5cfb36
Merge pull request #22 from dyukorev/master
Pending transactions fix
1.4.0
2020-04-01 10:10:41 +02:00
Denis Dyukorev
9a40a8ea73 Add 'process_pending_transactions' function documentation 2020-03-31 17:22:07 +07: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
1.3.0
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
4efe0c2a25
Merge pull request #19 from defold/Issue-3-handle-missing-google-play-store
Handle missing google play store
2020-03-09 11:43:28 +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
Björn Ritzl
1c017cf4ed
Merge pull request #17 from Filazapovich/master
iOS: Fix localized numbers in transaction date for some Arab countries
1.2.3
2020-03-05 06:29:00 +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 1.2.2 2020-02-10 08:25:48 +01:00
Björn Ritzl
c8d2d4e0d8 Merge branch 'master' of https://github.com/defold/extension-iap 2020-02-10 08:00:59 +01:00
Björn Ritzl
d2e2a640df Updated the example 2020-02-10 08:00:56 +01:00