๐พ ๊ฐ๋ฐ ๐พ (11) ์ธ๋ค์ผํ ๋ฆฌ์คํธํ ์ฟ ํค&์ธ์ vs JWT ์ ์ฌ์ฉํ ๋ก๊ทธ์ธ ์ฟ ํค & ์ธ์ ์ ์ฌ์ฉํ ๋ก๊ทธ์ธ ์ฟ ํค ์๋ฒ์ ์๋ต์ผ๋ก ๋์ ์น ๋ธ๋ผ์ฐ์ ์ ์ ์ฅ๋๋ ์ ๋ณด. ๋ก๊ทธ์ธ ์ ์๋ฒ๋ก ๋ถํฐ ์ธ์ ID๋ฅผ ์๋ต ๋ฐ์ ์ ์ฅํ๋ค. ๋ก๊ทธ์ธ ๊ถํ์ด ํ์ํ ์์ฒญ์ ์๋ฒ๋ก ํ ๋๋ง๋ค ์ฟ ํค ์ ๋ณด๋ฅผ ๊ฐ์ด ๋ณด๋ธ๋ค. ์ธ์ client์์ server๋ก ๊ฐ๋ ๋ชจ๋ ์์ฒญ์ด ์ด์ request์ ๋ ๋ฆฝ์ ์ผ๋ก ์ด๋ฃจ์ด์ง๋ค(stateless). ๋ฐ๋ผ์ ์ฐ๋ฆฌ๊ฐ ์๋ฒ์ ์์ฒญ์ ๋ณด๋ผ ๋๋ง๋ค ๋ด๊ฐ ๋๊ตฌ์ธ์ง ์๋ ค์ฃผ์ด์ผ ํ๋ค. client๊ฐ id, pw๋ฅผ ํ์ธํ์ฌ ๋ง์ผ๋ฉด ์ธ์ DB์ ์ ์ ๋ฅผ ์์ฑํ๋ค. ์ด ๋ ์ธ์ ID๋ ์ฟ ํค๋ฅผ ํตํด ๋์์ค๊ณ ์น ๋ธ๋ผ์ฐ์ ์ ์ ์ฅ๋๋ค. client๊ฐ ์ธ๊ฐ๊ฐ ํ์ํ ์์ฒญ์ ํ ๋๋ง๋ค server๋ ์ธ์ ID๋ฅผ ์ธ์ DB์ ์ ์ฅ๋ ๊ฐ๊ณผ ๋์กฐํ์ฌ ํ์ธ ํ client์๊ฒ ์๋ตํ๋ค. ์ฟ ํค & ์ธ์ ์ ์ฌ์ฉํ ๋ก.. [Flutter] Incorrect use of ParentDataWidget Error in Flutter https://stackoverflow.com/questions/57803737/flutter-renderflex-children-have-non-zero-flex-but-incoming-height-constraints Flutter: "RenderFlex children have non-zero flex but incoming height constraints are unbounded" I want to have a ListView inside another widget when I wrap FutureBuilder in a Column in order to have a simple Row. I get this error: The following assertion was thrown during p.. [Flutter] ๋ค์ด๋ฒ ๋ก๊ทธ์ธ (iOS/Android) 1. naver ๊ฐ๋ฐ์ ์ค์ https://developers.naver.com/apps/#/register?api=nvlogin ์ ํ๋ฆฌ์ผ์ด์ - NAVER Developers developers.naver.com - ์ ํ๋ฆฌ์ผ์ด์ ๋ฑ๋ก - ์๋๋ก์ด๋ ์ค์ ๋ค์ด๋ก๋ url : https://play.google.com/store/ (์์ง ๋ฑ๋กํ url์ด ์์ผ๋ฏ๋ก ์ฐ์ ์ด๋ ๊ฒ ์ ๋ ฅํด์ค๋๋ค.) ์ฑ ํจํค์ง ์ด๋ฆ : (android/app/src/main/AndroidManifest.xml ์์ ํจํค์ง ๋ช ์ ๊ฐ์ ธ์ ๋ณต๋ถํฉ๋๋ค.) - iOS ์ค์ ๋ค์ด๋ก๋ url : https://www.apple.com/kr/app-store/ (์ด๊ฒ๋ ์์ง ์์์ผ๋ก ์ผ๋จ ์ ๋ ฅํด์ค๋๋ค.) URL Scheme : ๋ก๊ทธ์ธ ํ Call.. [Flutter] Searching for inspections failed: undefined method `map' for nil:NilClass ์๋ฌ ๋ฉ์์ง Preparing Analyzing dependencies Inspecting targets to integrate Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``) Finding Podfile changes ... ... Searching for inspections failed: undefined method `map' for nil:NilClass ์๋ฌ ํด๊ฒฐ ๋ฐฉ๋ฒ flutter์์ firebase๋ฅผ ์ฌ์ฉํ๊ธฐ ์ํด์ ํ์ํ ์ธํ ์ธ ๊ฒ ๊ฐ๋ค. #1 Install ffi ํฐ๋ฏธ๋์์ ์ ๋ ฅ $ sudo arch -x86_64 gem install ffi #2 Re-install dependencies ios/ ์.. [Flutter] ... duplicate symbols for architecture ... ์๋ฌ This can happen when project is inside an iCloud directory, causing file duplication. There are two workarounds I see: 1- Remove duplicate files from root project. Always run find command without -delete first to make sure you're not deleting unwanted files find . -name \*\ 2.\* find . -name \*\ 2.\* -delete find . -name \*\ 3.\* find . -name \*\ 3.\* -delete flutter clean flutter run 2- Clean/r.. [Flutter] ์นด์นด์ค ๋ก๊ทธ์ธํ๊ธฐ (iOS/Android) 1. kakao developer ์์ ์ ํ๋ฆฌ์ผ์ด์ ๋ฑ๋กํ๊ธฐ - ๋ด ์ ํ๋ฆฌ์ผ์ด์ ์ด๋ฆ ์ ํ๋ฆฌ์ผ์ด์ ์ด๋ฆ ๋ฑ๋ก - ์ฌ์ ์๋ช ์ฌ์ ์ ๋ช ์ด ์์ด์ ์ฐ์ ์ ํ๋ฆฌ์ผ์ด์ ์ด๋ฆ๊ณผ ๋์ผํ๊ฒ ๋ฑ๋กํ์ต๋๋ค. 2. pubspec.yaml ํ์ผ์ ์์กด์ฑ ์ค์ dependencies kakao_flutter_sdk_user: ^1.2.1 # ์นด์นด์ค ๋ก๊ทธ์ธ pubspec.yaml ํ์ผ์ ํด๋น ์์กด์ฑ์ ์ค์ ํด์ค ํ $ flutter pub get ์คํํด ์ค๋๋ค. ์๋ฌ ๋ฐ์1 : Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for t.. [Flutter] iOS ์ฒซ ๋น๋ Flutter ์์ ์คํ ์ ์๋ฌ ๋ฐ์ Please ensure that a Development Team is selected by : ... ๊ฐ๋ฐํ์ด ์ ํ๋์ง ์์์ ๋ฐ์ํ๋ ์๋ฌ์ธ ๊ฒ ๊ฐ๋ค. ์ค๋ช ์์ ํ๋ผ๋ ๋๋ก ํด๋ณด์ 1. iOS/Runner.xcworkspace ๋ฅผ Xcode์์ ์ฝ๋๋ค!! 2. Runner๋ฅผ ์ ํํ๊ณ , Signing & Capabilities ํญ์์ Team์ ์ ํ ํด ์ค๋๋ค. 3. ๊ณ์ ์ ์ด์ฉํ ์ ์๋ค๊ณ ํ๋ค์! Sign in…์ ์ ํํ์ฌ ๋ก๊ทธ์ธ ํด ์ค๋๋ค. 4. Build ์๋! → Build Success ๋ ๋ด์ง๋ง ์ด ์ ์๋ค๊ณ ํ๋ค์. Could not launch "Runner" The operation couldn't be completed. ์์ดํฐ ๋ณด์ ์ ํ์ธ.. [Flutter] Consumer ์์์ ๋ชจ๋ฌ ๋์ฐ๊ธฐ WidgetsBinding.instance.addPostFrameCallback((_) { showModalBottomSheet( context: context, builder: (context) => Container( child: Text('์๋ฝ'), ), ); }); ์ด์ 1 2 ๋ค์