Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using cached data to connect is not working properly #45

Open
hiletmis opened this issue Jun 17, 2022 · 1 comment
Open

using cached data to connect is not working properly #45

hiletmis opened this issue Jun 17, 2022 · 1 comment

Comments

@hiletmis
Copy link

I am trying to implement wc to android app but I am facing a strange problem.

Things that works:

  • Connecting using wc: link

Things that does not work:

  • Using stored session and peer data to reconstruct an old connection;
    connect(session, peerMeta, peerId, remotePeerId)

It seems to be connected but the connection is one way! There are incoming messages but approvals and rejections never pass to the other end.

I have a few opinions but don't know why this happens.

  1. handshake id remains -1 when using old data to connect
  2. connect request never triggers handleRequest methods

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@hiletmis and others