Search packages, repositories and app categories

Package detailsv0.7.1

firebase_performance_dio

Dio Firebase performance monitoring.

AndroidiOSWeb
30-day downloads
30.9K
Likes
20
Pub points
130

Install package

flutter pub add firebase_performance_dio

Package Overview

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

A Flutter package that integrates Dio with Firebase Performance Monitoring to track HTTP request performance across Android, iOS, and Web. It automatically monitors network requests made through Dio, capturing metrics like response time, status codes, and success/failure rates. This helps developers identify and optimize slow or failing API calls in real-world usage. The package is lightweight and designed for seamless setup with minimal configuration. It leverages Firebase's backend analytics to provide actionable insights into app performance.

Use cases

  • Monitoring API call performance
  • Identifying slow network requests
  • Tracking request success rates
  • Optimizing app responsiveness
  • Integrating with Firebase Analytics

Key features

  • Automatic request tracking
  • Real-time performance metrics
  • Firebase integration
  • Cross-platform support (Android, iOS, Web)
  • Minimal setup required

Suitable for

  • Developers using Dio for HTTP requests
  • Teams focused on app performance optimization
  • Projects using Firebase for analytics
  • Mobile and web applications with network-dependent features

Considerations

  • Requires Firebase setup in the project
  • May increase app size slightly
  • Limited to Dio-based requests
  • Performance data depends on Firebase backend availability
  • Not suitable for non-Firebase projects

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

dio_fire_png

pub version

Description

Dio's Interceptor implementation that sends http request metric data to Firebase.

Usage

final dio = Dio();
final performanceInterceptor = DioFirebasePerformanceInterceptor();
dio.interceptors.add(performanceInterceptor);

SUGGESTION: If you use dio client as a singleton you can use this interceptor as singleton as well.

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package