https://github.com/react-native-webview/react-native-webview/issues/3697#issuecomment-2669390675
webview on iOS white screen · Issue #3697 · react-native-webview/react-native-webview
after install react native and install package , pod install project and run project for show display url webview is white screen how to fix device run project : Mac mini m2 react native : 0.77.0 r...
github.com
소스코드를 작동하는데, 알수없는 버그가 발생했다.
스택오버플로우에서 해결방법을 찾았다.
https://stackoverflow.com/questions/68067668/react-native-webview-rendering-blank-page
React Native WebView rendering blank page
For a reason that I don't know, the webview component does not return a web page as I expect, instead it renders a blank white page. I tried it on web and Android physical device. Moreover, I have
stackoverflow.com
내 장비 현황 및 세팅 환경
my device: m1 max,
"react-native": "^0.77.0"
"react-native-webview": "^13.13.2"
device app : iPhone 16 pro
웹뷰에 태그를 랩핑하면 안되는 것이었다.
// <ScrollView style={styles.container}>
<WebView
style={styles.webview}
source={{uri: uri}}
onMessage={handleOnMessage}
/>
// </ScrollView>
'코딩 > React Native' 카테고리의 다른 글
[RN] Splash 화면 설정하기 (0) | 2025.02.21 |
---|---|
[RN] react-error-boundary 이용한 에러 페이지 추가하기. (0) | 2025.02.21 |
[RN] react-native-config .env not update (0) | 2025.02.19 |
[RN] 네비게이션 라우팅 drawer에서 stack 네비게이터로 이동하는 방법. (0) | 2025.02.06 |
[RN] 환경변수 설정하기 .env 설정하기. (0) | 2025.02.06 |