Building a hyper flexible backend driven UI: Behind the scenes of the new RevenueCat Paywalls
summary
RevenueCat builds a backend-driven paywall editor that sends a recursive JSON component tree to the app and renders it as native SwiftUI (not a webview). The SDK decodes with Codable, converts nodes to view models, validates the tree and either renders or falls back to a hard-coded paywall. Layout is composed from three primitives, text/image/stack primitives, plus container types for buttons, packages and purchases; backward compatibility relies on component fallback and keeping core primitives stable so older SDKs still work.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 2:04Backend driven UI
- 3:07Reasons for backend UI frameworks
- 5:16Backend UI complexity gradient
- 8:46RevenueCat subscription SDK
- 12:37Paywalls V1 architecture limits
- 18:17Paywalls V2 goals and team
- 20:00New editor demo
- 21:46Paywalls V2 architecture
- 26:44Backwards compatibility
- 29:54Summary and Q&A
related talks
45mswiftui view codable – transforming swiftui to json for a fully backend driven ui
27mReusable UI components with SwiftUI
23mUsing SwiftUI as a Language
41mWhen You Can’t Go All In On SwiftUI, Build a Hybrid UI App Instead!
25mScaling with Server Driven UI
25mPrepping For a SwiftUI Future
30mEvolving Existing Projects With SwiftUI
27mA 100% SwiftUI App
