Currently, the version number is parsed from iTunes public web page.
Apple provides an API that returns everything in JSON format.
Let's use this API.
Search example by id:
http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/wa/wsLookup?id=359435914
Search example by bundleId:
http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/wa/wsLookup?bundleId=com.macmation.tictacboo
This allows us to simplify the setup process, as we don't need to ask the developer the AppleId: we can get it in the JSON return, under the key trackId.
Currently, the version number is parsed from iTunes public web page.
Apple provides an API that returns everything in JSON format.
Let's use this API.
Search example by id:
http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/wa/wsLookup?id=359435914Search example by bundleId:
http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/wa/wsLookup?bundleId=com.macmation.tictacbooThis allows us to simplify the setup process, as we don't need to ask the developer the AppleId: we can get it in the JSON return, under the key
trackId.