OpenCode AI e9899d2e6d
Some checks failed
Android CI Build / check (push) Has been cancelled
Android CI Build / package-apks (push) Has been cancelled
Docs Deploy / build (push) Has been cancelled
Module Market Check / Validate modules/ (push) Has been cancelled
Module Market Publish / Generate submissions.json (push) Has been cancelled
Docs Deploy / deploy (push) Has been cancelled
Initial DruksCode V2: fresh fork of web-to-app (f3b488e) with DruksCode identity
- Package rename com.webtoapp -> br.com.drukstech.codeapp
- Product rename WebToApp/web-to-app -> DruksCode/drukscode
- Design system Wta* -> Dkc*
- applicationId br.com.drukstech.codeapp (.play for gplay flavor)
- rootProject.name DruksCode
- Fresh git history (upstream kept as remote for sync)
2026-09-12 02:42:02 +02:00

39 lines
1.9 KiB
Markdown

# APK Export Config
Packaging and identity settings for the generated APK. This is the export drawer in the editor.
**Where:** the **APK export config** drawer in the [Edit Common Config](/guide/app-actions/edit-common-config/) editor (backed by `ApkExportConfig`).
## Identity
- **Custom package name** — the APK's application id (validated against a package-name pattern).
- **Version code / version name** — the APK version; the builder can suggest the next version code if the package is already installed.
- **Engine type** — System WebView or GeckoView for the exported app.
## Signing
- **Keystore** — create/import/manage the signing key (PKCS12/PFX/JKS/BKS).
- **Signature schemes** — V1/V2/V3 independently, with legacy auto-fallback and a custom V1 signer filename.
## Runtime permissions
- Permissions are derived from the enabled features (feature-driven), and unused permissions are pruned from the template manifest at build time.
## Network trust
- **Client Certificate Authentication (mTLS)** — when a server requests a client certificate, the generated app opens Android's system certificate picker and uses the selected device-installed identity. This is separate from trusting a server CA. The selected identity is reused for later connections to the same server.
## Build-time options (in the Build dialog)
These are chosen when you [Build APK](/guide/app-actions/build-apk):
- **Resource encryption** — PBKDF2 + AES-256-GCM, with an optional custom password.
- **Isolation** — per-app isolation of storage/WebRTC/Canvas/Audio/WebGL/fonts/headers/IP.
- **Background run** — keep a service alive (`backgroundRunConfig`).
- **Notifications** — scheduled/persistent notifications and polling (`notificationConfig`).
- **Force full rebuild** — skip incremental caching.
## Notes
- For Play Store distribution, export an AAB from [Google Play](/guide/more-features/google-play), which rewrites `targetSdk` to the Play-required level.