FrameworkHandler handles framework-specific dev workflow.
| 19 | |
| 20 | // FrameworkHandler handles framework-specific dev workflow. |
| 21 | type FrameworkHandler interface { |
| 22 | // Setup runs before app install (e.g., Flutter custom device, Metro start) |
| 23 | Setup(ctx context.Context) error |
| 24 | // DebugConfig returns environment variables and arguments for app launch |
| 25 | DebugConfig() *mobai.DebugConfig |
| 26 | // Attach runs after app launch to enable hot reload |
| 27 | Attach(ctx context.Context, deviceID string, debugOutput <-chan mobai.DebugOutput) error |
| 28 | // Stop cleans up resources |
| 29 | Stop() |
| 30 | } |
| 31 | |
| 32 | // Session manages a development session with MobAI. |
| 33 | type Session struct { |
no outgoing calls
no test coverage detected