DEV Community

prabhat-cn
prabhat-cn

Posted on

in_app_purchase does not return price, only return "Free" word only for android below version 12.

After update flutter version in_app_purchase does not return price, only return "Free" word only for android below version 12. But ios working fine and return price properly.

Anybody please help me, how to solve this issue smoothly.. please give me suggestions...

Image description

Price must be displayed here not free.
I am using

in_app_purchase: 3.0.8 (same issue happened)
When update to - in_app_purchase: 3.1.7 (same issue happened)

Till i am not getting any solution. It happens only in Android not ios device. Please anybody help.

Top comments (1)

Collapse
 
prabhatcn profile image
prabhat-cn

using "rawPrice" instead of "price" in code, displayed 0.0 price , price not displayed properly in below Android version 12.
I mean in Android 10, 9 and below Android version. But Android version 12 and upper in_app_purchase is working fine. Price properly displayed. Please help me by reply. And help me to provide solutions.

Image description

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay