We have an app on app store and play store , but once user update the app its not working properly ,if user clear the cache and storage it working fine.
we want to check wether user has updated app from app store / play store based on some version number and after that clear the async storage
2
Answers
There’s no way to know that in react native till now, but on the other hand, you can check it using native java for android from here.
and here’s a native solution for
IOS
using native from this old answer here.I prefer you delete the storage for all users in your next update to solve the issue.
And if you can specify the error you have maybe we can help on it.
In this new version, you can do something like