I'm writing a software for a customer; that software will be pre-installed onto a custom ROM.
One of the features of that software is update it-self to a newer version when available.
Everything works well, but the problem is this; when the device is rebooted or restarted, the updated version disappears! The old version returns.
There is something different to be write to create pre-installed software that can be updated?
Thank you in advance for any guidance/suggestions.
I finally fixed the problem. So stupid by the way :) Because I was not updating the APK using Google Play, I was not changing the VERSIONCODE in Manifest! Just that. Everything else was ok. So, if someone else has the same problem, this is my tip: always change the versionCode and versionName.
Thank you for your help!
Best regards, Joubert
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With