-
Notifications
You must be signed in to change notification settings - Fork 20
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
[Android] AdaptyUI Close button not working #138
Comments
Hi @gaucidaniel! Thank you for the issue. Please provide your |
Thanks for replying @x401om! Here you go:
|
I have a similar issue in my app with
|
I am having a similar issue (tried
Same code, same build, not working.
|
Hello! @agladyshev, @Brechard, could you please provide us with verbose logs from the devices when you encounter the issue with the paywalls? Also, I am curious: is there a chance that a hot restart occurred before you experienced this issue? |
@x401om To ensure it is not a problem of hot restarts, I am uninstalling the app before executing it to have a clean install and run. Here are the logs (I have filtered them so that only those that have Adapty on it are shown): iPad Air (5th generation) from 2022 with iOS 18.2:
Pixel 8 with Android 15:
|
@Brechard I see that you successfully presented the paywall, but I don’t see what happened next. What was the issue? Did you try to make a purchase? There are no logs indicating any actions taken after the presentation. |
@x401om that is the problem indeed, when I click the close button nothing happens, and paywallViewDidPerformAction is not executed. Though this is working on my old iPad with iOs 16.7.10, it is not working on Android nor the other iPad Air with iOs 18.2 |
I have also tried to make purchase to see if the paywall is closed automatically on my Pixel 8, the purchase completes correctly but the paywall stays (again , on the old iPad this flow works properly). Here are the logs of the pixel 8 if it helps:
|
Thank you for the logs, @Brechard! Unfortunately, we weren’t able to reproduce the issue yet, but we’ll take a closer look. |
@x401om I have tried with the Adapty example, and it works on both devices. So could it be that Adapty clashes with some other package that we are using? (I know that we gave a try to Superwall and it was conflicting with home_widget package and we could not use it because of that) |
i had that problem for android real devices, with adapty 3.3.0 now i have for ios real devices too. It is really annoying bug. @x401om u guys need to focus this issue, it is not rare situation and causing really big trouble, users cant use app with this. I cant release my apps because of this issue. |
@PBomermustekiin does the issue persist if you run the example app as well? |
i dont know cant run your example project, build failing. I dont have time really for make build success. But same codes, 3.2.4 ios paywalls closing but 3.3.0 is not. Android paywalls not closing as well for both version. |
@PBomermustekiin unfortunately, I was unable to reproduce the issue you described. To assist us in resolving this matter, could you please provide the following information?
|
This issue can be reproducible by following
|
@sajithlascade thank you for the steps to reproduce, fixed on Android |
@gaucidaniel, @Brechard, @PBomermustekiin do you have a production iOS app where this can be reproduced? Could you please provide App Store links? |
@vladd-g we didn't reach production since we had the problem on TestFlight and when launching from Android studio, so we stopped implementing it until we could find a solution |
@Brechard could you please share your company name? And did you check iOS on v3.3.0? |
the company is YourStep, and we have not tried with v3.3.0, we were using |
@gaucidaniel, @Brechard, @PBomermustekiin @agladyshev @sajithlascade Could you please try |
Hi everyone! It seems like there is a mix of two separate, independent issues, so I’ll try to clarify everything here. First of all, this particular issue was created solely for Android and not for iOS. I’ve renamed it for clarity. We have fixed the original error today – thank you to everyone who helped us investigate it and, of course, for providing the reproducible steps. Could you guys please confirm if the issue has been resolved with version 3.3.1? It appears there is an issue on iOS as well (#141). However, we believe: a) It is not connected to the original Android issue and has an independent cause. To maintain clarity and focus, I propose we address the iOS issue separately. I have renamed the related thread and will compile all relevant information about the iOS issue there. Let’s continue investigating the iOS issue in its dedicated thread. Tagging @Brechard and @PBomermustekiin to collaborate further. |
I've updated to |
The original issue seems to be resolved. |
When pressing the close button on the paywall page on Android, the AdaptyUI paywall does not dismiss. In some cases, this also happens on iOS but it is not as easily reproducible. We have also had reports of the paywall not dismissing after a successfull purchase, but I have not been able to confirm if it's the same error or not. The following error is thrown on the console:
W/FlutterJNI(10542): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: flutter.adapty.com/adapty. Response ID: 4
(ID increments with every press)This is happening in release mode, using Adapty
3.2.5
, but was reproducible on older versions too.The text was updated successfully, but these errors were encountered: