includable / react-native-check-version

🥕 Get the latest version of your app.
https://flexible.agency
MIT License
183 stars 22 forks source link

fix: remove caching #35

Closed M4Tdev closed 2 years ago

M4Tdev commented 2 years ago

Remove caching from lookupVersion function. This can be executed multiple times now that a backend does not handle it.

Caching can lead to returning a wrong version to the user when the new version shows up in the store after the version was checked, which can potentially lead to misleading information about the update in the app, or it won't show at all.

tschoffelen commented 2 years ago

Awesome, thanks!

Published as:

react-native-check-version@1.0.16
M4Tdev commented 2 years ago

Oh, I just noticed I made a mistake by removing a res variable 😅.

I see you've already fixed it, thanks!