Files
tern-android/app/schemas/pl.mtps.tern.data.db.TernDatabase/1.json
T
Mateusz PstruchaandClaude Opus 5.5 d7ee8b7c46
CI / build (push) Successful in 10m25s
Release / apk (push) Successful in 4m14s
Build the Android client with UnifiedPush notifications
The mail client from android-client-spec.md on AGP 9.4 / Kotlin 2.4 /
compileSdk 37: sign-in and first-run (account, then notifications),
adaptive list-detail with a modal or permanent drawer, swipe to archive
or delete, a locked-down WebView for HTML mail with remote images
blocked per message, reply/reply-all/compose with drafts and an outbox,
and Material You theming with the brand palette as fallback.

Mail is cached in Room and kept current by delta sync over
/api/events. UnifiedPush (connector only, no FCM) delivers the server's
content-free wake-ups; a WorkManager job syncs and raises one
MessagingStyle notification per thread with Archive and Mark read, and
drops notifications for threads read elsewhere. Settings shows push
state, picks a distributor and sends a test push.

The session token is encrypted with a Keystore key, backups are off,
release builds are HTTPS-only (trusting user-installed CAs). CI now
pins platform 37 / build-tools 36 and runs unit tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 21:03:11 +02:00

110 lines
3.0 KiB
JSON

{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "7e1ac1f2b0caf6b35d3df12e267dba79",
"entities": [
{
"tableName": "threads",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`viewKey` TEXT NOT NULL, `threadId` TEXT NOT NULL, `position` INTEGER NOT NULL, `json` TEXT NOT NULL, PRIMARY KEY(`viewKey`, `threadId`))",
"fields": [
{
"fieldPath": "viewKey",
"columnName": "viewKey",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "threadId",
"columnName": "threadId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "position",
"columnName": "position",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "json",
"columnName": "json",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"viewKey",
"threadId"
]
}
},
{
"tableName": "messages",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `threadId` TEXT NOT NULL, `position` INTEGER NOT NULL, `json` TEXT NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "threadId",
"columnName": "threadId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "position",
"columnName": "position",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "json",
"columnName": "json",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
}
},
{
"tableName": "meta",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`key` TEXT NOT NULL, `json` TEXT NOT NULL, PRIMARY KEY(`key`))",
"fields": [
{
"fieldPath": "key",
"columnName": "key",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "json",
"columnName": "json",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"key"
]
}
}
],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '7e1ac1f2b0caf6b35d3df12e267dba79')"
]
}
}