'Data Persistence between Google Play updates

I want to keep some user preferences locally so not to needlessly call a server with that information. I want this data to persist between Google Play updates. It has been shown here that SharedPreferences doesn't not keep between updates. Someone in the comments of that question suggested using Android Jetpack's DataStore.

Does anyone know if DataStore values do keep between updates?

Thanks in advance



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source