Setup RevenueCat
Prerequisites
- Have an app in Google Play Console and/or App Store Connect.
- A RevenueCat Account (create one here).
- A RevenueCat Project configured for Android/iOS (guide).
Flutter Setup
Once you have the prerequisties, the integration in the app is as simple as adding the Google and/or
Apple keys in the app/.env
file and build the environment using the build_runner
.
Configure products
Setting up products is the most important step to configure your app but also the most time-consuming. Follow RevenueCat official docs to configure your products.
Configure Webhooks
The payment system uses Firebase Functions to handle webhooks from RevenueCat:
-
Click the ’+’ button
-
Use your deployed Firebase Function as Webhook URL
-
You can define an “Authorization header value” and check it matches in the function
-
Save webhook.