Overview
Now that you’ve set up placements, create a subscription product for Encore to offer. When a user accepts a win-back offer, Encore triggers a real subscription purchase using the product you configure here. The native stores (App Store and Google Play) handle all entitlement state. Since Flutter apps run on both iOS and Android, you’ll configure products for each platform.Enter a Product ID in the Encore Dashboard and create matching products in App Store Connect and/or Google Play Console.
Add Product ID in the Encore Dashboard
- Go to your app in the Encore Dashboard
- Navigate to Entitlements
- Paste your Product ID (e.g.,
com.yourapp.encore.annual.1m.trial) - Confirm: “I have created this product”
- Click Save
Create Products in the App Stores
- iOS (App Store Connect)
- Android (Google Play Console)
Follow the iOS guide for creating your subscription product in App Store Connect:
iOS: Add Subscription Product
Step-by-step instructions for creating an auto-renewable subscription in App Store Connect, including the recommended configuration and the Encore CLI shortcut.
Configure Analytics
To track subscription events and measure offer impact, set up server notifications for each platform:iOS: Configure Analytics
Set up App Store Server Notifications so Encore can track subscription lifecycle events on iOS.
Android: Configure Analytics
Set up Real-time Developer Notifications so Encore can track subscription events on Android.
You’re Done!
You’ve completed the Encore Flutter integration. Here’s what to explore next:- Encore Dashboard — Monitor analytics and manage your app
- iOS SDK Reference — Full API documentation for the underlying iOS SDK
- Android SDK Reference — Full API documentation for the underlying Android SDK