-
Notifications
You must be signed in to change notification settings - Fork 341
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
WebView charts captures blank #53
Comments
but, if move the webview element after
|
What platform are you developing on? This is what it says in the docs:
|
is Android WebView. and, I thinks you don't mean what i say . |
as said in the README here https://github.com/gre/react-native-view-shot#interoperability-table Android WebView is only supported by wrapping a for some reason, directly attempting to snapshot the WebView won't work. to avoid this confusion, I might introduce that #48 so you don't have to think about this problem. What do you think? |
@gre yes ,is in . maybe i expressions has worng. i will fork react-native-view-shot-example and code the problem |
@Manweill Hi, how did you solve this, in my case some canvas in webview can not be captured |
are you sure the canvas is rendered at the time you capture it? |
@gre yes, I can see the rendered canvas in the srceen, bug when capture to img some canvas not shown |
solved? |
try to set android:hardwareAccelerated="false", it works. |
I a have the same problem. Canvas in webview is blank. Setting android:hardwareAccelerated="false" works, but then you don't get the acceleration and the app is slow. |
Did anyone find a solution for this without setting android:hardwareAccelerated="false"? That is not a real solution right? I am facing this issue on Android only when capturing a view containing TradingView in a WebView. @gre Please let me know if I am missing anything. |
webview source require this html,captures blank, in the react-native-view-shot-example project @gre
The text was updated successfully, but these errors were encountered: