Closed stef-t closed 3 years ago
Thank you! Did you have a chance to look at the JSON parser error I mentioned above?
@stef-t Sorry, I haven't yet -- I'll have a dig through when I get a moment !
@stef-t - I may of led you awry slightly by saying the existing request is a good example - might be some magic in the headers and how they interact with the network mocking* (maybe content length actually) - but I simply re-cURL
-ed the request for ya and it worked ! Go figure 🤷♂️
Must be some header magic then. Good thing it was so easy to fix for you!
@stef-t - once you resolve the merge conflict we can get this merged in! 🎉
@stef-t - once you resolve the merge conflict we can get this merged in! 🎉
Done, thank you!
@stef-t - I'll merge it in unless you want to and push out a gem the next few hours. Ty again for your contribution!
I've been using
get_app_store_version_number
with thebundle_id
parameter and came across the following error, although the provided bundle id matched the bundle id of my published app on the AppStore:Trying with different bundle ids, I realized that an app's availability influences the result of the itunes lookup API:
When supplying the url parameter country with a country code to the itunes lookup API call, it will find both apps!
The pull requests, adds a new parameter
country
toget_app_store_version_number
. Ifcountry
is passed as parameter, it is added as url parameter value when calling the itunes lookup API.