Plugin not fetching most recent version from iOS App Store
for Android it's working fine but IOS side it's not working. can anyone help me on this ?
I have the same problem. I think it's a caching problem.
maybe to prevent this, the current millis can be added to the url?
in _getiOSStoreVersion(PackageInfo packageInfo) we can add final parameters = {"bundleId": "$id", "timestamp":"${DateTime.now().millisecondsSinceEpoch}"};
I think this should work
I created a PR (with other account). Let's see: https://github.com/timtraversy/new_version/pull/86
Can someone describe the exact issue here? Is it that when you push a new version to the app store, the plugin doesn't detect it right away? But it does eventually detect the new version right?
Following scenario: I uploaded a new version to TestFlight and brought it to AppStore, then it takes up to one day, until the caching system gets the real last version of the app. I tried with postman too. Postman also caches the requests to same urls. After adding some random string, I immediately got the correct version.
That can maybe help: https://github.com/dart-lang/sdk/issues/34966#issuecomment-862128693
Following scenario: I uploaded a new version to TestFlight and brought it to AppStore, then it takes up to one day, until the caching system gets the real last version of the app. I tried with postman too. Postman also caches the requests to same urls. After adding some random string, I immediately got the correct version.
So if i understand well your post, caching system refresh the cache after 1 day? I ran into same problem when i upload a new version to app store. In debug i always see the new version of my app, but in production it seems like this package does not see the new version.
Following scenario: I uploaded a new version to TestFlight and brought it to AppStore, then it takes up to one day, until the caching system gets the real last version of the app. I tried with postman too. Postman also caches the requests to same urls. After adding some random string, I immediately got the correct version.
So if i understand well your post, caching system refresh the cache after 1 day? I ran into same problem when i upload a new version to app store. In debug i always see the new version of my app, but in production it seems like this package does not see the new version.
Did you solve this issue?
Following scenario: I uploaded a new version to TestFlight and brought it to AppStore, then it takes up to one day, until the caching system gets the real last version of the app. I tried with postman too. Postman also caches the requests to same urls. After adding some random string, I immediately got the correct version.
So if i understand well your post, caching system refresh the cache after 1 day? I ran into same problem when i upload a new version to app store. In debug i always see the new version of my app, but in production it seems like this package does not see the new version.
Did you solve this issue?
Not yet :( Maybe this fix can help you: https://github.com/sbergmair/new_version/tree/patch-2