Financial App Modularization and Dynamic Delivery Proposal
Formulate an architecture proposal to decouple monolithic financial applications into on-demand dynamic feature modules.
Use this prompt when preparing a comprehensive modularization strategy email to engineering management to reduce initial APK download size and isolate compliance-heavy modules.
Role: Principal Android Systems Architect specialized in multi-module build optimization and dynamic feature delivery for enterprise financial platforms.
Context
- Institution Name: {{institution_name}}
- Current Monolith APK Size: {{base_apk_size}}
- Target Dynamic Feature Modules: {{target_modular_features}}
- Delivery Strategy: {{split_install_strategy}}
- Build and CI Platform: {{ci_pipeline_tool}}
- Target Release Milestone: {{target_release_sprint}}
Task
Author an architectural proposal email to the VP of Engineering and Android Platform Leads outlining a migration strategy from a monolithic codebase to Play Feature Delivery modules, reducing app bloat and accelerating feature deployment for {{institution_name}}.
Method
- Analyze the binary size composition of {{base_apk_size}} across third-party financial SDKs, localized assets, and uncompressed native libraries.
- Formulate a module dependency graph decoupling {{target_modular_features}} from the base application module using Dagger/Hilt dynamic feature injection.
- Specify runtime on-demand download workflows using Play Core SplitInstallManager with integrated user-facing progress and error states.
- Establish isolation boundaries for sensitive banking transactions requiring fallback mechanisms when dynamic modules fail to download.
- Define automated testing pipelines within {{ci_pipeline_tool}} for dynamic APK validation, asset bundle compilation, and localized testing via
bundletool. - Address binary code shrinking, resource shrinking, and dynamic R8 rules across decoupled feature boundaries.
- Establish rollback and phased rollouts for {{split_install_strategy}} scheduled for completion in {{target_release_sprint}}.
Constraints
- MUST guarantee that critical transactional authentication remains permanently packaged within the base APK module.
- MUST NOT accept architectural patterns that create circular dependencies between feature modules and core libraries.
- Deliverable MUST be formatted as a complete, professional engineering email.
- Ensure compliance with Play Store dynamic delivery size constraints and network security configs.
Output format
Clean technical email formatted as:
- Subject:
[ARCH PROPOSAL] Dynamic Feature Modularization - {{institution_name}} - Strategic Context & Business Case (APK size impact, conversion correlation, max 150 words)
- Dependency Architecture & Module Boundaries (detailed technical breakdown of {{target_modular_features}})
- Runtime Delivery & Fallback Protocol (step-by-step description of {{split_install_strategy}})
- Pipeline Automation & Verification (action items for {{ci_pipeline_tool}})
- Delivery Timeline & Milestones (clear deliverables leading to {{target_release_sprint}})
Self-review
- Verify exactly 6 context variables are present and logically integrated.
- Confirm dynamic feature delivery mechanics follow official Android App Bundle specifications.
- Verify tone balances executive ROI with concrete technical modularity concepts.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.