# markcabalona/device-activation architecture

> Architecture diagram of the GitHub repository markcabalona/device-activation, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/markcabalona/device-activation
- Repository: https://github.com/markcabalona/device-activation

## Overview

This is an uncustomized Flutter starter, not a documented device-activation workflow: the README describes only a starting application. The Dart entry point is present in the tree but its implementation was not provided, so its behavior and connections cannot be established. The visible native files show platform wrappers around Flutter; no domain stages or product-specific integrations are supported by the evidence.

Main entry points: [`ios/Runner/AppDelegate.swift`](https://github.com/markcabalona/device-activation/blob/main/ios/Runner/AppDelegate.swift) (iOS host), [`android/app/src/main/kotlin/markcabalona/dev/device_activation/MainActivity.kt`](https://github.com/markcabalona/device-activation/blob/main/android/app/src/main/kotlin/markcabalona/dev/device_activation/MainActivity.kt) (Android host)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_dart_app["Flutter app<br/>[main.dart]"]
node_android_host["Android host<br/>[MainActivity.kt]"]
node_ios_host["iOS host<br/>[AppDelegate.swift]"]
node_flutter_framework["Flutter framework"]

node_android_host -->|"extends activity"| node_flutter_framework
node_ios_host -->|"delegates lifecycle"| node_flutter_framework
node_ios_host -->|"registers plugins"| node_flutter_framework

click node_dart_app "https://github.com/markcabalona/device-activation/blob/main/lib/main.dart"
click node_android_host "https://github.com/markcabalona/device-activation/blob/main/android/app/src/main/kotlin/markcabalona/dev/device_activation/MainActivity.kt"
click node_ios_host "https://github.com/markcabalona/device-activation/blob/main/ios/Runner/AppDelegate.swift"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dart_app,node_android_host,node_ios_host toneTeal
class node_flutter_framework toneIndigo
```

## Components

### Other components

- [Flutter app](https://github.com/markcabalona/device-activation/blob/main/lib/main.dart): `lib/main.dart`
- [Android host](https://github.com/markcabalona/device-activation/blob/main/android/app/src/main/kotlin/markcabalona/dev/device_activation/MainActivity.kt): `android/app/src/main/kotlin/markcabalona/dev/device_activation/MainActivity.kt`
- [iOS host](https://github.com/markcabalona/device-activation/blob/main/ios/Runner/AppDelegate.swift): `ios/Runner/AppDelegate.swift`
- **Flutter framework**

## Connections

- Android host → Flutter framework: extends activity (evidence: `android/app/src/main/kotlin/markcabalona/dev/device_activation/MainActivity.kt`)
- iOS host → Flutter framework: delegates lifecycle (evidence: `ios/Runner/AppDelegate.swift`)
- iOS host → Flutter framework: registers plugins (evidence: `ios/Runner/AppDelegate.swift`)
