Skip to content

Releases: defold/extension-poki-sdk

Fixed rare case of douple initialization

27 Nov 15:14
eb3f751
Compare
Choose a tag to compare
  • Fixed double initialization in case of exception in runApp()

Updated to support Defold 1.8.0

15 Apr 08:01
ca244c6
Compare
Choose a tag to compare

CHANGE: This version works on Defold 1.8.0 and above

Deprecate is_ad_blocked()

21 Dec 08:00
c307fc1
Compare
Choose a tag to compare

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

14 Nov 07:19
92df781
Compare
Choose a tag to compare
  • 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

01 Nov 09:25
Compare
Choose a tag to compare

In this version, warnings excluded from error reporting.

Do not repeat error messages

31 Oct 18:55
506e133
Compare
Choose a tag to compare

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

31 Oct 18:26
Compare
Choose a tag to compare

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

15 Apr 13:36
Compare
Choose a tag to compare
  • New function added poki_sdk.capture_error(error_string) - track error in the Poki Developer Dashboard
  • Replaced outdated poki_sdk.is_adblock_active() function with new poki_sdk.is_ad_blocked() function
  • Removed deprecated function poki_sdk.happy_time(value)

Autocomplete for `shareable_url` and `get_url_param`

29 Jan 14:59
de8185c
Compare
Choose a tag to compare

Added new shareable_url and get_url_param functions for autocompletion script_api file.

Sharable URLs & URL manipulation

29 Jan 14:50
eab6496
Compare
Choose a tag to compare