Search categories, packages and repositories

GitHub repositorybugfender/BugfenderSDK-Flutter

BugfenderSDK-Flutter

Flutter SDK for Bugfender

BugfenderSDK-Flutter project cover
Stars
9
Forks
20
Last push (UTC)
Jul 24, 2026
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

flutter_bugfender

A Bugfender Wrapper plugin (implementing native code) for Flutter Projects.

Note: This plugin was provided by the community, hence it is published "AS IS", our support might not always be able to help you.

Using the package

Edit pubspec.yaml and add add flutter_bugfender to dependencies:

dependencies:
  flutter:
    sdk: flutter
  flutter_bugfender: ^5.0.0

Then run flutter pub get (or ‘Packages Get’ in IntelliJ) to download the package.

Edit lib/main.dart and add an import:

import 'package:flutter_bugfender/flutter_bugfender.dart';

And wrap your runApp statement like this:

void main() {
  FlutterBugfender.handleUncaughtErrors(() async {
    await FlutterBugfender.init("YOUR_APP_KEY",
        enableCrashReporting: true, // these are optional, but recommended
        enableUIEventLogging: true,
        enableAndroidLogcatLogging: true);
    FlutterBugfender.log("hello world!");

    // Optional: capture network requests (disabled by default)
    await FlutterBugfender.setNetworkLoggingEnabled(true);
    await FlutterBugfender.setNetworkLoggingRequestObfuscationHandler(
      (url, headers, body) {
        final safeHeaders = Map<String, String>.from(headers);
        if (safeHeaders.containsKey('Authorization')) {
          safeHeaders['Authorization'] = '***';
        }
        return NetworkRequestData(url: url, headers: safeHeaders, body: body);
      },
    );

    runApp(new MyApp());
  });
}

Network logging notes:

  • Web: intercepts fetch and XMLHttpRequest.
  • iOS: captures URLSession traffic.
  • Android: enable via the API above; OkHttp/Ktor apps also need the Bugfender interceptor/plugin (android-okhttp / android-ktor). See the Android docs.
  • Use setNetworkLoggingRequestObfuscationHandler / setNetworkLoggingResponseObfuscationHandler to redact sensitive headers or bodies before they are logged.

Documentation

For information on how to use our SDK, you can check the documentation to configure your project.

Bugfender GitHub avatar
GitHub author

Bugfender ↗

A modern remote logger tailor-made for mobile development

LanguagesDartJavaC++Objective-CCMakeRubySwiftHTMLC

Packages published by this repository

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • flutter_web_plugins{"sdk":"flutter"}
  • meta^1.3.0

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗