Hi. I have an app in the Android Play store that has some files bundled with it in sub folders inside the app folder. These files can be updated or new files added by the app users. I am about to release an update and while testing realised new files were being removed and updated files overwritten to their default version.
I’ve tried various ways of retaining the files including removing these folders from the new version and writing some code to only create these folders if they don’t already exists but this doesn’t work either.
I’ve also tried to find any reference to this in the documentation and the internet but no luck.
I’ve tested the update process in two ways…
- Using Airdroid to first install the original and then, after making changes, install the update on a physical device
- Using the Genymotion emulator I drag the original APK onto the emulator and then, after making changes, the updated APK
In both casses it’s as if the updated APK is being installed for the first time.
Any info or suggestions would be a huge help. Thanks!