I’ve built-in Superwall for dealing with subscriptions in my Flutter app. To buy a subscription, I take advantage of the Superwall paywall and have linked Superwall to RevenueCat to retrieve lively subscription particulars.
Anticipated Habits
- Consumer purchases a subscription through Superwall.
- Retrieve lively subscription particulars from RevenueCat utilizing Purchases.getCustomerInfo().
- Replace subscription particulars in Firebase.
Downside
-
This works effective on Android, however on iOS, RevenueCat doesn’t present the lively subscription within the dashboard after a profitable buy through Superwall.
-
Even Purchases.getCustomerInfo() doesn’t return any lively subscription particulars.
-
Surprisingly, once I use a take a look at account (take a look at.subscription@gmail.com), which is submitted as a take a look at account in iOS, it returns the lively subscription knowledge after a couple of minutes, however for every other account, it doesn’t return any lively subscription.
What I Have Tried
- Ensured that Superwall is efficiently processing the acquisition (it exhibits as profitable).
- Checked RevenueCat’s logs and dashboard, however no lively subscription is listed for non-test accounts.
- Verified the mixing of Superwall with RevenueCat following their official documentation.
- Made certain Purchases.getCustomerInfo() is known as appropriately after buy.
Questions
- Why is RevenueCat not detecting the lively subscription instantly on iOS, whereas it really works on Android?
- Why does it work just for a selected account and never for all accounts?
- Are there any delays or handbook steps required to sync Superwall purchases with RevenueCat on iOS?
- Is there a technique to drive RevenueCat to refresh the subscription standing instantly after a purchase order?
Setup Particulars
- Flutter model: 3.22.0
- Superwall model: superwallkit_flutter: ^1.3.9
- RevenueCat SDK model: purchases_flutter: ^8.4.3
- platform :ios, ‘14.0’