Questions tagged [revenuecat]
203 questions
1
vote
1 answer
Flutter with RevenueCat
I was following a tutorial but got cut off as something does work.
I am using revenuecat as my subscription handler howver i have encountered a problem where I cant update the bool value though i made a function.
The idea is that if the entitlement…

Retired
- 28
- 1
- 5
1
vote
1 answer
Request all Revenue Cat customers with the REST API
I would like to query my customers (with active / trial subscriptions) from Revenue Cat.
I do see that i can get any customer by using this endpoint.
I would like to be able to do some pagination and retrieve the customers directly without having to…

Tom3652
- 2,540
- 3
- 19
- 45
1
vote
0 answers
Is there a way to know if a user previously had a free trial on iOS and android - flutter
is there any way to check if the user already took the trial in flutter using the revenuecat package? I want to know this information to stop showing the ad for the trial because already took it one time

Evripides Kyriacou
- 85
- 5
- 14
1
vote
1 answer
Flutter: java.lang.IncompatibleClassChangeError: Found interface com.revenuecat.purchases.models.StoreProduct, but class was expected
After Configuring RevenueCat SDK, when I attempt to purchase a product or to open a paywall this error shows in the debug tab and crashes my app. Note that I only use Android for now, so everything is configured for play store mainly, thus why I…

Andrei Rosca
- 13
- 4
1
vote
3 answers
Error. Null check operator. RevenueCat + Flutter
I can't find the cause of the error when setting up RevenueCat in my first application.
Please help me find the cause of this error:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value
I…

skv500
- 47
- 6
1
vote
0 answers
User issue with Flutter Revenuecat providing free trial with promo code
I am using revenucat to manage subscriptions in my app. But I noticed a problem. I have promo codes that I created on google play for my user. With this code, the user can use 3 months free of charge. When the user logs in on another device, I can't…

a.snss
- 143
- 3
- 10
1
vote
2 answers
'setup' is deprecated and shouldn't be used. Use PurchasesConfiguration
How can i fix this and make it not deprecated
import 'package:purchases_flutter/purchases_flutter.dart';
class PurchaseApi{
static const _apiKey = '';
static Future init() async{
await Purchases.setDebugLogsEnabled(true);
await…

Android_devNL
- 107
- 1
- 9
1
vote
1 answer
Can I check a user subscription variable Bool from a "PaywallDelegate" extension in Superwall and RevenueCat?
I am integrating Superwall and RevenueCat in Swift. I have decided to use Superwall due to its ease of config and setup, but I am actually struggling to present the paywall conditionally only to users who are not subscribed to the platform. Is there…

Carles - Plaved Tech
- 55
- 7
1
vote
1 answer
How to optimize revenue cat code to purchase subscriptions
I have the following swift code that allows me to purchase a subscription inside my IOS app. I'm using the revenue cat SDK.
Purchases.shared.logIn(uid) { (purchaserInfo, created, error) in
Purchases.shared.offerings { (offerings, error)…

Chris Hansen
- 7,813
- 15
- 81
- 165
1
vote
0 answers
StoreKit 2: `try await Product.products` does not finish and does not throw. Can watchOS fetch products on TestFlight builds? iOS works
I am using a class that targets both my iOS as well as my watchOS target - so both use the same code.
If I upload my code to TestFlight, my iPhone is able to fetch the products just fine. However, with my Apple Watch, the process seems to stall.
I…

swtype
- 41
- 2
1
vote
0 answers
App Store subscriptions url works in iPhone Safari but in Xamarin Forms fails to connect to iTunes store
I am using a url that, in iPhone Safari, takes me to a list of my App Store subscriptions. However when I use Xamarin Forms WebView to display that same url in my iOS solution, it wrongly displays another page entirely. The url…

BillF
- 1,034
- 3
- 13
- 28
1
vote
1 answer
Getting entitlements for customer - revenuecat
What's up some guys. I am implementing purchases_flutter in my flutter app and I have stumbled upon a problem. I have been following the revenuecat documentation on how to get customer entitlements and then grant them access to certain content. I am…

pfeidewigo100
- 47
- 5
1
vote
2 answers
How to get trialDuration of a product in RevenueCat?
I am trying to dynamically display the trial duration of my annual product. I have found trialDuration in RC framework but I don’t know to use it. I am getting products like this:
private var offering: Offering? =…

Mc.Lover
- 4,813
- 9
- 46
- 80
1
vote
1 answer
Flutter: In-app purchase backend verification
I'm trying to follow the below codelab tutorial... regarding step 9 it is asking us to setup GCP+firebase backend to verify purchase,
https://codelabs.developers.google.com/codelabs/flutter-in-app-purchases#8
however my app only require a very…

icantcode
- 142
- 1
- 15
1
vote
1 answer
Ionic revenuecat "Cannot resolve symbol hybridcommon" and more
I have installed cordova and capacitor plugins for ionic by following this guide :
https://ionicframework.com/docs/native/purchases
$ npm install cordova-plugin-purchases@2.3.0
$ npm install @awesome-cordova-plugins/purchases
$ ionic cap…

Mansour Alnasser
- 4,446
- 5
- 40
- 51