143 Commits

Author SHA1 Message Date
322e48e8a7 Merge pull request 'refactor/extension' (#2) from refactor/extension into master
Reviewed-on: #2
2024-05-04 17:40:21 +02:00
b358e0bce4 Refactor IAP extension for Android and iOS platforms 2024-04-28 10:07:39 +02:00
6e27d8ad2e Fix null pointer check and callback setup in IAP_SetListener function 2024-04-26 23:06:15 +02:00
596e210c8a Merge pull request 'refactor/extension' (#1) from refactor/extension into master
Reviewed-on: #1
2024-04-26 22:23:01 +02:00
406a594c8d Refactor IAP extension for Android and iOS platforms 2024-04-26 22:21:37 +02:00
8243491de2 Add c_cpp_properties.json file for Linux configuration 2024-04-26 22:21:32 +02:00
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
Alexey Gulev
68ef7f4615
Merge pull request #63 from ekharkunov/emscripten-update
Update js code according to new Emscripten version (3.1.55).
2024-04-10 11:08:22 +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
09f5060d44 Update index.md 2023-10-03 14:40:19 +02: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
5c09447e37
Merge pull request #59 from defold/Issue-56-app-crash-on-slow-purchase
Check that the purchase listener is not null
2023-02-07 15:51:25 +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
f97a7ee6b6
Merge pull request #55 from defold/fix-json-migration-issue
Push nil as last argument if there is no error
2022-11-21 10:30:12 +01:00
Björn Ritzl
5f3f43fb2e Push nil as last argument if there is no error 2022-11-21 10:21:12 +01:00
Mathias Westerdahl
caff4397d8
Merge pull request #54 from defold/lua-to-json
Updated to use dmScript::LuaToJson()
2022-11-02 15:00:12 +01:00
JCash
501af9c90d Updated to use dmScript::LuaToJson() 2022-11-02 14:36:36 +01:00
Björn Ritzl
961a43f732
Update index.md 2022-09-27 14:46:24 +02:00
Björn Ritzl
47f03108ab Merge branch 'master' of https://github.com/defold/extension-iap 2022-09-23 16:21:36 +02:00
Björn Ritzl
c0e1a9aef1 Fixed YAML format errors 2022-09-23 16:21:27 +02:00
Alexey Gulev
f4294a9eb5
Merge pull request #53 from defold/AGulev-patch-1
Update index.md
2022-09-12 16:26:20 +02:00
Alexey Gulev
8799860198
Update index.md 2022-09-12 16:26:07 +02:00
Björn Ritzl
40648f4773
Merge pull request #52 from defold/Issue-51-update-billing-library-to-version-5
Updated the Android billing library to version 5
2022-09-08 10:32: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
Björn Ritzl
0a10ff0878
Merge pull request #49 from dapetcu21/master
Fix bundling for Android 12 SDK
2022-05-02 15:03:34 +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
df7f05c1a6
Merge pull request #48 from defold/fix/mutex-scope
Smaller mutex scope + use new SDK android methods (Defold 1.2.188)
2021-10-31 22:01:05 +01: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