Pebble library to sell your pebble watchfaces and watchapps with KiezelPay.

How to use

This package does NOT work stand-alone.

To use this package, go to kiezelpay.com, sign up and follow the documentation.

Change Log

All notable changes to kiezelpay-core will be documented here.

Fixed

Better error handling for websockets in case websocket server becomes unreachable.

Added

Send kiezelpay-core library version along with status requests to the KiezelPay server.

Fixed

Better error handling for websockets, and prevention of a second websocket connection sometimes opening.

Added

In case of a websocket failure, the library will now retry the websocket connection every 10 seconds instead of reverting to the polling behaviour indefinitely.

Fixed

Fixed bug introduced in version 2.1.0 which in some rare occasions could cause the status polling behaviour towards the KiezelPay server to run out of control. This status check would then happen multiple times per second instead of at most once every 3 seconds as intended.

Changed

During the purchase process, the library will now try to use a websocket connection to the KiezelPay server instead of polling every few seconds to get the new status. In case anything goes wrong with the websocket connection, it will fall back to its old polling behaviour. Websockets give a better user experience (no delay in purchase status updates) and lower the load on the KiezelPay server.

Added

Support for Emery platform.

Added

Periodic fallback rechecks in javascript.

Added

Added new "low-memory" mode that uses even less memory (but has some some drawbacks as explained above the setting in the kiezelpay.c file).

Changed

Improved overall memory usage.

Fixed

Correctly call kiezelpay_messaging_deinit() from kiezelpay_deinit() so all memory held by kiezelpay-core is released on exit.

Fixed

No more alternating "No BT"/"No Internet" errors with vibrations in case of BT problems.

Fixed

Watch now displays the new purchase code as soon as the old one is expired.

Fixed

Fix timer errors that show up in the logs during the purchase process.

Added

Support for Diorite platform.

Change

Redefine LOG macro to allow overriding this macro from outside the KiezelPay package.

Fixed

Fix possible crash when "internet connection error" is shown during the purchase process.

Fixed

Fixed issue that broke KiezelPay as soon as the package was included in multiple files in your app.

Added

Added functionality to define how the "back" button is handled in watch apps during the purchase process.

Changed