appcenter-reviews
appcenter-reviews copied to clipboard
Validate integer prices
The AppCenter client only supports prices in integer dollars (by design). However, some apps have non-integer prices: https://github.com/kjlaw89/archetype
AppCenter currently just takes the int and lops off the decimal, which is probably not what a developer would expect. We should validate this in the AppData at build time so the devs aren't setting unexpected prices.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Here is probably a good place for me to ask: Why whole integer dollars only? Why not just anything over a minimum of $1?
@lewisgoddard mostly because of how the UI is designed (it's a lot nicer to say, "Install Foo for $3" than to always have to do "Install Foo for $3.00"). I'd be open to changing it, but right now AppCenter expects whole dollars by design, and Houston doesn't do anything to enforce that.