Releases: defold/extension-poki-sdk
Fixed rare case of douple initialization
Updated to support Defold 1.8.0
CHANGE: This version works on Defold 1.8.0 and above
Deprecate is_ad_blocked()
CHANGE: The poki_sdk.is_ad_blocked() function has been deprecated in the Poki SDK. The recommended way to detect ad blockers is to check the success
flag in the callback when showing a rewarded ad.
Better error logging
- Changed some error messages to make it easier to find the error place.
- Added new error message when callback already exist (in case when game tries to show new ads before previous finished)
Do not send warnings from the engine
In this version, warnings excluded from error reporting.
Do not repeat error messages
Make sure that SDK sends each automatically collected error message only once per session
Use `captureError()` for internal ERROR, WARNING and FATAL engine's messages
Starting this release the SDK collects all the internal ERROR, WARNING and FATAL (dmLogError()
, dmLogWarning()
, dmLogFatal()
) engine's messages using PokiSDK.captureError()
. These messages will be available in your dashboard in the following format: DEFOLD:message
. For example:
DEFOLD:ERROR:GUI: Could not create the node since the buffer is full (32).
Do not collect Lua errors manually using sys.set_error_handler()
anymore. It will be collected automatically, for example:
DEFOLD:ERROR:SCRIPT: example/poki-sdk.gui_script:32: attempt to perform arithmetic on global 'a' (a nil value)
stack traceback:
example/poki-sdk.gui_script:32: in function <example/poki-sdk.gui_script:31>
New APIs
Autocomplete for `shareable_url` and `get_url_param`
Added new shareable_url
and get_url_param
functions for autocompletion script_api
file.
Sharable URLs & URL manipulation
- Added new functionality: Sharable URLs & URL manipulation