Open sonbui00 opened 2 weeks ago
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
Hey @sonbui00 ,
Can you please confirm that you have configured the SDK before showing the Paywall in this instance? You might be able to confirm that from debug logs or stack trace of the crash report that you get. Once you get that information, can you please share it here so we can look further into it?
@michaelAtRC Confirmed. I can open Paywal and make purchase normally. The issue happen when I leave the Paywall open and change to other app in long time and come back, not when I open paywall first time.
‼️ Required data ‼️
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
Describe the bug
I've just use Paywall feature and got many crash report message like this
There is no singleton instance. Make sure you configure Purchases before trying to get the default instance. More info here: https://errors.rev.cat/configuring-sdk
I think the issue happen when the user open paywall and leave the app. And when they comeback, the activity resume and have this issue.
To reproduce the issue you can enable "Don't keep activities" on Developer options. And then ope paywall in the app, leave paywall open and change to other app. When comeback you can see the issue or you can't close the paywall.
Additional context
Add any other context about the problem here.