Hi. I holds data using TinyDB. Companion saves them correctly and every time I restart I see the last set data in the application. However, after creating an Apk file and running it on the phone, the application does not store data. When I use the comapnion refresh option, the application still stores data. I only have a problem in the apk file (installed application on the phone) - the data is lost every time I close background applications. I don’t understand why everything works fine in companion and there is a problem in apk file.
If possible can you share your blocks or apk, to check it