FLUTTER ECOSYSTEM

usage_stats

Query Android Usage Statistics (Configurations, Events, Usage)

Latest version
2.0.1
30-day downloads
1.6K
Likes
49
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The usage_stats package enables Flutter applications to query Android usage statistics, including app usage times, configuration changes, and user interaction events. It provides access to system-level data about how users interact with their devices and installed apps, offering insights into usage patterns. Designed specifically for Android, it leverages the Android UsageStatsManager API. This package is useful for analytics, productivity tools, or digital wellbeing applications that require detailed tracking of app and device usage over time.

Use cases
  • Analytics for app usage patterns
  • Digital wellbeing monitoring
  • User behavior tracking
  • Device activity reporting
  • Time spent on apps
Key features
  • Access to Android UsageStatsManager
  • Real-time usage event collection
  • Supports configuration and usage data
  • Platform-specific (Android only)
  • Lightweight and straightforward integration
Suitable for
  • Productivity apps
  • Wellbeing trackers
  • Analytics tools
  • Android-focused apps
  • Developers building usage-based features
Considerations
  • Android-only platform support
  • Requires runtime permissions
  • Limited to Android OS
  • May require user consent for data access
  • Depends on system-level Android APIs
Supported platformsAndroid

Install package

flutter pub add usage_stats

Categories

Source repository

Related projects