MCPcopy Create free account
hub / github.com/MobAI-App/ios-builder / FrameworkHandler

Interface FrameworkHandler

internal/dev/session.go:21–30  ·  view source on GitHub ↗

FrameworkHandler handles framework-specific dev workflow.

Source from the content-addressed store, hash-verified

19
20// FrameworkHandler handles framework-specific dev workflow.
21type 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.
33type Session struct {

Callers 4

StartMethod · 0.65
launchAppMethod · 0.65
StartMethod · 0.65
StopMethod · 0.65

Implementers 2

FlutterHandlerinternal/dev/flutter.go
ReactNativeHandlerinternal/dev/reactnative.go

Calls

no outgoing calls

Tested by

no test coverage detected