[LWM] feat(mobile): switch device mode from polling to event#15600
[LWM] feat(mobile): switch device mode from polling to event#15600aussedatlo wants to merge 1 commit intodevelopfrom
Conversation
Switch the device transport mode from "polling" to "event" for improved stability. The event-based transport is more reliable and achieves parity with the desktop transport, ensuring a consistent behavior across platforms. Made-with: Cursor
|
There was a problem hiding this comment.
Pull request overview
Updates the Ledger Live mobile live-common initialization to use the event-based hardware action implementation mode instead of polling, aiming to align transport behavior with desktop and improve stability.
Changes:
- Switch
setDeviceModefrom"polling"to"event"in the mobile live-common setup.
|
|
||
| setGlobalOnBridgeError(e => logger.critical(e)); | ||
| setDeviceMode("polling"); | ||
| setDeviceMode("event"); |
There was a problem hiding this comment.
This changes user-facing device connectivity behavior on mobile (switching the global hw app action implementation mode). Per repo policy, PRs that change user-facing behavior should include a Changeset (via pnpm changeset) so the release notes/versioning capture it.
| setDeviceMode("event"); |
Web Tools Build Status
|
|



Summary
setDeviceModefrom"polling"to"event"in the mobile live-common setupJira: LIVE-25566
Test plan
Made with Cursor