applyKbcPatchFromFile method
Convenience wrapper around applyKbcPatchFromBytes. Reads the envelope file off disk, then dispatches as above.
The canonical on-device path is
<App Documents>/sankofa-deploy/patches/active/patch.skdp — the
SDK doesn't enforce this so apps can stage patches wherever fits.
Implementation
Future<KbcPatchResult> applyKbcPatchFromFile(
String path, {
required KbcLoaderFn loader,
}) {
// Path C is pure Dart — see applyKbcPatchFromBytes above.
return kbc_loader.applyKbcEnvelopeFromFile(
path,
loader: loader,
signingPubkeysB64: _effectiveSigningPubkeys,
);
}