Hi friends,
I would like to share a trouble concerning updating app in Android. For a better explanation, consider the following example:
-
Suppose I create a very simple app containing a background music (song.mp3) and then I install it on an Android device. This audio file, of course, is stored in the system.ResourceDirectory.
-
Now suppose I would like to update the audio file (with a new song, for exemple), but keeping the same filename (song.mp3).
OK, this works nice on the simulator, but when I generate a new build for Android and try to update the original app on the device, I notice that the original audio file are not overwritten (or remain in some kind of cache). Please, try it.
I’m wondering if there is a native instruction that could be implemented in Corona to force asset overwriting on Android. This is an annoying trouble I face every time I need to update audio and txt assets on an Android device.
Thanks in advance!
EDIT: This problem doesn’t occur with png images. [import]uid: 29154 topic_id: 16662 reply_id: 316662[/import]
[import]uid: 29154 topic_id: 16662 reply_id: 62549[/import]