Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persisting the bridge across views? #37

Open
domchristie opened this issue Sep 20, 2024 · 0 comments
Open

Persisting the bridge across views? #37

domchristie opened this issue Sep 20, 2024 · 0 comments

Comments

@domchristie
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant