묻고 답해요
163만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결아바타 커뮤니티앱 만들기 (React Native Expo)
headershown 관련 질문
[2-2] 네비게이션 구조 설정 with Expo Router여기서 최상단 _layout.tsx뿐만 아니라 모든_layout.tsx 에 모두 headershown을 false로 하는 이유가 따로 있는지 궁금합니다!
-
미해결React Native with Expo: 제로초에게 제대로 배우기
npx expo run:anroid 로 빌드하면 FCM 안되는 이유
npx expo run:android 로 빌드해서 에뮬레이터에서 실행한 경우 FCM이 안되는 것 같은데 이유를 알 수 있을까요 ? 안된다면, eas build를 해야만할까요-? (시간이 오래걸려서요)
-
미해결React Native with Expo: 제로초에게 제대로 배우기
Error : Default FirebaseApp is not initialized
[Error: Make sure to complete the guide at https://docs.expo.dev/push-notifications/fcm-credentials/ : Default FirebaseApp is not initialized in this process com.lukasdiego.retrythreads. Make sure to call FirebaseApp.initializeApp(Context) first.]npx expo run:android로 앱을 실행하니 위 처럼 FirebaseApp 초기화 부분이 안됩니다.우선 Credentials는 등록된 것을 확인했습니다 !
-
미해결React Native with Expo: 제로초에게 제대로 배우기
33 강 부터 코드 적용 시 TabBar가 안보임
코드 수정된 부분 붙여넣기하면서 재학습 중인데, 33강 부터 갑자기 TabBar가 사라지네요 RootLayout에서 Stack부분은 문제가 없는 것 같은데 왜그럴까요 ?https://github.com/lukasdeveloperacc/Study/commit/bbca33bdf8ad62b7240a9ed1d1eb39600965e839제 커밋 코드입니다
-
미해결
리액트 네이티브 구글 로그인
안녕하세요 지금 expo go에서 구글 로그인 연결 중 인데요. redirectUri를 https://auth.expo.io/@your-username/your-app-slug 식으로 입력하면 Something went wrong trying to finish signing in. Please close this screen to go back to the app. 화면이 뜨면서 액세스 토큰은 불러와지는 것 같고, 밑에 방식으로 하면 redirectUri가 exp://ip주소:포트번호 로 나오면서 구글 클라우드 콘솔에 등록을 할 수가 없는데 어떻게 해결하면 좋을까요?.. 도와주시면 감사하겠습니다.. const [request, response, promptAsync] = Google.useAuthRequest({ clientId: process.env.GOOGLE_CLIENT_ID, //redirectUri: 'https://auth.expo.io/@your-username/your-app-slug', redirectUri: makeRedirectUri({ useProxy: true } as any), scopes: ['profile', 'email'], });
-
해결됨React Native with Expo: 제로초에게 제대로 배우기
react-native의 SafeAreaView를 쓴 이유?
안녕하세요! react-native의 SafeAreaView 는 기본적으로 안드로이드 지원이 안되고 유연하지 않아 react-native-safe-area-context의 SafeAreaView를 사용하는게 권장된다고 하더라구요. react-native의 SafeAreaView를 쓰신 이유가 궁금해요
-
미해결React Native with Expo: 제로초에게 제대로 배우기
expo go 안에 threads-clone이 나타나지 않습니다
npm ls react npm ls react-nativenpm ls expo버전을 알려주시면 질문자분과 동일한 환경에서 답변 드릴 수 있습니다. npm run android 했을때› Using development build› Press s │ switch to Expo Go› Press a │ open Android› Press w │ open web› Press j │ open debugger› Press r │ reload app› Press m │ toggle menu› shift+m │ more tools› Press o │ open project code in your editor› Press ? │ show all commandsLogs for your project will appear below. Press Ctrl+C to exit.Android Bundled 1357ms node_modules\expo-router\entry.js (1280 modules)다음과 같이 development build로 실행됩니다 그래서인지 expo go 안에도threads-clone이 나타나질않네요그래서 s 키를 눌러서이렇게 바꾼 후에도 나타나지 않습니다
-
미해결React Native with Expo: 제로초에게 제대로 배우기
.
.
-
미해결React Native with Expo: 제로초에게 제대로 배우기
expo location foreground, background
만약 배달앱을 만든다고하면,앱을 켤 때, foreground, background 모두 권한을 받아두는 식으로 개발하나요 ?
-
해결됨React Native with Expo: 제로초에게 제대로 배우기
npm run android 시 build app 우선 실행
저는 npm run android 하면 빌드앱이 우선으로 실행되고, expo go 로 계속 switch 해야하는데요 혹시 expo go 로 디폴트로 시작하게는 못하나요 ?
-
미해결아바타 커뮤니티앱 만들기 (React Native Expo)
54-55강 수정 내용 관련 질문
54강 강의 노트에서 수정 버전으로 작성 시 오히려 에러가 발생하여 질문드립니다! 수정 전에 오히려 문제가 없었는데, 수정 후 발생한 문제에 대해 어떻게 해결하면 좋을 지 답변주시면 정말 감사하겠습니다:)<에러 메시지>'context.previousPost'은(는) 'undefined'일 수 있습니다.ts(18048)
-
해결됨React Native with Expo: 제로초에게 제대로 배우기
eas update 시 build에서 채널이 안보임
✘ chaejinjeong😝 ~/Desktop/lukas/Study/reactnative/zerocho/threads ↱ main ± eas update --channel development --message "fix: apiUrl"[expo-cli] env: load .env[expo-cli] env: export KAKAO_NATIVE_KEY[expo-cli] Starting Metro Bundler[expo-cli] iOS ./index.ts ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99.9% (1879/1883)[expo-cli] Android ./index.ts ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99.9% (1886/1886)[expo-cli] iOS ./index.ts ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99.9% (1884/1884)[expo-cli] Android ./index.ts ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99.9% (1886/1886)[expo-cli] Android Bundled 8190ms index.ts (1886 modules)[expo-cli] iOS ./index.ts ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99.9% (1884/1884)[expo-cli] Android ./index.ts ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99.9% (1886/1886)[expo-cli] iOS ./index.ts ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99.9% (1884/1884)[expo-cli] iOS Bundled 12572ms index.ts (1884 modules)[expo-cli] iOS ./index.ts ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99.9% (1884/1884)[expo-cli] Creating asset map[expo-cli] [expo-cli] › Assets (54):[expo-cli] assets/images/avatar.png (17.5 kB)[expo-cli] assets/images/react-logo.png (3 variations | 13.9 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/AntDesign.ttf (70.3 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Entypo.ttf (66.2 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/EvilIcons.ttf (13.5 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Feather.ttf (56.2 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome.ttf (166 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf (134 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf (33.7 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf (203 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Brands.ttf (209 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Regular.ttf (68 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Solid.ttf (424 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Fontisto.ttf (314 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Foundation.ttf (57 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Ionicons.ttf (443 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf (1.15 MB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialIcons.ttf (357 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Octicons.ttf (49.4 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/SimpleLineIcons.ttf (54.1 kB)[expo-cli] node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Zocial.ttf (25.8 kB)[expo-cli] node_modules/@react-navigation/elements/lib/module/assets/back-icon-mask.png (653 B)[expo-cli] node_modules/@react-navigation/elements/lib/module/assets/back-icon.png (8 variations | 359 B)[expo-cli] node_modules/@react-navigation/elements/lib/module/assets/clear-icon.png (4 variations | 425 B)[expo-cli] node_modules/@react-navigation/elements/lib/module/assets/close-icon.png (4 variations | 235 B)[expo-cli] node_modules/@react-navigation/elements/lib/module/assets/search-icon.png (7 variations | 592 B)[expo-cli] node_modules/expo-router/assets/arrow_down.png (9.46 kB)[expo-cli] node_modules/expo-router/assets/error.png (469 B)[expo-cli] node_modules/expo-router/assets/file.png (138 B)[expo-cli] node_modules/expo-router/assets/forward.png (188 B)[expo-cli] node_modules/expo-router/assets/pkg.png (364 B)[expo-cli] node_modules/expo-router/assets/sitemap.png (465 B)[expo-cli] node_modules/expo-router/assets/unmatched.png (4.75 kB)[expo-cli] [expo-cli] › android bundles (2):[expo-cli] _expo/static/js/android/index-76e11ae11c34c3503a6dbd90ed0b7a03.hbc (5.82 MB)[expo-cli] _expo/static/js/android/index-76e11ae11c34c3503a6dbd90ed0b7a03.hbc.map (14.5 MB)[expo-cli] [expo-cli] › ios bundles (2):[expo-cli] _expo/static/js/ios/index-4cdfeb96d45c0edbe3d45931022e8005.hbc (5.82 MB)[expo-cli] _expo/static/js/ios/index-4cdfeb96d45c0edbe3d45931022e8005.hbc.map (14.5 MB)[expo-cli] [expo-cli] › Files (2):[expo-cli] assetmap.json (25.4 kB)[expo-cli] metadata.json (6.42 kB)[expo-cli] [expo-cli] Exported: dist✔ Exported bundle(s)✔ Uploaded assetmap.json ⠇ Uploading (0/56)(node:12056) [DEP0044] DeprecationWarning: The util.isArray API is deprecated. Please use Array.isArray() instead.(Use node --trace-deprecation ... to show where the warning was created)✔ Uploaded 2 app bundles✔ Uploading assets skipped - no new assets foundℹ 50 iOS assets, 50 Android assets (maximum: 2000 total per update). Learn more about asset limits✔ Computed project fingerprints✔ Published!Branch developmentRuntime version 1.0.0Platform android, iosUpdate group ID 36193c9d-e3cb-43b3-abb0-1b0a945b68afAndroid update ID 4c505558-7e8e-4837-89eb-67c40f4d84ceiOS update ID d1473ce0-3b64-4d6a-a907-c14cb46ac87bMessage fix: apiUrlCommit 53e7e483149d3a1c11158dc6d82e1d275d1817dd*EAS Dashboard https://expo.dev/accounts/lukasdiego/projects/threads/updates/36193c9d-e3cb-43b3-abb0-1b0a945b68afNo compatible builds found for the following fingerprints: iOS fingerprint: 0ccba201890a2a4b134bfc3a01a91979c8c32e83 URL : https://expo.dev/accounts/lukasdiego/projects/threads/fingerprints/0ccba201890a2a4b134bfc3a01a91979c8c32e83 Android fingerprint: 676271bcdf365731eeac1b2652140fffb81ea64f URL : https://expo.dev/accounts/lukasdiego/projects/threads/fingerprints/676271bcdf365731eeac1b2652140fffb81ea64f chaejinjeong😝 ~/Desktop/lukas/Study/reactnative/zerocho/threads ↱ main ± eas update 는 된 것 같은데 Builds에서는 안보이네요 업데이트가 잘 못 된걸까요 ?우선 commit들은 확인이 됩니다.
-
미해결React Native with Expo: 제로초에게 제대로 배우기
orbit으로 install 후 npm run android에서 에러
Error: adb: failed to install /Users/chaejinjeong/Desktop/lukas/Study/reactnative/zerocho/threads/android/app/build/outputs/apk/debug/app-debug.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Existing package com.lotto.threads signatures do not match newer version; ignoring!]현재 npm run android 시 이런 에러를 겪고 있습니다.. 혹시 어떤게 잘 못 된걸까요 ?앱을 삭제했습니다orbit으로 다시 instsall 했습니다
-
미해결React Native with Expo: 제로초에게 제대로 배우기
eas update:configure
eas configure 성공하려면app.config.js 가 아니라 app.json으로 있어야하나요 ?
-
미해결React Native with Expo: 제로초에게 제대로 배우기
react expo 윈도우에서는 로컬 빌드 해서 apk 못 뽑나요??
윈도우에서 react expo로 앱을 만든 후 애뮬에 배포하는거말고 윈도우 하드디스크에 apk를 받고싶어서 npx eas build -p android --profile preview --local 이라고 명령어 실행하면 Unsupported platform, macOS or Linux is required to build apps for Android Error: build command failed. 이렇게 뜨는데 제가 잘못한게 있을까요? 아니면 맥북에서만 로컬 빌드가 가능한건가요?? eas 온라인 빌드는 한달 30회 제한도 있고 큐에 쌓이고 기다리는 시간이 너무 길어서 apk 추출해서 실기기에 넣고싶은데 윈도우에서는 방법이 없을까요?
-
미해결아바타 커뮤니티앱 만들기 (React Native Expo)
리액트 웹 경험 없이 수강해도 괜찮을까요?
안녕하세요, Kyo 선생님!좋은 강의 항상 감사히 듣고 있습니다.다름이 아니라 한 가지 궁금한 점이 있어 연락드립니다.저는 고등학생이고, 현재 동아리 프로젝트에 활용하기 위해 리액트 네이티브 강의를 수강하고자 합니다.그런데 강의 소개에서 리액트 웹 개발 경험자를 대상으로 한다고 하신 것을 보았습니다.저는 아직 리액트 웹 경험이 없는데, 모르는 컴포넌트나 개념은 따로 찾아보면서 공부하면 강의를 무리 없이 따라갈 수 있을까요?아니면 리액트 웹을 먼저 공부하고 수강하는 것이 더 좋을까요?선생님의 조언 부탁드립니다. 감사합니다!
-
미해결React Native with Expo: 제로초에게 제대로 배우기
nativeAppKey 인식 안되는 이유로 eas build 실패
✘ chaejinjeong😝 ~/Desktop/lukas/Study/reactnative/zerocho/threads ↱ main ± eas build --profile development --platform android ★ eas-cli@16.17.0 is now available. To upgrade, run: npm install -g eas-cli Proceeding with outdated version. Failed to read the app config from the project using "npx expo config" command: npx expo config --json exited with non-zero code: 1. Falling back to the version of "@expo/config" shipped with the EAS CLI. [@react-native-kakao/core] 'nativeAppKey' missing in expo config plugin value Error: build command failed.현재 강의 따라하다가 app.config.js 로 app.json이 바뀌어있는 상태인데 config.js 에서는 환경변수로 값이 인식이 안되나요 ? Expo 프로젝트에 환경변수는 등록이 되어있는 상태입니다.
-
미해결React Native with Expo: 제로초에게 제대로 배우기
위 링크에서 modal.tsx 만 다음 코드로 바꾼 후 실습 진행하시면 됩니다.
https://github.com/ZeroCho/threads-clone/tree/9313da137d2520c8a336e9add8ec61a776bca4e4/app위 링크에서 modal.tsx 만 다음 코드로 바꾼 후 실습 진행하시면 됩니다.이렇게 되어 있을 때, 해당 링크에 있는 파일을 다운로드 할 수 있나요?아니면 해당 링크에 들어가서, 파일 하나하나 접근해서 파일 하나씩 다운로드를 하는건가요?죄송합니다. 무슨 말인지 모르겠어요.
-
미해결React Native with Expo: 제로초에게 제대로 배우기
faker 라이브러리 설치 후 오류 발생
'c:/Users/swu/threads-clone/node_modules/@faker-js/faker/tsconfig.json' 구성 파일에서 입력을 찾을 수 없습니다. 지정된 '포함' 경로는 '["src/**/*"]'이고 '제외' 경로는 '["node_modules"]'이었습니다. 처음에 오류가 발생해서 npm uninstall @faker-js/faker 로 한 번 지웠다가 다시 npm i @faker-js/faker 로 설치했는데 이런 오류가 발생합니다 ㅜㅜ 지웠다가 설치해서 이런 오류가 발생하는 걸까요?
-
해결됨React Native with Expo: 제로초에게 제대로 배우기
카카오 로그인이 안됨
LOG key: Xo8WBi6jzSxKDVR4drqm84yr9iU= ERROR [Error: invalid android_key_hash or ios_bundle_id or web_site_url]key는 잘 받아오는데 로그인이 안됩니다.. const onKakaoLogin = async () => { try { console.log("key: ", await getKeyHashAndroid()); const result = await kakaoLogin(); console.log(result); const user = await me(); console.log(user); // TODO: save the token to server } catch (error) { console.error(error); } };현재 사용 중인 코드입니다.