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

PostMessage request has failed due to an internal error on the browser message channel. #445

Open
onkar-rentomojo opened this issue Oct 3, 2023 · 2 comments

Comments

@onkar-rentomojo
Copy link

onkar-rentomojo commented Oct 3, 2023

Read this First
If you have a Trusted Web Activity related question, the best place to ask it is on StackOverflow, on the
trusted-web-activity tag, which is also monitored by the team.

Describe the bug
Open your app URL - post message works properly and data flow is proper - open external url in new tab and comeback to the app - as soon as web sends post message, app crashes. We get -3 error code which is this - PostMessage request has failed due to an internal error on the browser message channel.

Additional context
Tested on chrome 117, chrome 119 (dev)

@Cartier0745
Copy link

Hi @onkar-rentomojo I am trying to setup Postmessage demo from https://developer.chrome.com/articles/post-message-twa/ but it's failed on onRelationshipValidationResult. Could you please tell me how do you specify

private Uri SOURCE_ORIGIN = Uri.parse("my-app-origin-uri");

Is it just package name eg. https://com.mycompany.myapp ?

@shunxing
Copy link

shunxing commented Feb 6, 2024

@Cartier0745 I have the same issue as you

@onkar-rentomojo any idea ?

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

3 participants