react-native-view-shot icon indicating copy to clipboard operation
react-native-view-shot copied to clipboard

WebView Not working

Open namikarif opened this issue 4 years ago • 4 comments

I'm use import {WebView} from 'react-native-webview';

My code

<ViewShot ref={ref => { this.viewShotRef = ref; }} options={{format: 'jpg', quality: 0.9}}> <WebView source={{uri: 'http://192.168.1.100:8100/label-print/z_RP_vcNGSUadIKngdaByQVC_RP_NAsqKFvQaKzx_RP_bNcs0NspX3nbFCGEg3jKN4mKmXpxD61xBpfC4Ke03XotkjQiNSBpg5_RP__PLUS_K2Kuuihpt5mooybq9ojDwAl193EaxSFIvxaAg5NAmIqOyAncas9VqmKfXgGMWWe_RP_kuiZBbDotL5XHSSa_PLUS_1BlGqr96C6jzwIN2zf0Z2jTi77G7Mg5lp15xoJEWZBbud1fdm9wUKVAUeJ9C_PLUS_F_PLUS_IYgDG_RP_TOeP_PLUS_TFFYyVjua5ChKqEY1aPj_RP_vxbdHtmAhQ37dQhv5DcosCnIQ15SLPd5_PLUS_jcUkU8vk8IDnyT9zdkZnU5cliCerV_PLUS_QSu8DpfxFJDw0dhjL3Mr_PLUS_bzplzrWI1itk'}}> </WebView> </ViewShot>

WebView page not showing inside ViewShot tags

namikarif avatar Dec 10 '21 22:12 namikarif

me too

phucph1998 avatar Oct 03 '22 04:10 phucph1998

me too

shadow-boy avatar Nov 17 '22 08:11 shadow-boy

Put the webview inside a regular view 👍

fukhaos avatar Mar 06 '23 22:03 fukhaos

Put the webview inside a regular view +1

This works but even using the captureRef imperative mode I still not able to capture all the content of the webview.

montanhes avatar Aug 15 '23 14:08 montanhes