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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Linking does not open an external application #43505
Comments
|
Hello there! I don't believe You can find more about the supported Built-int URL Schemes here: https://reactnative.dev/docs/linking#built-in-url-schemes I think what you may be looking to do here is follow it up with starting a specific Android intent for viewing an image, as mentioned in Expo's documentation as a follow up to
But there is more details on that over at Expo's documentation: https://docs.expo.dev/versions/latest/sdk/filesystem/#filesystemgetcontenturiasyncfileuri |
@frankcalise cool, this really works! 馃帀 I would like you to open a modal so that the user can choose which application should display the image, is there any way? |
@TsplayerT I don't believe there is an equivalent of Android Intents system on iOS. That's why that You'd probably have to change your workflow a little to save the image off to the user's media library, then they'll open it with their default photos app. However, I think this is more of a implementation question and not a direct issue with |
@frankcalise i'm only using the By any chance, could you help me with the function to save the image to the user's media library and then he would open it with the default photo application? Please 馃檹 It would be more interesting if it opened a modal so that the user can choose which application should display the image. 馃ズ |
@frankcalise is there any way to open a native modal for the user to choose which application should display the content of the image downloaded from an API for Android and iOS? 馃 |
@TsplayerT iOS doesn't allow for such a thing AFAIK. I would reach out to a community for help such as Stack Overflow or any of the Company Based Communities listed where many developers can share their experiences on running into issues with feature parity such as this one. But as we have solved the original issue in question, I think this can be closed now if you wouldn't mind |
Ok, I understand and thanks for the help 馃榿 |
Description
The
openURL
function cannot find the newly downloaded image file 馃様Generates a Toast message saying
media not found
Steps to reproduce
React Native Version
0.73.5
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/@tsplayert/linking-example
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: