a15eb71d27
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
70 lines
1.8 KiB
Markdown
70 lines
1.8 KiB
Markdown
---
|
|
name: hello_android
|
|
domain: tools
|
|
description: "Primera app Android Kotlin Compose de prueba del registry"
|
|
tags: [kotlin, compose, android]
|
|
lang: kt
|
|
framework: compose
|
|
entry_point: "app/src/main/kotlin/com/fnregistry/hello_android/MainActivity.kt"
|
|
dir_path: "apps/hello_android"
|
|
repo_url: "https://gitea.organic-machine.com/dataforge/hello_android"
|
|
uses_functions:
|
|
- fn_theme_kt_ui
|
|
- fn_tokens_kt_ui
|
|
uses_types: []
|
|
e2e_checks:
|
|
- id: unit
|
|
cmd: "fn run gradle_unit_test_bash_infra apps/hello_android"
|
|
timeout_s: 240
|
|
- id: screenshot
|
|
cmd: "fn run gradle_screenshot_test_bash_infra apps/hello_android"
|
|
timeout_s: 240
|
|
- id: build
|
|
cmd: "fn run gradle_assemble_debug_bash_infra apps/hello_android"
|
|
timeout_s: 360
|
|
- id: emu_start
|
|
cmd: "fn run android_emulator_start_bash_infra Pixel_API34"
|
|
timeout_s: 240
|
|
- id: instrumented
|
|
cmd: "fn run gradle_instrumented_test_bash_infra apps/hello_android"
|
|
timeout_s: 600
|
|
- id: emu_stop
|
|
cmd: "fn run android_emulator_stop_bash_infra"
|
|
severity: warning
|
|
timeout_s: 30
|
|
---
|
|
|
|
# hello_android
|
|
|
|
Primera app Android Kotlin Compose de prueba del registry
|
|
|
|
## Build
|
|
|
|
```bash
|
|
fn run gradle_assemble_debug_bash_infra apps/hello_android
|
|
```
|
|
|
|
## Tests unitarios + Roborazzi screenshots
|
|
|
|
```bash
|
|
fn run gradle_unit_test_bash_infra apps/hello_android
|
|
fn run gradle_screenshot_test_bash_infra apps/hello_android
|
|
```
|
|
|
|
## Tests instrumentados (requiere emulador)
|
|
|
|
```bash
|
|
fn run android_emulator_start_bash_infra Pixel_API34
|
|
fn run gradle_instrumented_test_bash_infra apps/hello_android
|
|
fn run android_emulator_stop_bash_infra
|
|
```
|
|
|
|
## Package
|
|
|
|
`com.fnregistry.hello_android`
|
|
|
|
## FnTheme
|
|
|
|
La app usa FnTheme y FnTokens via composite build en `kotlin/functions/ui`.
|
|
Para cambiar colores o tipografia, editar el modulo del registry.
|