app upgrade deletes the old app data

My application is built using React Native. I am planning to release the new version of my app and currently testing the new release through TestFlight. Whenever I upgrade from old app to this new app in testflight, old app data stored in keychain gets deleted. The new application is not modifying anything related to keychain data. What could be possible reasons that the new app upgrade is deleting data?

That is apparently a long lasting issue.

Found interesting post about it:

https://stackoverflow.com/questions/13680459/keychain-data-lost-after-updating-the-app-on-ios

Could be due to any change in your entitlements (direct or caused by React ?)

app upgrade deletes the old app data
 
 
Q