Skip to content

v0.12.0 — pushes for the phone build, and Paseo 0.15

Choose a tag to compare

@devXpro devXpro released this 05 Nov 23:12
· 4 commits to main since this release

Paseo 0.15.2 changed none of the files the daemon corrections live in, so they came back by themselves after the update. The desktop's waiting music did not, and a phone built with ios-build still never got a push. Both are fixed here.

What changed

  • Pushes for a phone built with ios-build, straight from Apple. Paseo sends every push through Expo's push service, with a key kept in Paseo's own Expo project, and that key does not cover the bundle id this build carries, sh.paseo.debug.<team>, so no push ever reached it. On a paid team, built with KEEP_PUSH=1, the phone now registers its own APNs token, and a new correction in the daemon's push service sends to it with your team's APNs key, named in ~/.paseo-voice/push.json. Every other phone's push goes through Expo as before, and when a push is sent is still the daemon's call. Setup: docs/ios.md#push, details: docs/patches.md.
  • The desktop's waiting music is back on Paseo 0.15. 0.15 put a second file beside the desktop bundle under the same name pattern, the chunk the QR scanner comes from, and the plugin tried that one and refused it as "a version of Paseo this patch does not know". Of several matches, the one app-dist/index.html loads is patched now.
  • The iOS build follows Paseo 0.15.2. Every correction applies; the one that lends the audio engine to plugins follows the module entry Paseo 0.13 introduced.
  • No more SDK 26.2 mark. Paseo adopted the scene life cycle in 0.14, so build.sh no longer marks and re-signs the binary for Xcode 27.

Tests

  • 194 unit tests, 13 of them new: the APNs sender against a local HTTP/2 stand-in for Apple (the provider token checked with the key's public half, the device path, topic and push type, which of Apple's answers revoke a token), the corrected push service run the way the daemon runs it, on the file as Paseo 0.15.2 ships it, and the choice between bundles.
  • npm run e2e on the patched 0.15.2 tree: 20 of 20.
  • On a real iPhone: the 0.15.2 build installed over the old one, connected, and registered its APNs token with the daemon; a test push to it was accepted by Apple's sandbox.

After updating: reload the plugin (paseo plugin reload voice), then restart Paseo: the push correction lives in the daemon's archive, and until the daemon restarts it is not loaded and the phone's microphone goes up as PCM. For pushes, set up the key as in docs/ios.md#push and rebuild the phone with KEEP_PUSH=1 ./ios-build/build.sh.

Full changelog: v0.11.1...v0.12.0