v1.3.5: own API key on the phone no longer hangs (secure-storage plugin handed to a promise as a thenable)

Every key-store call on Android stalled before it started: the Capacitor plugin proxy answers
`then` with a native method, so a promise resolving to the plugin itself never settled. Save
greyed out, key "not saved", Coach "thinking" forever (#42, #58). The plugin now travels inside
a plain object; a test drives the store through a Capacitor-style proxy. Verified on an emulator.
This commit is contained in:
Duarte Santos committed 2026-09-06 14:31:46 +02:00
1 parent 95654b4f55
commit 684b0054ad
13 files changed
+94 -22

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!-- GENERATED FILE - do not edit by hand.
Built by scripts/build-api-docs.mjs from api/openapi.yaml (openGym API v1.3.4).
Built by scripts/build-api-docs.mjs from api/openapi.yaml (openGym API v1.3.5).
Regenerate with: node scripts/build-api-docs.mjs -->
<html lang="en">
<head>
@@ -232,7 +232,7 @@ main.api-main .lead { color: var(--fg-2); max-width: 58ch; margin: 14px 0 0; fon
</div>
<p class="api-facts">
<span>OpenAPI 3.1.0</span>
<span>openGym v1.3.4</span>
<span>openGym v1.3.5</span>
<span>28 endpoints</span>
<span>AGPL-3.0-or-later</span>
</p>