Feature description
Support for HTML/RTF File Types on Android & iOS
Description
I need support for selecting HTML and RTF files using this library on both Android and iOS.
Currently, I am trying to allow users to pick files with extensions/types like:
but these file types are either not being detected correctly or are not supported consistently across platforms.
Expected Behavior
The document picker should allow selecting:
- HTML files (
text/html)
- RTF files (
application/rtf, text/rtf)
on both Android and iOS.
Questions
- Is there already a supported way to achieve this using custom MIME types / UTTypes?
- If not supported currently, is there any recommended workaround?
- Are there any platform limitations from Android/iOS native pickers that prevent this?
Example Use Case
We need users to upload formatted text documents exported from editors/web tools, where files may come as HTML or RTF formats.
Environment
- react-native-document-picker version: latest
- Platform: Android & iOS
What platform(s) should this be implemented on?
Android, iOS
Feature description
Support for HTML/RTF File Types on Android & iOS
Description
I need support for selecting HTML and RTF files using this library on both Android and iOS.
Currently, I am trying to allow users to pick files with extensions/types like:
.html.htm.rtfbut these file types are either not being detected correctly or are not supported consistently across platforms.
Expected Behavior
The document picker should allow selecting:
text/html)application/rtf,text/rtf)on both Android and iOS.
Questions
Example Use Case
We need users to upload formatted text documents exported from editors/web tools, where files may come as HTML or RTF formats.
Environment
What platform(s) should this be implemented on?
Android, iOS