feat: add offline activation flow#13
Merged
Merged
Conversation
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).
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))
|
🎉 This PR is included in version 3.1.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds SDK support for Moonbase's file-based offline activation:
licensing::generate_device_token()emits the base64-encoded device token ("machine file"), andlicensing::read_offline_license()validates a downloaded license token locally and requiresmethod == offline. The JUCE bridge gainsdeviceTokenContents()/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'sactivate_productintent, and a custom API/SDK flow.