Linking.openURL to open Explorer #12252
-
Is there a way to use Linking.openURL to open a folder via File Explorer or any file? I tried |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It'd take more work to make RNW's implementation of In the meantime you'd need to direct this to your own native handling. |
Beta Was this translation helpful? Give feedback.
file://
isn't called out as on the of the expected protocols from RN core: https://reactnative.dev/docs/0.71/linking#built-in-url-schemesInternally for RNW we forward that to LaunchUriAsync. Which has more options... but local files aren't one of them:
It'd take more work to make RNW's implementation of
Linking
both smarter than RN core and smarter than UWP. But it also seems kind of reasonable. Can you open a feature request on the repo for us to evaluate?In the meantime you'd ne…