expo DocumentPicker does not work

Please provide the following:

  1. SDK Version: 42
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

When picking a file using expo DocumentPicker i get wrong uri starting with /data…, i had a woraround and i used expo FileSystem to get the right uri starting with file:///…
Although, when i try to send a request with a form data including my picked file to my springboot API, i allways get a 400 error bad request and the error stack is:
org.springframework.web.multipart.support.MissingServletRequestPartException: Required request part ‘file’ is not present

Hey @meher_slimani, can you provide a repro case of this in the form of a public github repo? Ideally we are able to simply clone, install and run it without additional steps.


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