GantMan / react-native-siren

The React Native port of the popular Siren / Harpy Pod and hopefully Gradle
156 stars 26 forks source link

Not able to fetch latest available version from store #17

Open chauhan-saurabh opened 2 years ago

chauhan-saurabh commented 2 years ago

I just pushed an update to the app store and it's almost 12 hours the plugin is returning the older version and when I am opening the store it shows an update available.

fernandocfbf commented 2 years ago

same problem here! Could you please provide how long it takes to update? Thank you in advance!

GantMan commented 2 years ago

You're calling "Perform check" and it's not working?

DO you see the new version when you look at https://apps.apple.com/app/id${appId}?mt=8?

fernandocfbf commented 2 years ago

Yes, I can see the new version on the store, but the library is getting the wrong version number

GantMan commented 2 years ago

That's wild. Maybe it's some kind of cache? Did you remove the app from memory?

testdevappapptest commented 1 year ago

Hi @GantMan , I am also facing a similar issue. After App Store deployment, the TestFlight build is not getting the latest AppStore version. In debug mode, I am getting the latest version. It took around 24 hours for the TestFlight build to get the new version. Is there any way to reduce the delay?

penji2 commented 7 months ago

Same here, but in my case app is deployed in one region only. I think I found root cause of the problem. It seems like passing country code as query parameter is causing trouble. So if you query this: https://itunes.apple.com/lookup?bundleId=yourBundleId&country=yourAppsRegion the API will response with older version of the app info. If you wait for about 16-22h (not sure about exact time) it will be refreshed, and you'll get correct response. I found out, that when you provide country code as part of URL, problem doesn't appear. So if you go like: https://itunes.apple.com/yourAppsRegion/lookup?bundleId=yourBundleId. I can create a PR fixing that. Let me know if its ok.

Samykills commented 6 months ago

@penji2 can you make a PR for this?