Mobile Applications

The mobile folder contains two codebases that mirror the marketing content and verification messaging from the web app. Keep copy, navigation order, and CTAs aligned across all platforms.

Android (Jetpack Compose)

  • Location: mobile/TechInvestorAndroid

  • Entry Point: app/src/main/java/com/techinvestor/mobile/MainActivity.kt

  • Structure:

    • DashboardScreen() hosts the entire landing scroll experience inside a LazyColumn.

    • HeroSection() mirrors the web hero copy, stats, and CTAs (openEmail, openExternalLink).

    • SectionCard renders mission/verification/asset status cards.

    • VerificationStepsSection() (added for README parity) lists the eight diligence stages.

    • "Optional developer KYC" section highlights the Persona flow and the green flag badge once founders are verified.

    • Navigation shortcuts use NavTarget with indices that map to scroll positions.

  • Copy Rules:

    • Stats show "Coming soon" placeholders until live data is available.

    • CTAs must target the same mailto:[email protected] and https://x.com/TechInvest58511 links.

    • Update SectionCategory + nav target indices whenever sections are added or reordered.

Building & Testing

  1. Open the module in Android Studio (Giraffe or newer).

  2. Use ./gradlew assembleDebug to build.

  3. Run the preview composable (DashboardPreview) or deploy to an emulator/device.

  4. Ensure navigation chips scroll to the correct sections after any content change.

iOS (SwiftUI)

  • Location: mobile/TechInvestorMobile

  • Entry Point: TechInvestorMobile/ContentView.swift

  • Structure:

    • NavigationStack + ScrollViewReader manage anchored navigation.

    • heroSection, sectionView, verificationStepsSection, and ctaSection map directly to web equivalents.

    • NavTarget enum ensures labels match web anchor names.

    • verificationSteps array mirrors the README eight-step list.

    • Includes an "Optional developer KYC" card describing the Persona check and badge.

  • Copy Rules:

    • All text mirrors web/Android copy verbatim.

    • Buttons use Link with the same email/X destinations.

    • Stats remain "Coming soon" until backend data is ready.

Building & Testing

  1. Open the Xcode project (TechInvestorMobile.xcodeproj).

  2. Build the TechInvestorMobile target for iOS 17.

  3. Use previews or run on simulator.

  4. Verify the horizontal nav shortcuts scroll to the matching section IDs.

Parity Workflow

  1. Make changes in the web components first.

  2. Update Android & iOS copy within the same branch/commit.

  3. Run platform previews to confirm layout resilience.

  4. Update documentation (docs/mobile.md, docs/web.md, docs/verification-process.md) when workflows or wording shift.

Last updated

Was this helpful?