Skip to content

[ReactNative] Add support for uploading files with content uri  #2231

@jiwansvmx

Description

@jiwansvmx
  1. Version of Mobile SDK Used: 8.3.0
  2. Issue found in Native App or Hybrid App: React Native
  3. OS Version: 10.0
  4. Device: Pixel 3A
  5. Steps to reproduce:
  6. Actual behavior: content uris aren't supported by in
  7. Expected Behavior: support content uris
  8. Error Log:

Apologies if this has been asked before.
The sdk right now doesn't handle files with content uris, it fails with following error

URI scheme is not \\\"file\\\"\"}

With ScopedStorage stuff it would be helpful if the sdk supported content uris. This solution seems to work, and I was wondering if it made sense to include it in the sdk. I am willing to send a pr there if is interest, let me know.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions