Used this documentation. Works. https://developer.chrome.com/docs/android/post-message-twa
BUT! If we change "relation" in assetlinks.json: ["delegate_permission/common.handle_all_urls"]
to "relation": ["delegate_permission/common.use_as_origin"], as indicated in the article - the address bar appears in the application.
How to fix?
You can specify multiple ones in the json
However I have the issue that it's not reaching
onMessageChannelReady.If I call
requestPostMessageChannelinonCustomTabsServiceConnectedit returnstrue. Inside the callbackonRelationshipValidationResult, the result isfalse. Therefore it's not validatedDid you have that issue ?