We have one native Android application which will launch CCT to browse a web page. There is a JavaScript button inside the Web page will trigger some native behavior by calling the AppLink URL listened by hosting native app. After Native App finish the task, how can it return a string back to JavaScript code? Can native app use CustomTabsSession PostMessage API to return the value to JavaScript?
i know i can reload the CCT page via additional URL parameter to return the value to JavaScript, but it will cause the page reload which is not a good user experience.