Which app store was my app downloaded from?

Is there anyway to tell which app store my app was downloaded from?

Basicly, I want to show ads in markets that don’t spend money… Keeping a premimum feel in top spending markets and monitizing by ads in low IAP markets.

If there is no way, anyone have other suggestions?

Thanks,

Kenny

www.gameOfLoot.com

Check this out: http://docs.coronalabs.com/daily/api/library/system/getInfo.html#targetappstore

On second thought, do you want the country it was downloaded from?

The targetAppStore API just gets whatever choice you made when you built the app from the Android build screen.   You can choose a targetAppStore of Amazon and upload it to Barnes & Noble.

I don’t know of a way to find the store it was actually purchased from.

Rob

Opps… Maybe I wasn’t quite clear… I am talking about the stores region / counrty.

So, for instance in the Philippines I want to enable ads with an if statement because the IAPs are low.

In the US, I  don’t want ads, keeping a premium feel.

Can I do this?

Thanks,

Kenny

www.gameOfLoot.com

You can get the locale of the device using some of the system.getInfo() calls but that won’t tell you exactly the store.  People in Country X can get apps from country Y.

Rob

Check this out: http://docs.coronalabs.com/daily/api/library/system/getInfo.html#targetappstore

On second thought, do you want the country it was downloaded from?

The targetAppStore API just gets whatever choice you made when you built the app from the Android build screen.   You can choose a targetAppStore of Amazon and upload it to Barnes & Noble.

I don’t know of a way to find the store it was actually purchased from.

Rob

Opps… Maybe I wasn’t quite clear… I am talking about the stores region / counrty.

So, for instance in the Philippines I want to enable ads with an if statement because the IAPs are low.

In the US, I  don’t want ads, keeping a premium feel.

Can I do this?

Thanks,

Kenny

www.gameOfLoot.com

You can get the locale of the device using some of the system.getInfo() calls but that won’t tell you exactly the store.  People in Country X can get apps from country Y.

Rob