Skip to content

Commit dd7f3f8

Browse files
docs(ahbg): build the Play AAB from Android README
1 parent 86a20c9 commit dd7f3f8

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

ahbg/android/README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,21 @@ canonical runtime (ahbg/runtime + frozen Grok engine + UCNS geometry)
2929
cd ahbg/android
3030
gradle assembleDebug -PruntimeUrl=http://10.0.2.2:8765
3131

32-
# signed release against the production HTTPS endpoint
33-
gradle assembleRelease \
32+
# Google Play release artifact: signed Android App Bundle (AAB)
33+
gradle bundleRelease \
3434
-PruntimeUrl=https://ahbg.interdependentway.org \
35-
-PrevenueCatApiKey=rc_public_key \
35+
-PrevenueCatApiKey=<goog_public_sdk_key> \
3636
-PahbgStoreFile=/secure/ahbg-release.jks -PahbgStorePassword=... \
3737
-PahbgKeyAlias=... -PahbgKeyPassword=...
3838
```
3939

4040
- `runtimeUrl` defaults to `https://ahbg.interdependentway.org` for release
4141
builds; debug may point at a local emulator host. Cleartext is allowed only
4242
for `10.0.2.2`/`localhost` in debug via `network_security_config.xml`.
43-
- `revenueCatApiKey` is a RevenueCat **public** API key provisioned at build
44-
time and never committed. Without a key the app builds and runs on the free
45-
tier (`NoopPremiumStore`).
43+
- `revenueCatApiKey` is the Google Play app's RevenueCat **public SDK key**
44+
(`goog_...`) provisioned at build time and never committed. A RevenueCat
45+
`rc_...` project identifier is not the Android SDK key. Without a key the app
46+
builds and runs on the free tier (`NoopPremiumStore`).
4647

4748
## Entitlement
4849

@@ -51,9 +52,14 @@ run comparison, and adversarial benchmark packs. Basic gameplay and external
5152
harness connectivity remain free. The runtime side only checks claims; the
5253
Android side verifies with the RevenueCat SDK.
5354

55+
Current boundary: entitlement lookup is implemented, but purchase initiation
56+
and explicit restore controls are not. See
57+
`../submission/SUBMISSION_BLOCKERS.md`; the Play sandbox billing gate remains
58+
blocked until those user-visible operations are wired and tested.
59+
5460
## hmmm
5561

56-
- Store publication needs signing, versioning policy, and submission assets —
57-
outside this pass.
58-
- Local emulator uses cleartext HTTP; a release build must switch the runtime
59-
URL to HTTPS and disable `usesCleartextTraffic`.
62+
- Store publication needs a production keystore, Play/RevenueCat provisioning,
63+
policy declarations, purchase/restore wiring, and live sandbox verification.
64+
- Local emulator uses cleartext HTTP; release uses the production HTTPS runtime
65+
URL.

0 commit comments

Comments
 (0)