22 lines
692 B
Markdown
22 lines
692 B
Markdown
# Android app
|
|
|
|
## StrictMode (debug builds)
|
|
|
|
The app enables Android [StrictMode](https://developer.android.com/reference/android/os/StrictMode)
|
|
**only for debuggable builds** (gated on debug versions, so release builds are never affected).
|
|
|
|
Both the thread policy (disk/network on the main thread, etc.) and the VM policy (leaked
|
|
`Closeable`s, activity leaks, etc.) are enabled and logged to Logcat.
|
|
|
|
To see violations, filter Logcat for the `StrictMode` tag while running a debug build:
|
|
|
|
```bash
|
|
./gradlew :androidApp:installDebug
|
|
adb logcat -s StrictMode
|
|
```
|
|
|
|
## Signing
|
|
|
|
Release builds of the Android app are signed with a keystore whose credentials
|
|
are kept **out of version control**.
|