alepha@docs:~/docs/reference/providers$
cat MemoryUpdaterAdapter.md | pretty1 min read
Last commit:
#MemoryUpdaterAdapter
#Import
typescript
1import { MemoryUpdaterAdapter } from "@alepha/capacitor/ota";
#Overview
The pinned updater's behaviour, in memory, for specs of the real
OtaProvider: the semantics measured on the simulator and the emulator
(#Q2524), Android's where the platforms differ.
check()answers what a spec queued inanswers, decoded as the plugin decodes it (session_keyintosessionKey);download()refuses what the plugin refuses (no session key, no checksum, a URL inbroken) and stores apendingbundle;setNext()of the current successful bundle is a no-op, as on Android;backgroundapplies the next bundle unless it is marked failed;rollBackis the updater's own revert of an unacknowledged one.