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

files greyed out on iOS #22

Open
ray007 opened this issue Nov 11, 2022 · 3 comments
Open

files greyed out on iOS #22

ray007 opened this issue Nov 11, 2022 · 3 comments

Comments

@ray007
Copy link

ray007 commented Nov 11, 2022

On iOS I can navigate to the folder containing my files (json with custom extension), but they are all greyed out and not selectable.

@sudiptosen
Copy link

I have the same issue. It's really that the extensions config is not working. If you take it out, it works fine. Don't know if there is any work around. Will try to ask on Discord

@CatchABus
Copy link

CatchABus commented Dec 3, 2022

@ray007 @sudiptosen Perhaps, you have to add configuration for custom extensions in your info.plist. See: https://developer.apple.com/documentation/uniformtypeidentifiers/defining_file_and_data_types_for_your_app

@farfromrefug It seems UIDocumentPickerViewController.initWithDocumentTypesInMode gets deprecated in iOS 15 which might also be a cause: https://developer.apple.com/documentation/uikit/uidocumentpickerviewcontroller/1618678-init
Do you think we can update this without breaking things?

@farfromrefug
Copy link
Member

farfromrefug commented Dec 3, 2022

@ray007 @sudiptosen can you show how you call it on iOS. extensions does not work the same on both platforms (sadly). It is mimtype on android and special format on iOS https://developer.apple.com/documentation/uniformtypeidentifiers

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

No branches or pull requests

4 participants