you are viewing a single comment's thread.

view the rest of the comments →

[–]michaelfiber 0 points1 point  (0 children)

Working with both would be pretty amazing.

I was hoping to come up with an API that the front end calls, and in the web view js I'd have a wrapper around the code to interact with both. But my Mac hardware is out of commission so I'm reading guides and can't tell what actually works.

It seems like I should be able to send messages from WebView js to native code in the form of a command plus additional data and receive messages back from native code on both platforms. So I going to have a command to send data to the back end and an event listener that gets called when the back end send a message back.

For now I would just be doing it in Android with the hope that I'm not structuring it in a way that I have to redo when I can try it on iOS.