captureScreen cannot render webview
See original GitHub issueThere are both common components and WebView in the page.captureScreen cannot render webview Component.
component:
screenshot:
captureScreen({ quality: 1 })
.then(async uri => {
CommonShare.show({ isCancleButton: false, contentImage: { uri: uri }, shareCallback: shareFun });
})
.catch(e => {
Toast.show('分享失败', 500, { position: Toast.positions.BOTTOM });
});
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
I can't capture the screenshot of a WKWebView - Stack Overflow
This Stackoverflow answer solved it for me on iOS 8 with a WKWebView where [view snapshotViewAfterScreenUpdates:] and [view.layer renderInContext:] either ...
Read more >Screenshot from a WKWebView | Apple Developer Forums
I am trying to provide page previews like Apple's Print extension does. UIWebView uses too much memory; iOS kills the extension before the...
Read more >What Is Android System WebView and Should You Uninstall It?
When Android System WebView is used to embed a login function, users are taken to a web login screen encased in the app....
Read more >Screenshot from WebView - MSDN - Microsoft
Note Windows Phone: The contents of a WebView control can't be rendered into a RenderTargetBitmap. Edit: from your sample app you are targeting...
Read more >Trying to take a screenshot of WebView but it gives just white
Based on your code, it looks like you're trying to take an image of a WebView that isn't displayed. We can't do this....
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
can replace canvas with svg
Any solution for this?