본문 바로가기

프로그래밍/React Native24

[React Native] CodePush 설정 시, 추가해야 될 부분 정리 react: 17.0.2 react-native: 0.65.1 react-native-code-push: 7.0.5 GitHub - microsoft/react-native-code-push: React Native module for CodePush React Native module for CodePush. Contribute to microsoft/react-native-code-push development by creating an account on GitHub. github.com 해당 라이브러리를 사용하여 구현하던 중 문서에서 부족한 부분을 정리해 본다 Multi-Deployment Testing을 적용하던 중... Android의 경우(터미널과 에뮬레이터를 사용), GitHub - mic.. 2022. 9. 20.
[React Native] iOS build commands failed (M1 mac) x86_64... 몇 일 전만해도 잘 빌드되던 것이 갑자기 에러를 뿜어냈다(건드린 게 없는데;;) The following build commands failed: CompileSwift normal x86_64... EmitSwiftModule normal x86_64... CompileSwiftSources normal x86_64... (3 failures) info Run CLI with --verbose flag for more details. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 자세히 보아하니 공통된 아이들이 보인다. norma.. 2022. 9. 8.
[React Native] I get the warning "Non-serializable values were found in the navigation state" 에러 React Navigation을 사용하여 다른 화면으로 데이터를 넘길 때 발생하는 에러이다 https://reactnavigation.org/docs/troubleshooting/#i-get-the-warning-non-serializable-values-were-found-in-the-navigation-state https://reactnavigation.org/docs/troubleshooting/#i-get-the-warning-non-serializable-values-were-found-in-the-navigation-state reactnavigation.org React Navigation 문서에서 몇몇의 use case가 있다 내 경우엔 Date 객체가 문제였고, 이를 복잡한(?) 데이터.. 2022. 8. 13.
[React Native] Blur 효과 만들기 1. https://github.com/Kureev/react-native-blur GitHub - Kureev/react-native-blur: React Native Blur component React Native Blur component. Contribute to Kureev/react-native-blur development by creating an account on GitHub. github.com 라이브러리를 이용한 blur 방법이다 해당 사이트의 문서를 참고하자 2. https://reactnative.dev/docs/0.65/image#blurradius Image · React Native A React component for displaying different types o.. 2022. 8. 5.
[React Native] TextInput의 secureTextEntry 속성 적용 시 문제 회원가입 화면을 만들 때, 비밀번호와 비밀번호 확인으로 2번 입력을 받는다 이때 발생하는 문제! 개발환경은 react-native: 0.65.1 iOS: 15.2 ... ... 이렇게 연속으로 TextInput을 놓았을 때 발생한다 원인 불명하여 구글신에게 물어보니, TextInput의 속성으로 textContentType="oneTimeCode"로 해보라고 한다 역시는 역시 되긴 된다. 다만, textContentType="oneTimeCode"가 뭔진 알고 써야해서 또 찾아보니 iOS 12+에서 SMS로 도착하는 코드를 필드에 자동으로 채워주려 할 때 사용한다고 한다 react-native 0.68 거의 최신 버전과 iOS 15.4에서도 아직 지속되고 있다는 댓글도 있다보니 문제이긴 한듯... 빨리 .. 2022. 4. 14.