I have been able to successfully create a TWA that calls up a PWA. I am looking at a way in which the Android environment (java) can send an object to a specific function inside the PWA. In my case it is a array-buffer.
The need is similar to what is being done in my Desktop app (via Electron), where the array buffer is passed using the send-message
and receive-message
protocol using some sort of inter-process-communication.
I am assuming that once the PWA site is loaded (known to the Android side of things), it can make a send message emitter call that will be picked up by the Javascript receive message event. Something like that.
Thanks for any help.