이 글의 성격은 무엇인가요?
질문 / 문제 해결
내용을 설명해주세요
환경:
SDK 버전: 2.0.5
@apps-in-toss/web-framework: 2.0.5
Next.js (Static Export)
빌드 방식: babelBuild + createArtifact (isWeb: true)
현상: 콘솔에서 .ait 파일 업로드 후 빌드가 성공하여 “검토 필요” 상태가 되었지만, [테스트] 버튼으로 QR 또는 푸시 알림을 통해 앱을 열면 “지금은 서비스를 사용할 수 없어요 - 사용할 수 없는 유저입니다” 메시지가 표시됩니다.
빌드 과정:
next build로 정적 파일 생성 (out/ 디렉토리)
out/ 파일들을 out/web/ 하위로 이동
@apps-in-toss/web-config의
babelBuild
로 prebuilt 런타임에서 bundle.ios.js, bundle.android.js 생성
.granite/app.json에 appName, permissions 기록
createArtifact
로 .ait 파일 생성 (isWeb: true, extra에 brand/navigationBar/webViewProps 포함)
granite.config.ts:
typescript
import { defineConfig } from ‘@granite-js/plugin-core’;
import { appsInToss } from ‘@apps-in-toss/plugins’;
export default defineConfig({
appName: ‘zzantechbingo’,
scheme: ‘zzantechbingo’,
slug: ‘zzantechbingo’,
outdir: ‘out’,
plugins: [
…appsInToss({
appType: ‘general’,
brand: {
displayName: ‘짠테크 빙고’,
primaryColor: ‘#3182f6’,
icon: ‘https://static.toss.im/icons/png/4x/icon-logo-toss.png’,
},
permissions: ,
navigationBar: {},
}),
],
});
확인 사항:
콘솔에서 빌드 상태는 "검토 필요"로 성공 표시
워크스페이스 멤버로 등록된 계정으로 테스트
토스 앱 최신 버전 사용 중
혹시 웹뷰 앱에서 “사용할 수 없는 유저” 오류가 발생하는 원인이나 확인해야 할 설정이 있을까요? 감사합니다.