how to save image to Local from WebView
See original GitHub issueBug description:
i want to save a image from WebView, in browser i can save image by long tap, but it dose not work in react-native-webview
, is there a workaround for this?
System:
OS: macOS 10.15.2
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 47.20 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 11.15.0 - /usr/local/bin/node
Yarn: 1.21.1 - ~/.yarn/bin/yarn
npm: 6.7.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 21, 23, 26, 27, 28
Build Tools: 23.0.1, 26.0.1, 28.0.3, 29.0.2
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.6010548
Xcode: 11.3/11C29 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
React-Native-WebView: '8.0.2'
similar issue: https://github.com/react-native-community/react-native-webview/issues/63 https://github.com/react-native-community/react-native-webview/issues/644 To Reproduce:
Expected behavior:
Screenshots/Videos:
Environment:
- OS:
- OS version:
- react-native version:
- react-native-webview version:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:16
Top Results From Across the Web
how to save images displayed in webview? - android
I want to save the images displayed in webview into local storage, and webview should have cached the images it displays ,how can...
Read more >how to save image to Local from WebView #1107 - GitHub
Bug description: i want to save a image from WebView, in browser i can save image by long tap, but it dose not...
Read more >Webview - Right click to save image | B4X Programming Forum
B4A Library Webview - Right click to save image · 1) Include Contextual in your project. · 2) Declare some variable as Contextual...
Read more >Webview API - Visual Studio Code
Controlling access to local resources ... Webviews can control which resources can be loaded from the user's machine with localResourceRoots option.
Read more >WebView - Android Developers
Saving passwords in WebView will not be supported in future versions. ... Modifies the input matrix such that it maps view-local coordinates to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For IOS I just enabled
allowsLinkPreview
For Android I used some javascript withinjectedJavaScript
to handle longpress on images to downloadI’m using expo-media-library, it works well with none-expo-managed project.
postMessage
:onMessage
: