feat: ship ad-supported only — gate Remove Ads IAP behind kIapEnabled=false

The developer is an individual without a Korean business registration, so
the App Store / Play paid-apps (merchant) agreements can't be completed.
Hide the Remove Ads + Restore tiles and skip IAP init; ads always show.
AdMob revenue is independent of those agreements. Reversible: flip
kIapEnabled to re-enable once a merchant agreement exists. Bump to build 2;
drop the now-unused IAP review-screenshot generator.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-15 11:55:48 +09:00
parent e9d7f7cef6
commit 8b5bbd9531
12 changed files with 365 additions and 248 deletions
+63 -83
View File
@@ -1,89 +1,69 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome to Firebase Hosting</title>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Block Seasons — 시즌마다 새로워지는 블록 퍼즐</title>
<meta name="description" content="Block Seasons는 8×8 보드에 블록을 놓아 줄을 지우고, 몇 주마다 새 테마 시즌을 즐기는 편안한 블록 퍼즐입니다.">
<style>
:root{ --navy:#0E1430; --navy2:#1B2350; --accent:#5B7FFF; --ink:#EAF0FF; --muted:#9DA9C7; }
*{ box-sizing:border-box; }
body{ margin:0; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans KR",sans-serif;
background:linear-gradient(160deg,var(--navy),var(--navy2)); color:var(--ink); line-height:1.6; }
.wrap{ max-width:680px; margin:0 auto; padding:56px 24px 72px; }
.mark{ display:flex; gap:6px; margin-bottom:28px; }
.mark span{ width:30px; height:30px; border-radius:8px; box-shadow:inset 0 -3px 0 rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.3); }
.b1{ background:#6E8BFF; } .b2{ background:#F4B6C2; } .b3{ background:#7FD4C0; } .b4{ background:#F6CF76; }
h1{ font-size:2.2rem; margin:0 0 6px; letter-spacing:-.5px; }
.tag{ color:var(--accent); font-weight:600; margin:0 0 28px; font-size:1.05rem; }
p{ color:var(--ink); }
.lead{ font-size:1.05rem; }
ul{ padding-left:1.1rem; } li{ margin:.3rem 0; color:var(--ink); }
.muted{ color:var(--muted); }
h2{ font-size:1.1rem; margin:2.4rem 0 .6rem; color:#fff; }
.links{ display:flex; flex-wrap:wrap; gap:12px; margin:30px 0 8px; }
.links a{ display:inline-block; text-decoration:none; padding:12px 20px; border-radius:10px;
background:var(--accent); color:#fff; font-weight:600; }
.links a.alt{ background:transparent; border:1px solid rgba(255,255,255,.25); color:var(--ink); }
hr{ border:none; border-top:1px solid rgba(255,255,255,.12); margin:40px 0 24px; }
footer{ color:var(--muted); font-size:.86rem; }
a.inline{ color:var(--accent); }
</style>
</head>
<body>
<div class="wrap">
<!-- update the version number as needed -->
<script defer src="/__/firebase/12.14.0/firebase-app-compat.js"></script>
<!-- include only the Firebase features as you need -->
<script defer src="/__/firebase/12.14.0/firebase-auth-compat.js"></script>
<script defer src="/__/firebase/12.14.0/firebase-database-compat.js"></script>
<script defer src="/__/firebase/12.14.0/firebase-firestore-compat.js"></script>
<script defer src="/__/firebase/12.14.0/firebase-functions-compat.js"></script>
<script defer src="/__/firebase/12.14.0/firebase-messaging-compat.js"></script>
<script defer src="/__/firebase/12.14.0/firebase-storage-compat.js"></script>
<script defer src="/__/firebase/12.14.0/firebase-analytics-compat.js"></script>
<script defer src="/__/firebase/12.14.0/firebase-remote-config-compat.js"></script>
<script defer src="/__/firebase/12.14.0/firebase-performance-compat.js"></script>
<!--
initialize the SDK after all desired features are loaded, set useEmulator to false
to avoid connecting the SDK to running emulators.
-->
<script defer src="/__/firebase/init.js?useEmulator=true"></script>
<div class="mark"><span class="b1"></span><span class="b2"></span><span class="b3"></span><span class="b4"></span></div>
<style media="screen">
body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
#message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px; border-radius: 3px; }
#message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
#message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
#message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
#message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
#message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
#load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
@media (max-width: 600px) {
body, #message { margin-top: 0; background: white; box-shadow: none; }
body { border-top: 16px solid #ffa100; }
}
</style>
</head>
<body>
<div id="message">
<h2>Welcome</h2>
<h1>Firebase Hosting Setup Complete</h1>
<p>You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!</p>
<a target="_blank" href="https://firebase.google.com/docs/hosting/">Open Hosting Documentation</a>
</div>
<p id="load">Firebase SDK Loading&hellip;</p>
<h1>Block Seasons</h1>
<p class="tag">시즌마다 새로워지는 블록 퍼즐 · A seasonal block puzzle</p>
<script>
document.addEventListener('DOMContentLoaded', function() {
const loadEl = document.querySelector('#load');
// // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
// // The Firebase SDK is initialized and available here!
//
// firebase.auth().onAuthStateChanged(user => { });
// firebase.database().ref('/path/to/ref').on('value', snapshot => { });
// firebase.firestore().doc('/foo/bar').get().then(() => { });
// firebase.functions().httpsCallable('yourFunction')().then(() => { });
// firebase.messaging().requestPermission().then(() => { });
// firebase.storage().ref('/path/to/ref').getDownloadURL().then(() => { });
// firebase.analytics(); // call to activate
// firebase.analytics().logEvent('tutorial_completed');
// firebase.performance(); // call to activate
//
// // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
<p class="lead">8×8 보드에 세 조각을 드래그해 가로·세로 줄을 지우는, 편안하고 예쁜 블록 퍼즐입니다.
몇 주마다 새 테마의 시즌과 스테이지가 앱 업데이트 없이 도착하고, 시즌 1은 오프라인으로도 즐길 수 있어요.</p>
try {
let app = firebase.app();
let features = [
'auth',
'database',
'firestore',
'functions',
'messaging',
'storage',
'analytics',
'remoteConfig',
'performance',
].filter(feature => typeof app[feature] === 'function');
loadEl.textContent = `Firebase SDK loaded with ${features.join(', ')}`;
} catch (e) {
console.error(e);
loadEl.textContent = 'Error loading the Firebase SDK, check the console.';
}
});
</script>
</body>
<ul>
<li>시즌제 — 몇 주마다 새 테마와 스테이지</li>
<li>일러스트 여정 맵 + 엔드리스 모드</li>
<li>광고 강요 없는 공정한 설계, 일회성 ‘광고 제거’ 지원</li>
<li>오프라인 플레이 (시즌 1 내장)</li>
</ul>
<p class="muted">A cozy 8×8 block puzzle. Drop three pieces, clear lines, and enjoy a fresh themed
season every few weeks — no app update needed. Season 1 plays fully offline.</p>
<div class="links">
<a href="mailto:airkjw@gmail.com">문의 / Contact</a>
<a class="alt" href="/privacy-policy.html">개인정보처리방침 / Privacy</a>
</div>
<h2>지원 / Support</h2>
<p class="muted">문의 사항은 <a class="inline" href="mailto:airkjw@gmail.com">airkjw@gmail.com</a> 으로 보내주세요.
보통 2~3일 내에 답변드립니다. · For support, email
<a class="inline" href="mailto:airkjw@gmail.com">airkjw@gmail.com</a>.</p>
<hr>
<footer>© 2026 Joungwook Kwon · Block Seasons</footer>
</div>
</body>
</html>