paritytech / paritytech/host-rust-core

Rust runtime: Add papi reconnection once Host returns foreground

Open
#789 0 comments 0 reactions 1 assignee View on GitHub

@pgherveou is already working on this.

Since Sep 15, 2026.

Host Rust Core
Dominant language
Swift
Stars
10
Forks
3
Avg merge
1d 10h
Merged PRs (30d)
148

Description

Source issues:
https://github.com/paritytech/platform-issues/issues/3
https://github.com/paritytech/platform-issues/issues/9

Conversation:
https://matrix.to/#/!xqDrJhfzPoOhVfSVEu:parity.io/$BQLZkHIy1Ky0XwPp8SNlhQL3wwvDhKfeCqfBFd9RIJ0?via=parity.io&via=matrix.org

Ruslan's assumption:

It might be that the web socket connection to the app get killed as i see "Message port closed unexpectedly". And i think this is usually happens when the app goes to background and then is restored after some time. What we did for the native runtime is to manually stop papi connection and restart it again once app returned foreground. We probably could have the similar solution here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.