SettingsReact Native 0.75.3react-native-reanimated-carousel 3.5.1 Problem 해당 라이브러리를 사용해서 수평 캐러셀을 구현했고, 각 아이템에 ScrollView 를 렌더링 하도록 했다.iOS 에서 테스트할 때는 아무 문제도 못느꼈지만,Android 에서 테스트하다보니 ScrollView 의 수직 스크롤이 정상적으로 되지 않는 문제(스크롤이 아주 잠깐 되다가 끊기거나 아예 발생하지 않음) 를 발견했다. Solve 이슈의 답변처럼 activeOffsetX 값을 설정해준 이후, 정상 작동하게 되었다.const FunctionalComponent = ({ ...props }: Props) => { return ( );} 추가적인 답변을 보면, 이런 ..
SettingsReact Native 0.75.3 Problem android 에서 가끔씩 스크롤이 제대로 동작하지 않아서 이리저리 테스트 해보는데,TextInput 에서부터 스크롤을 하려고 할 때에만 스크롤이 되지 않는 문제를 발견했다. Problem 근데 웬걸.생각보다 오래된 이슈이고 몇 가지 방안이 나와 있었다. 나는 그 중, multiline 과 blurOnSubmit 를 true 로 설정해주는 방안으로 해결했다.const CustomInput = ({ ...props, numberOfLines = 1 }: TextInputProps) => { // ... return ( );};
SettingsReact Native 0.73.4@react-native-firebase 20.0.0 Problem FCM 으로 앱 push 알림을 구현하기 위해 아래와 같이 사용하고 있었는데useEffect(() => { if (!messaging().isDeviceRegisteredForRemoteMessages) { await messaging().registerDeviceForRemoteMessages(); } if (Platform.OS === 'ios') { await messaging().getAPNSToken(); } const token = await messaging().getToken(); updateDeviceToken(token);},..
SettingsXcode 15.3IOS Deplyment Target: 17.0multer: 1.4.4-lts.1axios: 1.6.8typescript: 5.4.5react-native: 0.72.5react-native-image-crop-picker: 0.40.3react-native-vision-camera: 3.6.4 서론 Node 서버에서 multer 로 이미지 업로드를 받아야 하는 상황. 여러 글들을 보면서 대충 다음과 같은 코드를 작성했다.const client = Axios.create(/* axios options */);const image = await ImageCropPicker.openPicker(/* crop options */);const fd = new FormData()..