-
Notifications
You must be signed in to change notification settings - Fork 170
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
Purchases.isConfigured always returns true #1210
Comments
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out! |
@Ankooo12 the In hindsight maybe we could improve the API to take that into account, but this is as of right now the behavior. What use case are you trying to solve? Maybe we can help figure it out |
We sell app templates, and we need to verify whether our customers have configured them correctly. It was working fine before, but I believe there might be an issue with the updates. |
Hey There, The API key being correct will be needed to properly configure the SDK. This will ensure that the current app user ID is able to be created. With this being said, the error is correct if you're are passing in not the API key found in your project settings. You said that this worked previously just passing in the "dummy" API key, did you recently update versions? |
If I enter a dummy API key, Version: |
Environment
flutter doctor
purchases-flutter
>=3.24.0
Android API 34
Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
dummy
.Describe the bug
I have added a dummy API key in
Purchases.configure(configuration)
and encountered error logs. However, when I callPurchases.isConfigured
, it returnstrue
. Please help resolve this issue. Note that it works fine when the API key is empty.Additional context
I've tried multiple times, but the issue persists.
The text was updated successfully, but these errors were encountered: