Summary: What the Flutter app consists of: size, native code, flavors. The dependency mapping lives in rn-migration-dependency-mapping. Sources: code inspection of a local checkout of sevenmind/7mind-mobile-apps-monorepo at app version 4.0.5 (commit 0cb8e6135 of 2026-10-13: pubspec.yaml, ios/Runner/AppDelegate.swift, android MainActivity.kt per flavor, AndroidManifest.xml, lib/) and Gymondo-git/pulse-app (apps/native/package.json, AGENTS.md), 2026-11-06; native code and code size re-checked against origin/main at app 4.0.9 on 2026-11-09 Last updated: 2026-11-12
Size (app 4.0.5, commit 0cb8e6135 of 2026-10-13)
| What | Amount |
|---|---|
Hand-written Dart in lib/ (without .g.dart) | about 70k lines in about 700 files, of which the Bliss UI library is about 10k |
| Largest areas | core 18k, content_discovery 6.5k, profile 5.3k, player 3.7k, monetization 3.1k, search 3.0k, prevention 2.7k, ai_companion 2.5k, authentication 2.3k |
| Tests | 184 test files, about 55k lines (unit, bloc, Patrol e2e); none reusable |
| Cubits and blocs | 44 |
| Routes (flutter_modular) | about 59 |
| Retrofit clients / endpoints | 16 / 38 |
| Local database | one Drift key-value table (drift_database), per-user prefixed boxes, see 7mind-mobile-apps-monorepo |
| Locales | en, de, fr, it, es (JSON, reusable as source strings) |
| Flavors | staging, production, zpp (ZPP submission build) |
origin/main at app 4.0.9 (2026-11-06) is about 6k lines larger: about 74k non-blank lines in about 740 files (content_discovery 9.0k, monetization 3.9k, favourites 2.9k), 16 Retrofit clients with 42 endpoints, and 216 test files. The growth comes from content collections (MIND-869), course favourites, the catalog-driven paywall (MIND-877), the intro offer test (MIND-910) and account deletion states (MIND-913); see 7mind-mobile-apps-monorepo. Amplitude Experiment is gone; Braze feature flags replaced it (MIND-880, 4.0.6).
Flutter-specific rendering is light: 5 CustomPainters, 4 Hero transitions (SOS panel), 10 AnimationControllers, one Lottie, many slivers. Nothing that needs a custom renderer in React Native.
Native code
Small. No app extensions, widgets, background isolates or platform views.
- iOS
AppDelegate.swift(about 290 lines at 4.0.9): Braze setup with a custom in-app message presenter and forwarding of content cards and feature flags to Dart, push registration and notification delegate, Adjust deeplink processing for universal links,app_linksforwarding, and one method channelseven_mind/storewith two methods:getCountryCode(fromStorefront.current) and, since MIND-910 (4.0.7),getIntroductoryOffers(the App Store introductory offer of each test product, whichin_app_purchase_storekitdoes not expose). - Android
MainActivity.kt(about 250 lines at 4.0.9, copied per flavor): the sameseven_mind/storechannel via Play BillinggetBillingConfigAsync, Adjust deeplinks, and the MIND-817 workaround for the Flutter engine shared with audio_service. The workaround has no equivalent in React Native and disappears. - Manifest: audio foreground service and media button receiver (audio_service), Braze FCM service, deep link scheme per flavor,
sevenmind.go.linkapp links. - iOS background modes: audio, remote-notification.
Dependency mapping
Moved to rn-migration-dependency-mapping (2026-11-06), which also says per dependency whether 7Mind keeps the vendor or switches to the pulse-app choice.
Flutter app flavors vs the new app’s environments
The new app uses pulse-app’s environment axis (local, test, prod). 7Mind’s staging and production map to test and prod. The zpp flavor is not carried over, see rn-migration-not-migrated.