Skip to content

feat: add offline activation flow#13

Merged
TobbenTM merged 1 commit into
mainfrom
offline-activation-flow
Jun 16, 2026
Merged

feat: add offline activation flow#13
TobbenTM merged 1 commit into
mainfrom
offline-activation-flow

Conversation

@TobbenTM

Copy link
Copy Markdown
Member

Adds SDK support for Moonbase's file-based offline activation: licensing::generate_device_token() emits the base64-encoded device token ("machine file"), and licensing::read_offline_license() validates a downloaded license token locally and requires method == offline. The JUCE bridge gains deviceTokenContents() / activateOffline(), and the sample app wires both to Save machine file… / Load license token… buttons while showing richer license details (activation method, product, add-ons, subscription, expiry). Includes unit tests for both new SDK methods. Updates the README and docs, covering the three ways to exchange the device token: Moonbase's hosted portal, the embedded storefront's activate_product intent, and a custom API/SDK flow.

Add SDK support for Moonbase's file-based offline activation: emit a
device token ("machine file") and read back the offline license token.

- licensing::generate_device_token() emits the base64-encoded device
  token (id/name/productId/format) for upload to the activation page.
- licensing::read_offline_license() validates a downloaded license token
  locally and requires method == offline.
- JUCE bridge gains deviceTokenContents() and activateOffline(); the
  sample app wires both to Save machine file / Load license token
  buttons and shows richer license details (activation method, product,
  add-ons, subscription, expiry).
- Unit tests for both new SDK methods; README/docs updated, including the
  three ways to exchange the device token (hosted portal, embedded
  storefront activate_product intent, custom API/SDK flow).
@TobbenTM TobbenTM merged commit e680e74 into main Jun 16, 2026
4 checks passed
github-actions Bot pushed a commit that referenced this pull request Jun 16, 2026
# [3.1.0](v3.0.0...v3.1.0) (2026-06-16)

### Features

* add offline activation flow ([#13](#13)) ([e680e74](e680e74))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 3.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant