-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paywalls not working at all on Android platform #1111
Comments
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out! |
As Take a look at our tester app https://github.com/RevenueCat/purchases-flutter/blob/main/revenuecat_examples/purchase_tester/android/app/src/main/java/com/revenuecat/purchases_sample/MainActivity.kt where we are inheriting from |
Thanks for response, Is it having any bad side effects, or maybe creating bugs for other plugins? or is it okay to do that? |
We are not aware of any issues or incompatibilities so far. We require If you find any issues with another plugin please let us know so we are aware. Thank you! |
Thank you. |
I have found an issue when using FlutterFragmentActivity: When you are using FlutterFragmentActivity, the PopScope widget, when pressing the device's back button, it takes you out of the app, which is incorrent. When using FlutterActivity, the PopScope widget works as expected, when pressing the device's back button, it takes you to the previous screen, which is correct. |
Thanks for reporting that @arabnology We do need to use a
|
Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.
There are a lot of things that can contribute to things not working. Having a very basic understanding of your environment will help us understand your issue faster!
Environment
flutter doctor
purchases-flutter
Android API 34
every one of your customers is impacted
E/PurchasesUIFlutter( 8475): Paywalls require your activity to subclass FlutterFragmentActivity
Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
Just calling this:
Describe the bug
This issues is always appear on android, my minSDK 26 and targetSDK is 34.
Also this issue always shown:
This declaration needs opt-in. Its usage must be marked with '@com.revenuecat.purchases.ui.revenuecatui.ExperimentalPreviewRevenueCatUIPurchasesAPI' or '@OptIn(com.revenuecat.purchases.ui.revenuecatui.ExperimentalPreviewRevenueCatUIPurchasesAPI::class)'
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: