6 ms·
This is an incredible write up and touches on a bunch of headaches I'm sure we've all hit with RN, so thanks. I'm interested in how you're dealing with the liv
by samschooler 10mo ago
This is an incredible write up and touches on a bunch of headaches I'm sure we've all hit with RN, so thanks.
I'm interested in how you're dealing with the live activity and share sheet. I always drop down to native code, but am wondering if you built those with RN as well?
- fernandorojo 10mo agoFor the live activities, we used expo-apple-targets. That helps bootstrap it, link assets, etc. The UI itself is SwiftUI. The hard part here was actually the server-driven events for the activities during the stream. Live activities can be annoying to work with using APNs. You can just use Share.share() from react-native directly for the share sheet.
- samschooler 10mo agoSweet, didn't know about expo-apple-targets. I think that answers both. By share sheet I meant external, so a safari -> share sheet -> v0.dev -> your custom share view external to the app. But I'm sure it's the same flow with expo-apple-targets.