is there any reason that Job intent from old application will be retained during application upgrade ?
I am getting a weird issue that a new intent received in the upgraded application is coming from the old serialized format.
s
Sam
04/09/2019, 12:12 AM
source of truth is database. To confirm, try clearing storage of the app from settings (it will also delete scheduled requests)
i
iammini5
04/09/2019, 10:21 PM
is there any way to recover from this state ? it is happened in user (from the crashlytics report) but i can’t find a way to reproduce it locally.
s
Sam
04/09/2019, 10:22 PM
without knowing specifics, your app updates could/should include migration logic like room database schema updates etc
Sam
04/09/2019, 10:35 PM
there is little one can do for deleted database, you will have to book keep some info on the cloud and use that for custom logic