Overview
Version Tracker is a Flutter plugin that helps developers monitor local app version and build numbers across installations. It enables tracking of previous versions, facilitating seamless data migration during app upgrades. By storing version history locally, it supports intelligent handling of state transitions between releases, ensuring users retain data when upgrading. Ideal for apps requiring upgrade-aware logic or configuration changes based on version changes.
Use cases
- Handling data migration between app versions
- Detecting first-time app launches
- Managing configuration changes per version
- Supporting feature flags based on version
- Tracking user journey across app updates
- Enabling rollback-safe state management
Key features
- Tracks previous app versions and builds
- Stores version history persistently
- Provides callbacks for version changes
- Supports cross-platform usage
- Simple API for version checks
- Facilitates upgrade-aware app behavior
Suitable for
- Apps needing upgrade logic
- Developers managing data migration
- Projects with version-dependent features
- Apps requiring launch detection
- Teams using feature flagging
- Cross-platform apps with version awareness
Considerations
- Requires persistent storage access
- Does not handle remote version checks
- Limited to local version tracking
- No built-in update prompts
- Not suitable for cloud-based version sync
- Manual implementation needed for complex migration rules