Skip to content

RPC call from webapp do not receive response #10

@Chralu

Description

@Chralu

Describe the problem you discovered

Making a deeplink RPC call from a webapp (in browser) does not receive the response.
The RPC sever will open a webview instead of redirecting to the web browser which made the call.

Describe the solution you'd like

This has two causes :

  • the launchUrl callback should delegate decision to the OS (mode: LaunchMode.externalApplication).
  • the callbackURL should be the same URL as the one initiating the request, plus RPC response.

Example :

  1. https://my-app.com/a-subroute makes an RPC call to myapp://
  2. myapp:// processes the request an sends result to https://my-app.com/a-subroute#deeplinkrpcresponse=<encoded response>

Epic

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions