Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposed types for doc, ppt and xls files #348

Merged
merged 3 commits into from
Oct 28, 2020

Conversation

luizppa
Copy link
Contributor

@luizppa luizppa commented Sep 25, 2020

Updated mimetypes, utis and extensions to include doc, powerpoint and excel types.
Now the types above can be accessed through DocumentPicker.types.*

This changes were previously proposed by imbudhiraja in this pull request. I changed some uniform type identifiers for IOS based on this refference. This solution seems to work for me on an existing project.

(I also reordered some of the types to maintain alphabetical organization).

Updated mimetypes, utis and extensions to include doc, powerpoint and excel types.
Now the types above can be accessed through ocumentPicker.types.*
index.d.ts Outdated Show resolved Hide resolved
@luizppa luizppa requested a review from vonovak October 9, 2020 18:12
@vonovak vonovak merged commit 0bf24c2 into react-native-documents:master Oct 28, 2020
@vonovak
Copy link
Collaborator

vonovak commented Oct 28, 2020

thanks for the PR!

DomiR added a commit to DomiR/react-native-document-picker that referenced this pull request Nov 21, 2020
* upstream/master:
  4.1.0
  feat: Exposed types for doc, ppt and xls files (react-native-documents#348)
  4.0.0
  Fix React dependency to enable XCode 12 build (react-native-documents#347)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants