Solve Problem/Troubleshooting 38

KeyboardAvoidingView를 쓰지 않았는데도 키보드가 레이아웃에 영향을 줄 때

- 원인: 안드로이드는 기본 설정이 adjustResize라 그렇다. adjustNothing으로 바꿔주면 된다. 아래 블로그를 참고하자! https://brunch.co.kr/@hopeless/5 [Android] 키보드가 레이아웃에 영향 안 주게하기레이아웃을 짜다 보면 소프트 키보드가 레이아웃을 덮어 버려야 하는 경우도 있고, 밀고 올라와야 되는 경우도 있습니다. 아래 그림은 소프트 키보드가 광고영역을 밀고 올라가는 경우입니다. �brunch.co.kr

안드로이드 에뮬레이터 오프라인일 때 / Emulator Offline

- 문제: adb devices를 해보면 안드로이드가 오프라인 상태이다. 온라인 상태로 돌리고 싶을때- 해결법: 안드로이드 스튜디오 실행 - Configure - AVD manager - 실행하려는 에뮬레이터의 Actions 탭 - Wipe Data 클릭데이터를 싹 밀고 다시 실행하면 된다!   출처https://athilog.github.io/react-native/%EA%B0%9C%EB%B0%9C%ED%99%98%EA%B2%BD%EA%B5%AC%EC%84%B1/ 개발환경 구성 - 아띠의 개발블로그아띠의 개발일지athilog.github.io

앱 종료 시 푸시 알림 클릭했을 때 초기 렌더링이 2번 발생하는 문제

문제초기 렌더링이 2번 되는 문제 발생https://github.com/erikras/react-redux-universal-hot-example/issues/429 componentDidMount called twice for initial load · Issue #429 · erikras/react-redux-universal-hot-exampleHey, the method componentDidMount is called twice on the client, when initially accessing any route e.g. localhost:3000/login (I see this in the browser console logs when adding something like cons...g..

@react-navigation/routers/src/index.tsx: Unexpected token (9:12) 해결법

https://github.com/react-navigation/react-navigation/issues/8060 @react-navigation/routers/src/index.tsx: Unexpected token (9:12) · Issue #8060 · react-navigation/react-navigationsoftware version iOS or Android @react-navigation/native 5 react-native expo node npm or yarngithub.com나와 같은 오류를 접한 사람이 있었다.  https://github.com/react-navigation/react-navigation/issues/7981#issuecomment-611377210 Build..

[React Native] build가 영원히 되지 않을 때

react-native run-ios 를 할 때fail이 아니라 영원히 build가 되지 않을 때가 있다. 원래는 이렇게 빌드가 잘 되어야 하는데 Building 다음에..이 위 사진처럼 많이 생기지 않고 딱 .. 2개만 생기면서 영원히 빌드가 끝나지 않을 때가 있다. => https://github.com/facebook/react-native/issues/15469 [Build][iOS] Building project in Xcode takes for ever in Running 1 of 1 custom shell scripts · Issue #15469 · facebook/react-nHave you read the Contributing Guidelines? yes Environment react..

run-android 되지 않을 때 / Could not compile settings file /JDK 문제

run-android 되지 않을 때 / Could not compile settings file /JDK 문제- 에러1react-native run-android 디바이스 연결도 잘 되어있는데 안됐다. (참고로 예전 맥북에서 새 맥북으로 바꿔서 안드로이드 실행 처음 해보는거였음) 에러 뜸* What went wrong:Could not compile settings file '/Users/daheeahn/Desktop/DaheeSpace/roubit_app/android/settings.gradle'.> startup failed: General error during semantic analysis: Unsupported class file major version 57 jdk 13을 깔아서 생겼던 ..

local notification 안드로이드 알람이 멈추지 않을 때 (react-native-push-notification)

local notification 안드로이드 알람이 멈추지 않을 때 (react-native-push-notification) - 사용 라이브러리https://github.com/zo0r/react-native-push-notification - 환경RN 0.61.5 - 버그안드로이드 설치 따라하고, local notification을 실행시켜 봤는데, 알림이 멈추지 않고 계속 왔다.Android Notification Keep showing infinitely.  - UsagePushNotification.localNotification({ /* Android Only Properties */ id: '0', // (optional) Valid unique 32 bit integer spec..

출처: https://mingos-habitat.tistory.com/34 [밍고의서식지:티스토리]