반응형
Notice
Recent Posts
Recent Comments
Link
목록WebView (3)
둘에서 하나로....
expo webview 안드로이드에서 이미지가 표시 안될때
startInLoadingState={true} javaScriptEnabled={true} domStorageEnabled={true} originWhitelist={['*']} mixedContentMode='always' 를 추가하시면 이미지가 잘 표시됩니다.
프로그래밍
2020. 10. 15. 11:26
react native webVIew를 HOOK으로 호출할떄 ref사용방법
export default function App() { const wvRef = useRef(); return( ); function test(){ let text = "123123"; wvREF.current.injectJavaScript(`(function(){ window.alert('`+text+`'); })(); `); }; } HOOK형태로 사용할때는 current를 넣어주셔야 합니다. >_
프로그래밍
2020. 7. 23. 10:02