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

Feature flag article image

Create a feature flag in your IDE in 5 minutes with LaunchDarkly’s MCP server ⏰

How to create, evaluate, and modify flags from within your IDE or AI client using natural language with LaunchDarkly's new MCP server. Follow along with this tutorial for step by step instructions.

Read full post

👋 Kindness is contagious

Explore this insightful write-up embraced by the inclusive DEV Community. Tech enthusiasts of all skill levels can contribute insights and expand our shared knowledge.

Spreading a simple "thank you" uplifts creators—let them know your thoughts in the discussion below!

At DEV, collaborative learning fuels growth and forges stronger connections. If this piece resonated with you, a brief note of thanks goes a long way.

Okay