๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๋ฐ˜์‘ํ˜•

๐Ÿพ ๊ฐœ๋ฐœ ๐Ÿพ

(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('์•ˆ๋‡ฝ'), ), ); });

๋ฐ˜์‘ํ˜•