이 글의 성격은 무엇인가요?
질문 / 문제 해결
내용을 설명해주세요
출시 했는데 앱을 선택하면 “잠시 문제가 생겼어요” 뜹니다!
저한테도 유저한테도.
원인을 알고 싶습니다. 어떻게 해야할까요?
현재 , 점검 공지 한 상태입니다.
appName (선택)
findlove
안녕하세요 ![]()
granite.config.ts 를 공유주실 수 있을까요 ?
// @apps-in-toss/web-framework
export default {
app: {
id: ‘ait.0000024236.ca570e85.4906358c9e.4843905160’,
name: ‘findlove’,
},
appName: ‘findlove’,
brand: {
displayName: ‘솔로탈출’,
icon: ‘https://static.toss.im/appsintoss/30053/b725aeed-b599-4a88-8dc7-dc820d51595f.png’,
primaryColor: ‘#0064FF’,
},
webViewProps: {
type: ‘webview’,
},
navigationBar: null,
build: {
outputDir: ‘.ait’,
},
outdir: ‘dist’,
web: {
commands: {
build: ‘npm run build’,
},
},
};
npx ait init 으로 프로젝트 초기화를 해주셨나요 ?
생성된 파일 내 데이터가 제공하지 않는 파라미터들이 있네요.
가이드에 따라 환경 초기화 해주실 수 있나요 ?
가이드대로 granite.config.ts를 defineConfig 형식으로 수정하고 초기화 후 다시 빌드했습니다.
현재 granite.config.ts:
ts
import { defineConfig } from '@apps-in-toss/web-framework/config';
export default defineConfig({
appName: 'findlove',
brand: {
displayName: '솔로탈출',
primaryColor: '#0064FF',
icon: 'https://static.toss.im/appsintoss/30053/b725aeed-b599-4a88-8dc7-dc820d51595f.png',
},
web: {
host: 'localhost',
port: 8080,
commands: {
dev: 'vite dev',
build: 'vite build',
},
},
permissions: [],
outdir: 'dist',
});
새 버전 업로드 후 test에서 앱이 구동되나, 결제를 하면 문제가 생겼다는 메세지가 뜹니다.
인앱결제 > processProductGrant 로직에서 true를 반환하고 계신지 확인 부탁드려요.
관련 가이드전달드립니다.