Hello all, apologies for the radio silence. I've been working away on a BlackBerry 10 plugin for Construct 2 but was held up due to some larger transitions in our BlackBerry WebWorks platform. Primarily, we're shifting to a Cordova-based tooling system for which I need to wait for a Cordova 3.0 release before being able to implement these plugins.
Now that Cordova is there though, let's do a quick status update.
BlackBerry 10 Plugin for Construct 2:
BlackBerry Messenger
- Register with the platform (required before APIs can be accessed.)
- Invite BBM contacts to download the application.
- Set the personal message of the user to a custom string (i.e. "I'm playing an awesome Construct 2 game!")
In-App Payments
- Purchase a digital good.
- Get existing purchases (in progress.)
- Get price of digital good (in progress.)
Getting existing purchases will allow you to ensure you can keep a record of what the user has already purchased (level packs, etc.) without needing to rely on storing this information in your app itself.
Getting the price of a digital good will be handy if you want to display this information within your application (before the user clicks through to buy something.)
You can find the remaining possible Payment APIs documented here:
developer.blackberry.com/html5/apis/blackberry.payment.html
I'm curious whether there are any important APIs beyond what is planned that you would want. If so, can you please just provide a brief use-case for the functionality?
I'm aiming to finish this off this week and have a pull request into Github where there will be a CAPX Hello World project along with the plugin that shows basic usage.
If there's any feedback in the meantime, please let me know!