바르고 뜨겁게
react-native webRTC normal arm64 Error리액트 네이티브에서 webRTC 패키지를 적용하고 아이폰에 빌드시 아래와 같은 에러가 난다.** BUILD FAILED ** The following build commands failed: Ld [프로젝트 경로] normal arm64 (1 failure)xCode 에서 좀 더 자세히 보면'[프로젝트 경로]' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. fil..
React-Native run-ios —device 빌드 에러react-native 에서 아이폰 장비로 빌드시 에러react-native run-ios --device [아이폰 장비 이름]error Failed to install the app on the device because we couldn't execute the "ios-deploy" command. Please install it by running "npm install -g ios-deploy" and try again. Run CLI with --verbose flag for more details.ios-deploy 설치 시도 또 에러sudo npm install -g ios-deploy** BUILD FAILED ** npm ..
setInterval 사용시 func.apply is not a function 에러자바스크립트에서는 함수 호출 자리에 함수의 이름이 아니라 함수명() 처럼 코딩시 정의된 함수가 즉시 호출되어 버린다.따라서 아래와 같이 코딩하면 func.apply is not a function 에러를 만나게 된다. 잘못된 사용법_myFunc = () => { ... } this._timerId = setInterval(this.myFunc(),1000);코드 실행시 즉시 1번 호출이 되고, 10초 뒤엔 func.apply is not a function 에러를 만나게 된다.의도는 myFunc() 함수를 10초마다 호출하여 실행하는 것이지만, 해결 방법_myFunc = () => { ... } this._time..
* navigation을 이용한 전달Req.jsnavigation.navigate("Res", { REQ_NO: "112233", REQ_DATA: "abcd" });Res.js const { navigation } = this.props; const REQ_NO = navigation.getParam("REQ_NO"); const REQ_DATA = navigation.getParam("REQ_DATA");