|
Post by Mritunjay Pathak on Nov 16, 2021 19:08:27 GMT
After auto upgrade of app the internal storage of app seems to be clearing out. The app tries to sync all the data from rhoconnect. but all screens are accessible and if user navigates to them and try to use some functionality and app gives error in many places due to unavailability of data. During login we have a progressbar while the sync is happening. I am looking for a way to stop app from resetting/clearing out local database on update and if that's not possible then a way to know that app has recently updated and its going to perform complete sync.
|
|
|
Post by Dmitry Soldatenkov on Nov 17, 2021 10:19:18 GMT
Hi, What Rhomobile version, device platform (iOS or Android etc.) device OS version ?
|
|
|
Post by Mritunjay Pathak on Nov 18, 2021 14:38:28 GMT
Rhomobile version- 7.3 and its happening in IOS and Android.
|
|
|
Post by Mritunjay Pathak on Nov 18, 2021 15:57:46 GMT
IT is happening across all versions.
|
|
|
Post by Alex Epifanov on Nov 19, 2021 18:27:45 GMT
Mritunjay, if DB gets reset then you can set and check some flag in the DB so after update you'll be able to determine that flag is absent and DB was reset and do the full sync.
|
|
|
Post by Mritunjay Pathak on Nov 28, 2021 11:38:03 GMT
We did that only now. One more thing we found out that changing DB version was causing the Database reset. We are now changing the DB version when absolutely needed.
|
|
|
Post by Alex Epifanov on Nov 29, 2021 11:35:19 GMT
|
|