ai-assisted-todolist

Mobile app#

The decisions of epic #264, taken before any of the app existed. The investigation behind them (options compared, with sources) is on the epic itself; this page keeps what was decided, why, and what was turned down.

Expo, rather than native apps or a WebView#

Accepted · 2026-10-10 · #269

Decision. The app is written with Expo, the framework on top of React Native, in TypeScript: one code base, rendered as the platform's own widgets on iOS and Android.

Why. Of the options compared, it reuses the most of what exists without inheriting the website's UI: the generated wire types, the ahead-of-time validators, the de/en texts and the date and importance rules, shared between frontend/ and the app. React stays the idiom, so the same knowledge applies on both sides. And Gunnar is using Expo in another project, so what is learnt here carries over.

Rejected.

Cost. The screens are new: <div> and CSS become <View> and StyleSheet. Only the logic underneath is shared.

Native projects are generated, and builds run on GitHub Actions#

Accepted · 2026-10-10 · #269

Decision. ios/ and android/ are generated by expo prebuild from the app's configuration and are never committed. Builds run on GitHub Actions, iOS on macOS runners and Android on Linux. Expo's build service, EAS, is not used.

Why. Generated Xcode and Gradle projects in the repository would be reviewed and could drift from the configuration. Running the builds in our own CI keeps everything that can be enforced in CI, as for the backend and the website. It costs nothing, since GitHub's hosted runners are free for a public repository, macOS included.

Rejected: over-the-air updates (EAS Update), for now. They would let JavaScript changes reach installed apps without a store build. That is attractive, but it makes "which version is installed" fuzzy just as apps start to have a minimum version. They can be added later without changing anything else.

The app imports the website's code; a shared/ package can wait#

Accepted · 2026-10-10 · #286

Decision. The app takes the website's generated wire types and validators, its de/en texts and its date and importance rules straight from frontend/src, through the one module mobile/src/web.ts (doc/mobile/development.md). There is no shared/ package yet, though #267 first asked for one.

Why. The direct import already gives what the package was for: one copy, used by both, and drift caught by the website's own tests and generators. A package would move those files out of frontend/src, which changes the imports of existing frontend tests, and it adds an npm workspace to the build, CI caches and Renovate for no gain today. web.ts keeps the door open: everything the app borrows goes through it, so a later move changes that one file on the app's side.

Revisit when a third consumer appears, the website needs something only the app has, or the app's bundler or test runner stops resolving frontend/src cleanly. Gunnar decided this on #267, on 10 October 2026, and asked for it to be reviewed later.

The app sends Google's ID token as a bearer token#

Accepted · 2026-10-10 · #269

Revised in part on 2026-11-17 (#281): the app trades every sign-in's ID token once for an app session of the backend's own and sends that session's token instead, which lasts 30 days from the sign-in rather than 30 days from the last use; the month is the backend's now (An app trades its ID token once for an app session).

Revised in part on 2026-11-26 (#607): qa and prod are to stop sharing one web client. qa's clients move into a Google project of their own, open only to its test users while prod's is open to anyone (qa signs in with a Google project of its own); until that project exists, both name prod's.

Decision (S1 on #264). The app signs in with the platform's Google SDK (Credential Manager on Android, the Google Sign-In SDK on iOS) and sends the ID token as Authorization: Bearer. The backend accepts that beside its session cookie. The app signs itself out after 30 days without use. The website's session stays as it is: eight hours without a request.

Why client-side at all. The website's backend-for-frontend does not carry over to an app. Google refuses sign-in inside an embedded WebView, and a cookie set in the system browser is not visible to the app. RFC 8252 (OAuth for native apps) says what to do instead: the system browser or the platform's own sign-in, PKCE, and the tokens on the device. Google narrows that further for mobile clients, with no custom URI schemes on Android, no loopback redirects and no client secret, and recommends its native SDKs.

Why S1. It is the smallest backend change and the closest to the standard: the backend validates a token from an issuer it already trusts, and nothing else changes.

Rejected.

Why the month belongs to the app. In S1 the backend only ever sees short-lived ID tokens, which the SDK renews silently. There is nothing on the server to expire, so the rule lives where the session does.

Cost. The qa test accounts (Cognito) have to accept bearer tokens too, or there is no automated sign-in for the app's tests. The app signs them in with code + PKCE through the system browser.

The library: react-native-nitro-google-signin (#280). It wraps Credential Manager and the Google Sign-In SDK, as decided, under the MIT licence, and comes with an Expo config plugin. The widely used @react-native-google-signin/google-signin was the obvious alternative, but its free version still uses Google's deprecated Android sign-in SDK; Credential Manager is in its paid edition. A module of our own over the two SDKs stays the fallback if the library falls behind.

Google's button is the website's image, not the library's native one (#325). The library offers Google's native button (GIDSignInButton on iOS, Play services' assets on Android), but it is a native view the Jest tests cannot render, and its words follow the phone's language where the website's are always Google's English. The website's PNGs are Google's official button too, already in use, the same on both platforms, and testable like any other image. A button of our own would have been allowed as well: Google's branding guidelines (opens in a new tab) ask only that its "G" keep its size and colours, and permit the words in the app's language. Using the image is our choice, for one look on every platform, not Google's requirement.

Attaching files: Expo's own modules (#274). expo-image-picker for the camera and the photo library, expo-document-picker for any file — not expo-file-system's own File.pickFileAsync, whose file Android names after its content URI (image:1000000018, as the Maestro flow showed) rather than the name the user sees — expo-file-system's File.upload for the PUT to storage, with progress, expo-image-manipulator for thumbnails and HEIC, and expo-intent-launcher to hand a PDF to Android's viewer. All are Expo SDK modules, versioned with the SDK, so an SDK update moves them together; none needs a native module of our own.

One web client for qa and prod (Gunnar, #280). Both apps ask for ID tokens for the web client the website uses, so a qa token would be accepted by prod as well. That gives no one more than a sign-in to prod gives them already, and separate clients would only pay off with separate users or consent screens.

Sign in with Apple comes later; a hidden address is a separate account#

Accepted · 2026-10-10 · #286

Decision. Sign in with Apple is planned: Apple and Google together cover nearly every phone. It is not part of the first stories.

Hidden addresses. The email is the identity (The email stays the identity). Apple's Hide My Email gives each app a relay address, so the same person signing in with Google and with a hidden Apple address has two accounts, two boards. That is accepted, and the sign-in page says so (Gunnar, #264, 10 October 2026).

Rejected: the identity as issuer and subject. It would join the two, but it reopens D1 of #141 and changes the domain for a case one sentence on the sign-in page covers.

Push goes through Amazon SNS; reminders are local#

Accepted · 2026-10-10 · #269

Revised in part on 2026-11-30 (#277): push goes through no SNS. The backend sends to APNs and FCM itself, FCM without a stored key, and every change to a task pushes, attachments' excepted (Push goes straight to APNs and FCM). Reminders stay local, and a push still carries the task's description.

Decision.

Why SNS. It fits the AWS and OpenTofu setup that is already there, with IAM rather than one more credential in the backend. At this volume it costs nothing: the first million notifications a month are free. The backend's tasks already have public IPs, so no VPC endpoint is needed. Choosing it is easy to undo; sending straight to APNs and FCM would be the alternative.

Why reminders are not pushed. A local notification works offline and needs no scheduler on the server, no device tokens and nothing new in the privacy policy. The due date is a day without a time, so "08:00 on the day" is a choice rather than a fact, and making it per user is a later setting.

Cost. Push needs a new domain concept, the device: an app installation that belongs to a user and is deleted with the account. It also needs an APNs key from Apple and a Firebase project for FCM, which FCM requires even through SNS.

A notification carries the task's description, not only "a task was added" (Gunnar, #264, 10 October 2026). It is what makes the notification worth having. The text passes through Apple's and Google's push services, so the privacy policy names both.

Push goes straight to APNs and FCM#

Accepted · 2026-11-30 · #277

Decision.

Why. Once FCM was called directly, so as to need no key, SNS was left serving the iPhone alone, and for that it still needed the same APNs key, plus an endpoint per device to keep in step with the backend's own record of it. Sending straight is one record of devices and two HTTP calls. A key limited to one app keeps the environments apart at Apple as they are at Google; Apple offers such a key for production or sandbox, not both, and every build that gets a push, TestFlight's and the App Store's, uses production.

Rejected. SNS (above). Expo's push service: one more party the description passes through, and it needs an EAS project, which the builds do without. A key for the whole team: one key fewer, but qa's would reach prod's app.

Cost. An APNs key's secret per environment, $0.40 a month each; APNs, FCM and Workload Identity Federation charge nothing.

Readable offline, not editable offline#

Accepted · 2026-10-10 · #269

Revised in part: a file's transfer is bounded by its size rather than ten seconds (below, #432).

Revised in part on 2026-11-22 (#633): the app renews no tokens any more, so that call is not among those bounded.

Decision. The app keeps the last board it loaded and shows it without a connection. Changes need a connection.

How (#272). One JSON file in the app's cache directory, written after every load: the board is a copy of the backend's, small, and only ever read whole, so a database or a persisted query cache would add a dependency for nothing. It names its account, is removed on sign-out, and while it is shown — before the load, or after one failed — every change is refused rather than sent.

A connection that hangs counts as none (#311). Every request the app makes over the network, except a file's transfer to or from storage, which the next paragraph bounds by its size, fails after 10 seconds, its answer read in full, and is aborted (withinLimit and REQUEST_MS in mobile/src/timeLimit.ts): the backend's, and the identity provider's -- its discovery document, the code exchange after signing in, and renewing the tokens. Without that, a connection that hangs rather than drops was waited on without end: the board said it was loading instead of showing the kept one with "No connection", and a change neither went through nor failed. Ten seconds is long for an answer the backend gives in well under one, and short enough that nobody gives up on the app first. Two exceptions: the sign-in in the browser takes as long as its user does, and the version check at start gives up after three seconds (VERSION_CHECK_MS), since the start waits for it.

A file's transfer to or from storage is held to the same rule, by its size rather than ten seconds (#432): ten seconds, and the file's bytes at 64 KiB/s, a poor mobile connection (transferMs), and the native transfer is aborted when the time is up. That is the upload's PUT, by the file's own size, and the downloads of a preview and of a document Android opens, by the largest file the backend takes (10 MB, 170 s), since their size is not known before they arrive. Without it, a transfer that hung left the upload shown, or a file being opened, for the rest of the run, and the app never started over in the foreground. Watching for a transfer that stops making progress would end a hung one sooner; a bound by size is the smaller change, and one rule for all three.

A change that got no answer in time may have reached the backend all the same, its answer only slow. So it is reported as failed, as before, and the board is loaded again at once: it shows whether the change arrived, and until a load works the board counts as possibly out of date and refuses changes (see above), so a second try is never sent blind and cannot add a task twice. That holds for an undo too, whose restore is two requests and may have done only the first.

Why not more. Editing offline means queueing changes. Because an update sends the whole task, a queued change would silently overwrite a newer one. That needs a version per task, optimistic locking, before it can be built, and it is worth its own story, which would help the website too.

Releases follow semantic versioning, measured by the API#

Accepted · 2026-10-10 · #269

Decision.

Why. Until now the website was the only client and always deployed with its backend, so the API could change in one step. An installed app is weeks old and must keep working. Under 0.x, semantic versioning promises nothing, so the promise starts with the release the first apps are built against, before any is out: an app shipped later in 1.x can rely on it from the start.

Testers only, one app per environment#

Accepted · 2026-10-10 · #269

Decision. The app reaches phones through TestFlight and Google Play internal testing, not the public stores. There are three variants, installable side by side: - de.hilling.taskfest, against prod; - de.hilling.taskfest.qa, against qa; - de.hilling.taskfest.dev, against the local stack.

Why. The aim is the experience of building and shipping an app, not public distribution. The build that goes to testers is the same signed release build a store takes, so a public release would be a decision, not a project.

Developer accounts: organization, for both. Apple and Google accounts are opened for Hilling IT GmbH, which has a D-U-N-S number, so the stores name the company as the seller (Gunnar, #264, 10 October 2026). An organization account on Google Play is also exempt from the closed test of 12 testers for 14 days that a personal one needs before a public release.

Uploads with the plain tools: cloud signing on iOS, no stored Google key#

Accepted · 2026-10-17 · #276, #318

Revised in part: a store release also waits for Gunnar's approval (Store releases wait for Gunnar's approval, #363).

Decision. The release workflow uploads with the platforms' own tools, not fastlane: xcodebuild signs and uploads to TestFlight, Gradle signs the bundle and a small script calls Google Play's publishing API. iOS signs with Apple's cloud-managed distribution certificate, through an App Store Connect API key with the Admin role (Gunnar, #276, 16 October 2026). Google is reached through Workload Identity Federation, with no service-account key. The store credentials are secrets of an environment that admits release tags only.

Why. fastlane would bring Ruby and a Gemfile for two steps that the platforms' tools do in one call each, and its own layer to debug when they fail. Cloud signing leaves nothing to renew: no certificate or provisioning profile to export, store and replace every year. The price is a key with the Admin role, which could do far more in App Store Connect than upload; keeping it in a tag-only environment is what makes that acceptable. Workload Identity Federation is the same idea as the AWS deploy roles: GitHub's OIDC token buys a short-lived one, so there is no key to leak, and new Google Cloud organizations refuse service-account keys by default anyway.

Rejected: a certificate and profiles as secrets. It would need only an App Manager key, but a certificate made on a Mac, two profiles, and their renewal every year.

No crash reporting, for now#

Accepted · 2026-10-10 · #269

Decision. No Sentry, Crashlytics or similar.

Why. Each one is a further processor for the privacy policy. It can be added later.

Sharing into the app with expo-sharing, reading only the raw share#

Accepted · 2026-10-20 · #355, #357

Decision. Sharing into TaskFest (#279, #355) uses Expo's own expo-sharing: its config plugin declares Android's intent filters and generates iOS's share extension (#356), and the release signs that with its App Group (distribution.md). The app reads only the raw share and copies a shared file itself; it never asks the library to "resolve" one. On iOS, the extension opens the app with the trick every such library uses; Gunnar accepted App Review's risk (20 October 2026).

Why. It is versioned with the SDK and updated with it, where expo-share-intent does the same with one maintainer and a release cycle of its own. Resolving would request a shared link to learn its type, which nobody sharing a link expects of a task list. On Android it would also copy a file to the top of the app's cache under whatever name the sending app gives: the kept board's board.json is there, and a name with "../" goes further.

What it costs. A file's name is the end of its link, so one shared from Android's Files app, whose links end in a document's number, is named by its type — shared.png. Apps that share through their own file links keep their names.

Rejected: a form of its own in the share sheet, as Todoist's is. It would be a second task form, in Swift, kept in step by hand, and a task is finished in the app anyway: its due date at least.

If App Review rejects the trick, the extension saves the share and says "Saved. Open TaskFest to finish it."; the app's side stays as it is, since it looks for a share whenever it becomes active. That needs a small extension of the project's own, a few lines of Swift, as the plan on

279 describes.#

expo-sharing is patched for a shared page's title#

Accepted · 2026-10-30 · #414

Revised in part on 2026-11-23 (#673): since SDK 58 expo-sharing copies each shared file into a folder of its own, and withFolderPerFile is gone.

Decision. A link shared from a browser becomes a link titled by its page (#414), and the title comes from what the browser already sends beside the link, through two patches to expo-sharing: on iOS, withPageTitle rewrites its extension template during prebuild, as withFolderPerFile does; on Android, patch-package applies mobile/patches/ to its Kotlin parser on every npm ci, and package.json has autolinking build expo-sharing from that source (expo.autolinking.android.buildFromSource) -- Expo ships its modules for Android precompiled, and the first APK with the patch never saw it. Both fail loudly when an update moves the code they change: the first throws during prebuild, the second fails the install, and src/patches.test.ts fails when the patch did not run.

Why patches. expo-sharing's JavaScript side passes on only the share's text and files: Safari's title (the item's attributed content text) and Chrome's (the intent's subject) never reach it. The patches add the title as one more text item, so the JavaScript side and "reading only the raw share" stay as they are. Gunnar chose to patch Android too rather than leave its description empty.

Rejected: fetching the page for its title, which would request the shared link -- the very thing the app does not do. Rejected for Android: a module of the app's own reading the launch intent beside expo-sharing, which would mean a second reader of the same intent for one field.

Store releases wait for Gunnar's approval#

Accepted · 2026-10-31 · #363

Decision. The app-stores environment has Gunnar as its required reviewer, as prod has. A release's two store jobs reach it together, and one approval in the run lets both through. qa and qa-live-test admit main and v* tags only, as prod does, without a reviewer.

Why. The review apps, CodeRabbit and Greptile, may write the repository's contents and workflows, so a breach of either could push a v* tag that points at a workflow of its own. The tag-only rule admits it, and the store credentials, the Admin key among them, would be in its hands. A reviewer is the one thing such a tag cannot get past. The apps are trusted; this is the fallback for their breach. qa is open to testers only, so a forged tag deploying there is the risk accepted; the branch policy keeps a workflow on any other branch from deploying there at all, since the deploy and live-test roles trust a job by its environment's name.

Cost. One click per release before it reaches TestFlight and Play. A release nobody approves uploads nothing, and GitHub fails the waiting jobs after 30 days.

Rejected: a tag ruleset that lets only Gunnar create v* tags. cut-release.yml (#297) creates the tag with the workflow's own token, so GitHub Actions would have to bypass the ruleset, and then any workflow pushed on a branch could create the tag in its place. Tagging through a token of Gunnar's, kept in an environment only main reaches, would hold, at the price of a token to create and renew; tagging by hand would retire cut-release.yml. Neither is worth it for a fallback.

The app's time zones come from the platform and a list generated from Node's#

Accepted · 2026-11-02 · #477

Decision. The phone's own zone, which a time tied to a zone starts from, comes from expo-localization's getCalendars(), which asks the platform. The zones the picker offers are mobile/src/zones.ts, generated by mobile/scripts/generate-zones.mjs from Node's Intl.supportedValuesOf, without the Etc/ offsets the backend refuses, with UTC, and with the zones ICU still names as before IANA renamed them under their names now, Asia/Kolkata for Asia/Calcutta, which is what people search for; the list is committed. A zone is checked by its shape, never against that list: a fixed offset starts the switch at UTC, anything named Area/City is taken, as the website does with offerable from frontend/src/dueTime.ts. The time comes from the platform's own picker, @react-native-community/datetimepicker, as the date does.

Why. Hermes' support for time zones in Intl is uncertain (#290's investigation), and the zone must come from something that works on both platforms; expo-localization is already a dependency and reads the platform's setting. A generated list is the same tzdata the website's browsers carry, without a dependency, and Node and the phones name some zones differently (Asia/Calcutta, Asia/Kolkata), so a list check would have put an Indian phone at UTC.

Cost. The list ages with the Node it was generated on until someone runs the script again; a zone newer than it is still taken when it is the phone's own. The search lists zones by IANA name.

Rejected: a list fetched from the backend, which would need an endpoint and a connection to pick a zone; a time-zone library, a dependency for a list.

Android's reminders follow a change of time zone through a receiver of the app's own#

Accepted · 2026-11-04 · #479

Revised in part on 2026-11-23 (#665): exact alarms are open to any app whose user allows them (below).

Decision. A Kotlin BroadcastReceiver for ACTION_TIMEZONE_CHANGED, on Android's list of implicit broadcasts an app may still receive from its manifest, moves every floating reminder to its wall-clock time in the new zone. A floating reminder carries that time as wallClock in its data; a zoned one carries none and stays. The receiver reads expo-notifications' own store and schedules each again under its identifier through expo's ExpoSchedulingDelegate, so expo's store, its reboot handling and the app's next replacement go on as before. A config plugin declares it in the manifest and copies the class into the generated project (mobile/plugins/withTimeZoneReceiver.ts); the class itself is mobile/plugins/android/TimeZoneChangedReceiver.kt.

Why. Every Android alarm is a fixed moment, so after a flight "pills at 08:00" fired at the old zone's 08:00 until the app was next opened. The receiver runs without the JavaScript runtime, which the app may not have: it may not be running at all. Gunnar decided it is worth its size (2026-11-04).

Rejected: - A headless JavaScript task started by the receiver, to work the reminders out again from the kept board: it would start React Native in the background for an hour's arithmetic, and the kept board may be older than the reminders. - Expo's repeating triggers (daily, yearly), which do work out their next moment on the local clock: a reminder for one day would fire again a year later if the app were not opened in between. - Exact alarms: a permission Android grants only to clocks and calendars.

Cost. The receiver uses expo-notifications' Kotlin classes (ExpoSchedulingDelegate, DateTrigger, NotificationRequest), which are not a public API and may change with an Expo SDK. The emulator's check in run-on-emulator.sh, which changes the zone and expects the alarms at the new 08:00 and 09:00, is what notices: it fails the first Mobile CI run after such a change.

iOS's floating reminders are calendar triggers without a time zone#

Accepted · 2026-11-04 · #517

Revised in part on 2026-11-27 (#517): seen on Gunnar's iPhone, the trigger follows. With the app closed and the zone changed from Berlin to London, a floating reminder for 17:00 came at 17:00 London time (reminders.md).

Decision. On iOS a floating reminder -- the 08:00 summary, a task with a time and no zone -- is scheduled as expo-notifications' calendar trigger, iOS's UNCalendarNotificationTrigger, with its day and time and no time zone, and repeats off. Without a zone its date components are matched on the phone's current clock, so it follows a change of time zone by itself. A zoned reminder stays a fixed moment, and so does a floating one whose time the phone's clock skips, which a calendar trigger might never match. calendarOf in mobile/src/notifications.ts decides; the adapter in mobile/src/Main.tsx builds the trigger.

Why. After a flight, "pills at 08:00" fired at the old zone's 08:00 until the app was next opened. iOS has no broadcast for a change of time zone that wakes an app, as Android's receiver does (#479), but needs none if the trigger itself floats. Whether it does is what an iPhone has to show: the simulator takes the Mac's time zone. Gunnar tests it on his iPhone from a release (2026-11-04).

Rejected: - Fixed moments, re-derived at the next load, as before: the gap #517 was opened for. - A calendar trigger with the phone's zone: it would be a fixed moment again.

Cost. None beyond the trigger's kind. Should the iPhone show that it does not follow, the reminder still comes at its old moment, as before, and the next load moves it.

A local Expo module drops Hermes' cached time zone#

Accepted · 2026-11-07 · #526

Decision. A local Expo module, mobile/modules/time-zone-cache/, has one synchronous function, reset(), which calls Hermes' resetTimezoneCache() on the app's runtime -- through jsi::castInterface<IHermes>, a no-op on another engine -- and on iOS first NSTimeZone.resetSystemTimeZone(). Synchronous, so it runs on the JavaScript thread, the only one Hermes may be called on. The app calls it each time it comes back to the foreground (mobile/src/TaskFestApp.tsx), before it starts over. Swift reaches the runtime through expo-modules' appContext.runtime, Kotlin through React Native's javaScriptContextHolder, each handing it to a few lines of C++.

Why. Hermes keeps the zone it read first for every Date until the app restarts, and React Native does not reset it (react-native#55467 (opens in a new tab) would, on Android only, and is open). After a change of zone the board's "here" times and the reminders scheduled at the next load stayed in the old zone until a restart, as Gunnar saw on his iPhone (2026-11-06). Hermes has no way to do it from JavaScript. Gunnar chose this over the alternative below (2026-11-07).

Rejected: - Working out local times from the phone's zone with Intl, read anew each time, instead of from Date's local time: plain TypeScript, but every place that uses local time would change, and expo-localization's own zone is cached by Foundation on iOS too. - Listening for the platform's change of zone (NSSystemTimeZoneDidChangeNotification, ACTION_TIMEZONE_CHANGED) in the module: the reset must run on the JavaScript thread, and the app starts over on return to the foreground anyway, which is where the zone matters.

Cost. The first local module and the first C++ in the app: a CocoaPods spec, a CMake build and a JNI function to keep building with each React Native. resetTimezoneCache is part of Hermes' IHermes interface, not of React Native's public API, and may move. A change of zone while the app stays in the foreground is followed only at its next return there.

Android's reminders are on time for whoever allows exact alarms#

Accepted · 2026-11-23 · #665

Decision. The app declares SCHEDULE_EXACT_ALARM. Android 12 and 13 grant it on install; from Android 14 on the user grants it in the system settings, and on any of them may take it back. expo-notifications then schedules the reminders exactly, and inexactly without it, as it does on its own; the app schedules them anew at the first load of the board after each return to the foreground, so a grant takes effect then. The app itself offers it only once Expo SDK 58 is in (#673), which has the calls for it. Claude's decision, as Gunnar left #665's to Claude on 2026-11-23.

Why. An inexact alarm may come an hour late, and later in Doze, which makes the reminder of a task with a time, a call at 18:00, useless. On the emulator inexact ones came up to 60 minutes late, exact ones within 15 seconds, in Doze too (reminders.md). Declaring the permission is one line, and whoever wants reminders on time can have them now. On SDK 57, telling whether it is allowed would need a native call of the app's own; SDK 58 has one.

Rejected: - USE_EXACT_ALARM, granted on install: Play takes it only from alarm clocks, timers and calendars (Play's policy (opens in a new tab)), and would refuse the app. - setWindow with ten minutes, which needs no permission: it would be a patch to expo-notifications, and unlike what that uses now, it waits for the end of Doze. - Asking for the permission now, with a native call in the app's local module and expo-intent-launcher to open the setting: more to maintain, for what SDK 58 brings. - A receiver for Android's broadcast on a grant, rescheduling at once: more Kotlin, where a return to the foreground, which follows a visit to the settings, does it too.

Cost. Taking the permission back drops every reminder until the app next loads the board, also on Android 12 and 13, where nobody chose it; before, they came late but came. Whoever does not have it has reminders as late as before. On Android, the first load after each return to the foreground schedules every reminder again.

Android's release builds stay without R8#

Accepted · 2026-11-23 · #673

Decision. expo-build-properties sets android.enableMinifyInReleaseBuilds to false, as it was up to Expo SDK 57. SDK 58's template turns R8 on for release builds, which shrinks and obfuscates the code. mobile/src/appConfig.test.ts checks it. Claude's decision, as part of the SDK 58 update.

Why. The update should change nothing the app does. A native module that reaches its classes by reflection, Google's sign-in or Nitro, may fail only in a release build with R8, and only on a path Maestro does not cover: a crash the stores' users would find first.

Rejected: - R8 on with the update: two changes in one, and a failure of the second would look like one of the first.

Cost. The APK stays as large as before, and its code readable to whoever unpacks it, which it was already. Turning R8 on is a change of its own, with keep rules where a module needs them.

Exact alarms are offered once, after the reminders are on#

Accepted · 2026-11-23 · #665

Decision. On Android 14 and later, once the reminders are allowed and exact alarms are not, a note above the board says the reminders may come late, with Open settings, which opens the system's setting for exact alarms, and Not now. Either answer is remembered on the phone, and the note is not shown again, as with the reminders' own offer. It comes right after Turn on, and at a load of the board for a phone whose reminders were on already. Gunnar's decision, on 2026-11-23.

Why. Without it, exact alarms are for whoever finds Alarms & reminders in the settings. One note, made the way the reminders' offer is made, adds one more file on the phone and nothing new to learn.

Rejected: - The note whenever exact alarms are off, until Not now: also covers a permission taken back later, for more state and more to test. - A line in the reminders' offer: the smallest change, but easy to overlook, and it would come before the phone is asked for the reminders themselves. - Leaving it to the settings until the check on a real phone: the emulator's figures already show how late reminders come.

Cost. Whoever answers Not now, or takes the permission back later, finds the setting on their own again. A failed attempt to open the setting answers the offer too.