Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How I can get the current price of my app in play store to each location in order to show in a textView

I'm trying to implement a button on my free app that lead to my pro app version page, I want to do something like this: a dialog that says, for example, "Buy the pro version, it's just (price here)."

Ok, here is my problem, how I get the current price (to each country) of my app on google play, I mean, in order to show the correct price to user (in their currency), the same price that she/he will see when open the google play page in your location. I saw some apps that did this, for example R$ 2,99 (to real), or $1.90 to dollar... How it's possible?

like image 386
Cristina Avatar asked Nov 08 '25 21:11

Cristina


1 Answers

There is a method for that in the Google Play Developer API. There's also a convenient Java client that should be usable from Android. There's some setup involved of course, mainly authentication stuff. The API is imho mainly meant to manage apps from a Java backend, and given the proper permissions, you cannot only 'read' but also 'write' (e.g. change the price of your in-app-products), so use it wisely ;)

like image 129
fweigl Avatar answered Nov 10 '25 10:11

fweigl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!