How to display paywall in flutter app?
As far I can see there is no support implemented for Flutter at this moment.
Hi!
If you’re referring to our Paywalls feature, that’s correct—we don’t have support out for Flutter yet, but we are working on it.
If you’re asking about how to display a paywall in general in Flutter, we have a sample app here that renders a paywall with our best practices.
Hi!
If you’re referring to our Paywalls feature, that’s correct—we don’t have support out for Flutter yet, but we are working on it.
If you’re asking about how to display a paywall in general in Flutter, we have a sample app here that renders a paywall with our best practices.
Thanks for the clarification! Was referring to the beta Paywall feature. Nice reading it is on it’s way to flutter as well.
Hi!
If you’re referring to our Paywalls feature, that’s correct—we don’t have support out for Flutter yet, but we are working on it.
If you’re asking about how to display a paywall in general in Flutter, we have a sample app here that renders a paywall with our best practices.
I meant the feature yes. We started using it in our iOS app and enjoying so far. Looking forward to the flutter support. Is there any ETA?
We don’t have an ETA just yet but we are actively working on it
Hello everyone!
Good news, we've released a beta of Flutter Paywalls! https://github.com/RevenueCat/purchases-flutter/releases/tag/6.3.0-beta.1.
Note that this is an early beta with very basic support, but it allows presenting fullscreen paywalls on both iOS and Android as well as going through the full purchase flow.
We would love to hear your feedback to help us make paywalls feel at home in Flutter.
For anything feel free to reply here or use https://form.typeform.com/to/ExfmHFYJ.
Thank you!
Hello everyone!
Good news, we've released a beta of Flutter Paywalls! https://github.com/RevenueCat/purchases-flutter/releases/tag/6.3.0-beta.1.
Note that this is an early beta with very basic support, but it allows presenting fullscreen paywalls on both iOS and Android as well as going through the full purchase flow.
We would love to hear your feedback to help us make paywalls feel at home in Flutter.
For anything feel free to reply here or use https://form.typeform.com/to/ExfmHFYJ.
Thank you!
Hi,
I saw that the Flutter Beta releases with the Paywall support says to subclass PurchasesFlutterActivity
but when I do that the following error shows up:
Unresolved reference: PurchasesFlutterActivity
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
How do we reference PurchasesFlutterActivity in our MainActivity.kt file?
Thanks
What version of the SDK are you using?
What version of the SDK are you using?
Right now 6.3.0 Beta 2 but the issue also occurred for me with 6.3.0 Beta 1
Can you share your code? Are you importing the class?
It is exposed from the SDK: https://github.com/RevenueCat/purchases-flutter/blob/6.3.0-beta.2/android/src/main/java/com/revenuecat/purchases_flutter/PurchasesFlutterActivity.java#L23
Can you share your code? Are you importing the class?
It is exposed from the SDK: https://github.com/RevenueCat/purchases-flutter/blob/6.3.0-beta.2/android/src/main/java/com/revenuecat/purchases_flutter/PurchasesFlutterActivity.java#L23
How do I import it?
Try adding this:
import com.revenuecat.purchases_flutter.PurchasesFlutterActivity;
Try adding this:
import com.revenuecat.purchases_flutter.PurchasesFlutterActivity;
Thanks. That fixes it.
If it's possible, I would recommend adding that to the next Flutter Paywalls Beta release note (or adding a way of showing that somewhere on the github repo) just to clarify how to import that for others.
Awesome, thanks! We’ll add it to the future docs :)
Is this still on beta?
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.