Files
rhema-claw/android/app
vhaudiquet 30b5e0f721 fix(android): read the location callback's answer as nullable
The fresh-fix request declared its callback parameter as non-null, but LocationManager answers with null when no provider has a fix. Kotlin's generated check threw on the main executor before the fallback could run, so the crash escaped PhoneStatusWorker's catch and killed the process when the app came to the foreground.

The callback takes Location? now. A null answer resumes the coroutine with null, which currentFix already treats as no fix and answers with lastKnownFix.

assembleDebug passes; a status run on the emulator completed without the process dying.
2026-12-02 11:39:55 +01:00
..