Getting relative path uri of ImagePicker generated images (iOS)

Please provide the following:

  1. SDK Version: 38
  2. Platforms: iOS

My app relies on images taken by the user so I’ve used ImagePicker to get the images, getting the uri and storing that in my DB. I’ve realised that when my app updates (new version in TestFlight), iOS seems to change the folder where it stores the images or deletes the images from the previous version (haven’t been able to work out which). After updating the app, none of the user generated images display. I assume I need some sort of relative path but I’m at a loss as to achieve this. Here is an example of the path I’m talking about.

file:///var/mobile/Containers/Data/Application/XXXXXXXX-XXXXXXX-XXXX-XXXXXX/Library/Caches/ExponentExperienceData/ etc....

Let me know if more information is required.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.