Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- SQL
- asp.net mvc
- cookie
- Excel
- XML
- delegate
- jQuery
- 클래스
- c#
- csv
- 제네릭
- di
- 구글
- 메소드
- ADO.NET
- angularJS
- LINQ
- IT 관련
- IT관련
- ASP.NET
- It
- 디자인패턴
- MSSQL
- mvc
- iframe
- 동적dom
- Generic
- JavaScript
- Today
- 0
- Total
- 1,436,548
심재운 블로그
requireNativeComponent: "RNCWebView" was not found in the UIManager 본문
프로그래밍/ReactJS, React Native
requireNativeComponent: "RNCWebView" was not found in the UIManager
재우니 2019. 11. 5. 00:50requireNativeComponent: "RNCWebView" was not found in the UIManager
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow
*/
import React from 'react';
import WebView from 'react-native-webview';
const App: () => React$Node = () => {
return (
<>
<WebView
source={{uri: 'https://www.careertalk.kr'}}
style={{marginTop: 20}}
/>
</>
);
};
export default App;
실행할 경우 webview 에 대해 제대로 설치가 안되어 실행이 되지 않은 에러 구문입니다.
오류가 발생할 경우, 아래와 같은 절차로 mac 의 터미널에서 실행하면 됩니다.
react-native link
cd ios
pod install
이제 잘 되는지 ios 을 가동시켜 봅시다.
npm run ios
참고사이트
https://github.com/react-native-community/react-native-webview/issues/851
'프로그래밍 > ReactJS, React Native' 카테고리의 다른 글
requireNativeComponent: "RNCWebView" was not found in the UIManager (0) | 2019.11.05 |
---|---|
react class 와 react hooks 를 활용한 함수형 방식 구현 비교 (1) | 2019.08.21 |
React, Redux, and Firebase 로 todo 앱 만들기 (0) | 2019.06.22 |
React 를 통해 Firebase Authentication 사용해 보기 (0) | 2019.06.22 |
React App 을 Surge 에 배포해 보기 (0) | 2019.06.22 |
React 의 props 활용하기 - codepen (0) | 2018.06.07 |
0 Comments