최신 포스트
-
시스템 디자인 Claude 활용 바이브코딩 아키텍처 관련 RULES.md의 중요성과 예시 # Project Rules## Stack- Next.js App Router- TypeScript- Zustand (State Management)- Dexie (Local Database)- Tailwind (Styling)## Architecture- Shared state only via Zustand- No prop drilling- Repository pattern for DB access- Mobile-first UI- All pages under /app## UI- Large touch targets- Tablet optimized- Korean language support## Store- Persist drafts locally- Use IndexedDB through Dexie## I.. -
Flutter 구글 결제 유효성 검사 시 401 에러 "The current user has insufficient permissions to perform the requested operation." 해결 방법 증상서버에서 Google Play Android Developer API 를 활용하여 사용자가 발생 시킨 결제가 유효한지 검사하기 위해서 다음 코드 실행 시 제목과 같은 401 에러가 발생한다.response = androidpublisher.purchases().products().get( productId=product_id, packageName=package_name, token=purchase_token).execute() 원인1. Google Play Android Developer API가 활성화 되어 있고2. 파라미터로 전송하는 package name과 product id가 Google Play Console에서 설정한 것과 일치한다면 사용중인 service account..
-
Flutter `this version of the application is not configured for billing through` 에러 해결 방법 문제테스트 계정으로 결제 요청을 했을 때 다음과 같은 에러가 발생`this version of the application is not configured for billing through` 해결 방법플레이 콘솔 > 설정 > 라이센스 테스트 > 테스트 중인 계정을 추가
-
DevOps Google Secret Manager로 키 관리하는 법 (feat. Python) SecretManager API 활성화 하기 → https://console.cloud.google.com/apis/library/secretmanager.googleapis.com?hl=koGoogle Cloud Console에서 Cloud Shell 터미널 열기다음 명령어로 Secret Manager API 활성화 하기gcloud services enable secretmanager.googleapis.com등록할 키 파일을 cloud shell에 업로드하기다음 명령어로 secret 생성하기gcloud secrets create service-account-key --data-file="babylingual-33707-c1ec09ebc95f.json"gcloud secrets create fireba..
-
Flutter google.api_core.exceptions.PermissionDenied: 403 Missing or insufficient permissions. 원인과 해결 방법 배경 다음과 같이 구글 클라우드 프로젝트를 변경하면서 403 권한 예외가 발생했다. 사용하는 API는 사용자가 발생시킨 결제 정보 유효성을 검증하기 위한 `Google Play Android Developer API`와 데이터를 저장하고 조회하기 위한 `Google Cloud Firestore API`가 있다. 각각에 대한 별도의 키가 다음과 같이 필요하다. 둘 다 프로젝트가 변경됨에 따라 새롭게 발급해야 한다. Developer APIFirestore API키service account 키firebase admin SDK 비밀 키 service account 키 발급 방법1. 구글 클라우드 콘솔에서 프로젝트 선택2. IAM 및 관리자 선택3. 서비스 계정 선택4. 서비스 계정 만들기 선택5. 권한은..