Home / Companies / RevenueCat / Blog / Post Details
Content Deep Dive

Build a single Expo app with subscriptions on iOS, Android, and Web using RevenueCat

Blog post from RevenueCat

Post Details
Company
Date Published
Author
Perttu Lähteenlahti
Word Count
2,375
Language
English
Hacker News Points
-
Summary

RevenueCat's new Web Billing feature, along with its web SDK, streamlines the process of offering subscriptions across iOS, Android, and web platforms from a single codebase, allowing users to subscribe on one platform and access premium content across all. The tutorial guides users through building a React Native app using Expo, detailing the setup of RevenueCat accounts and the configuration of subscription products on App Store Connect, Google Play Console, and Stripe for web billing. By employing the react-native-purchases library, developers can manage subscriptions across platforms with minimal platform-specific code. The tutorial outlines how to initialize RevenueCat, fetch packages, handle purchases, and monitor user entitlements using shared hooks. This approach ensures a consistent and clean app logic, ready for integration into an Expo app UI, and provides links to additional resources for testing subscriptions on each platform.