90 Commits

Author SHA1 Message Date
e8a39d9fee Fix null pointer check in IAP_List function 2024-04-26 00:37:34 +02:00
82d9180447 Fix DM_PLATFORM_ANDROID macro in iap_android.cpp 2024-04-26 00:30:52 +02:00
7fe021480c Fix DM_PLATFORM_ANDROID macro in iap_android.cpp 2024-04-26 00:30:40 +02:00
3dbd318f9c Fix DM_PLATFORM_ANDROID macro in iap_android.cpp 2024-04-26 00:22:45 +02:00
e1106920b1 Refactor IAP initialization and purchase handling in iap_android.cpp and IapGooglePlay.java 2024-04-26 00:21:30 +02:00
d33c1b18ab Remove unused PROVIDER_ID_AMAZON constant in iap_private.cpp 2024-04-26 00:16:04 +02:00
2d8a6496b5 Refactor PROVIDER_ID_GOOGLE to PROVIDER_ID_APPLE in iap.h and iap_android.cpp 2024-04-26 00:14:54 +02:00
75e1dc9515 Fix DM_PLATFORM_ANDROID macro in iap_android.cpp 2024-04-26 00:12:19 +02:00
f20a12ca05 Refactoring base extension. Removed unneeded logic. 2024-04-26 00:10:10 +02:00
a586e94e48 Fix DM_PLATFORM_ANDROID macro in iap_android.cpp 2024-04-22 00:07:30 +02:00
d4616ba97f JNI Method fix 2024-04-22 00:05:43 +02:00
ad30ef296b Added missing JNI method reference. 2024-04-21 22:08:13 +02:00
1b0582fb39 Added set_account_id api documentation. 2024-04-21 22:02:28 +02:00
609071876c Implemented support for account identifiers for Google Play and StoreKit. 2024-04-21 21:55:20 +02:00
Kharkunov Eugene
1a34582603 Update js code according to new Emscripten version (3.1.55).
Update assets to latest Defold version.
Remove armv7-ios from manifest as unsupported platform.
2024-04-10 11:27:41 +03:00
Björn Ritzl
649a8a1ebf
Merge pull request #58 from defold/Issue-47-index-out-of-bounds-exception
Added product and purchase null checks
2023-02-07 15:53:39 +01:00
Björn Ritzl
ad06de7b9c Check purchase listener 2023-02-06 23:11:24 +01:00
Björn Ritzl
d74c97d5c7 Added null checks 2023-02-06 15:56:03 +01:00
Björn Ritzl
5f3f43fb2e Push nil as last argument if there is no error 2022-11-21 10:21:12 +01:00
JCash
501af9c90d Updated to use dmScript::LuaToJson() 2022-11-02 14:36:36 +01:00
Björn Ritzl
c0e1a9aef1 Fixed YAML format errors 2022-09-23 16:21:27 +02:00
Björn Ritzl
3d3433e07f Update iap.script_api 2022-09-08 10:32:04 +02:00
Björn Ritzl
52493d8c83 Improved API docs. Recurrence mode 2022-09-08 10:06:10 +02:00
Björn Ritzl
c09aa64ab5 Added title and description 2022-09-08 09:51:39 +02:00
Björn Ritzl
d0ca1e05fd Update iap.script_api 2022-09-08 09:51:28 +02:00
Björn Ritzl
05e9001404 Fixed issues with subscriptions 2022-09-07 11:58:19 +02:00
Björn Ritzl
a26bb45791 Initial update 2022-09-06 23:59:27 +02:00
Marius Petcu
508a4f8681
Keep a single property indentation style 2022-05-02 15:30:38 +03:00
Marius Petcu
5e1738d353
Fix bundling on Android 12
Bundling fails because the `<receiver>` tag needs `android:exported="true"`.
2022-05-02 15:28:44 +03:00
Alexey Gulev
3ecd6ef587 Smaller mutex scope + use new SDK android methods (Defold 1.2.188) 2021-10-31 13:22:18 +01:00
JCash
92d90bb4de Fixed nul pointer deferencing 2021-10-06 09:55:49 +02:00
Björn Ritzl
e6e2f2de63
Update iap.script_api 2021-09-09 13:26:08 +02:00
Björn Ritzl
3468b52658
Merge pull request #41 from BigButtonCo/master
Add original_json to transaction for validating purchases on android
2021-09-09 13:23:13 +02:00
JCash
b3b79006d7 Fixed threading issue of checking if command buffer is empty 2021-08-02 10:10:00 +02:00
Björn Ritzl
8b2c7b0bca
Removed old Amazon SDK version 2021-07-22 19:58:18 +02:00
Salavat
beb89d507f Brought stores to a common view
Amazon iap_lib update
2021-07-20 02:32:13 +06:00
BigButtonCo
1a6d2f01e5 Merge branch 'defold:master' into master 2021-06-03 20:05:02 +02:00
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
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
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