Vendored SDK Example Sources
The .java files in this directory are vendored byte-for-byte from the ankasecure-sdk repository, package co.ankatech.ankasecure.sdk.examples.
They are copied verbatim — with no banner, header, or any other edit — so that the SDK flow documentation pages can --8<-- include the real, compiling source. The documentation site is built with mkdocs build before the Docker image stage, in an environment where the ankasecure-sdk repository is absent; the example sources must therefore live in-repo for the includes to resolve.
Do not hand-edit
These files MUST NOT be edited here. The canonical source is ankasecure-sdk (src/main/java/co/ankatech/ankasecure/sdk/examples). Any change must be made there first, then re-vendored.
Readers copy these examples verbatim, so the vendored copy must remain an exact duplicate of the canonical source.
Sync and validation
The vendored copies are kept in sync with — and validated against — the canonical SDK sources by:
The verification script diffs each vendored file against its ankasecure-sdk counterpart and fails the build if any difference is found. To update a vendored file, edit it in ankasecure-sdk, then re-copy it here and re-run the verification script.
Classification
This directory is classified PUBLIC via the sibling .tier file. The flow pages that include these snippets are PUBLIC, so the vendored sources — and this README — are published on the PUBLIC documentation site.