strada-ios
strada-ios copied to clipboard
Persisting the bridge across views?
I'm working on a podcast app that includes a persistent player bar implemented in a native view. I wish to communicate various events back to the web view such as play state and current time. I've followed the Strada getting started guide and have something working on a single screen (which feels magical 🪄), but as soon as I navigate away, I get console warnings:
bridgeMessageFailedToReply: bridge is not available
My player component is set on the html
element, a similar approach to that used on the https://37signals.com/podcast/. What's the best way to hook this up? I'd be happy to provide more detail if needed…
Thanks!