Collect will need to stop using /sdcard/odk for files

As described in the prior post, migrations from /sdcard/odk/ will no longer be performed starting with the next Collect version, now called v2021.2 (versioning change discussion).

Additionally, we plan to remove some update and delete functionality currently provided by FormsProvider and InstanceProvider. This is only relevant to applications that deeply integrate with Collect (e.g. OpenHDS, ODK Clinic). As far as we know, after the storage migration, there are no meaningful update or delete actions to take. If you access the ContentProviders for Collect v1.30.1 and use update or delete, please reply and describe what your app does.

We are making this change because as far as we know, there is nothing useful to do with update and delete without also being able to read and write corresponding form definition and form instance files. Additionally, as @seadowg started writing tests for the update and delete behavior, he identified several bugs and inexplicable behavior. We have to change the implementation of the ContentProviders for multiple project support and it would be best if we could avoid carrying forward undocumented behavior that we don't fully understand.

2 Likes