I am retaining my app's state data using AppBase:setProperty which is working fine, and this data is being retained over successive app starts.
However, when the app crashes, the new state data is not being retained and an app restart will retrieve the same state data that the last app start retrieved.
It seems that the state data is only actually being written to a truly persistent object store when the app closes gracefully.
If this is the case, is there any way for the app itself to save the state data to the object store on a periodic basis to enable it to be restarted after a crash with the last saved state?
(Obviously, this wouldn't be an issue if the app didn't crash, and believe me, I'm working hard to track down the elusive bugs, but meanwhile...)