Zipy SDK for Dart

zipy_flutter

zipy_flutter is a powerful Flutter plugin that provides a comprehensive set of features to monitor and improve your app's performance. It captures device information, network calls, exceptions, gestures, and more, making it easier to debug and profile your application.

Features

  • Device/Contextual Information: Retrieve detailed information about the device.
  • Exception Capturing: Automatically capture and log exceptions.
  • Gesture Capturing: Monitor and log single taps, double taps, and long taps.
  • Network Monitoring: Capture HTTP and Dio network calls for better insights.
  • Screenshot Capturing: Take screenshots with optional masking for sensitive data.
  • Screen Transitions: Track and log screen transitions.
  • App State Monitoring: Capture and log app lifecycle states.
  • Custom Logging: Implement custom logs to track specific events.
  • Session URL: Generate session URLs for easy tracking.
  • Profiling: Monitor app and device memory usage for performance profiling.

Installation

Add the following dependency to your pubspec.yaml file:

dependencies:
  zipy_flutter: ^0.1.3

Usage

Initialize the zipy_flutter plugin in your main.dart file:

import 'package:flutter/material.dart';
import 'package:zipy_flutter/zipy_flutter.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  Zipy.init(key: 'YOUR_API_KEY'); // Use your apikey here
  runApp(const ZipyWrapper(child: MyApp())); // Wrapping with ZipyWrapper will start capturing gestures and screen capturing.
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        navigatorObservers: [ZipyNavigationObserver()], // This observer will start capturing Screen transitions.
        home: const HomeScreen(),
      );
  }
}