Hello,
I have an issue using on-demand resources.
It happens that on every update the asset packs are always reported to be not present, even if the resources tagged on every asset pack do not change.
This is very annoying since we rarely change the on demand resources on the asset packs, but our users still have to redownload them each time.
I have inconsistent behavior debugging on Xcode directly on a device, so I am only able to consistently reproduce the issue uploading two builds on TestFlight.
I have prepared a test project that I have tested on TestFlight and always reproduce the issue:
https://drive.google.com/file/d/1oEH_ZBFjGIDTCrxe7Lu8XsFErFurg6HS/view?usp=sharing
STEPS TO REPRODUCE
Archive the "TestODR iOS" target
Upload it on TestFlight
Download it on a test iOS device and launch it
Tap on "Download" button to get the on-demand resouces (it starts the download of two on-demand packs)
Wait the download until you see "packAvailable = 1" on both packs
Bump both the build and version numbers of the target
Archive the "TestODR iOS" with the versions bumped
Upload the new archive on TestFlight
When it becoums available on TestFlight tap on "Update" button and launch it after the update
When the app is launched you will see "packAvailable = 0" for both packs.
Expected behaviour: After the update we expect to see packAvailable = 1 since no asset have changed between the two versions.
Thanks, Francesco