-
Notifications
You must be signed in to change notification settings - Fork 234
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
localizedPrice & price is null on Android #416
Comments
I'm having the same issue, any news about this? |
Same here please advise |
Probably this error? #392 |
Any assistance? This is a breaking issue guys, help would be appreciated. Tried to downgrade down to 4.0.0 but still, its all null now. |
@KzumO36 not really. It would be nice to have it fixed, sure, but you can simply use:
|
No, theres still an exception then. It's showing the price yes but if you tap on an item to buy it, theres still an error.
|
In order to avoid this breaking issue, I finally migrated my app to use the official plugin from flutter.dev: The interface is very similar, so the adjustments took me less than an hour to do and test. It's also supported by Google. |
Im not feeling good with cloning the reposity etc, why does it take that long to accept the pull request? I dont know if it takes time to get approved or something but it would be better to just use the original package instead of messing around with it yourself. @edscodeblenders ive had issues with purchase history / pending purchases on the "official" one, thats why im still here. This one worked for years now but is now broken. |
@KzumO36 Probably because, in addition to being developers, we're also all humans, with families, sometimes problems, other jobs to do and cannot always jump immediately to do everything at the same time? :-)) You can also patch your own copy in your local cache, or you can temporarily point your @edscodeblenders A possibility but before anybody does it, note that the packages are not equivalent. The official package provides no way to check if your app (or in-app product) has actually been purchased already when you start your app (or a part that you only want to provide to paid users). So, this package has its rather important merits. |
@deakjahn I have used your repo now and it works, thank you! |
@KzumO36 I am also getting same Exception , Any Update on this. |
any update |
this seems to be related: #430 Workaround works for me. |
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days. |
Issue is still exists! I think this is the best solution: |
@RomanSoviak Your decision, but 1) the other plugin is far from being equivalent, it lacks important features that this one supports, 2) this error has already been fixed. |
Hi, first of all thanks for this amazing package.
I am having an issue with localizedPrice & price being null after upgrading Flutter version from 3.3.1 to 3.7.5. Prices are setup correctly in Play Store. Previous version of the app behaves correctly on production that is built with Flutter version 3.3.1
Version of flutter_inapp_purchase:
Flutter 3.7.5 • channel stable
Platforms you faced the error:
Expected behavior:
Actual behavior
Tested environment:
Steps to reproduce the behavior:
FlutterInappPurchase.instance.getProducts(_productLists)
The text was updated successfully, but these errors were encountered: