appspector_plugin

A plugin that integrate AppSpector to Flutter project.

With AppSpector you can remotely debug your app running in the same room or on another continent. You can measure app performance, view database content, logs, network requests and many more in realtime. This is the instrument that you've been looking for. Don't limit yourself only to simple logs. Debugging doesn't have to be painful!

Installation

Each app you want to use with AppSpector SDK you have to register on the web (https://app.appspector.com) and add two native applications(for iOS and Android). Application API keys will be available on the app settings page.

Add AppSpector SDK to pubspec.yaml

dependencies:
  appspector_plugin: '0.0.1'

Initialize AppSpector SDK

void main() {
  runAppSpector();
  runApp(MyApp());
}

Future<void> runAppSpector() async {
  var config = new Config();
  config.iosApiKey = "Your iOS API_KEY";
  config.androidApiKey = "Your Android API_KEY";
  await AppSpectorPlugin.run(config);
}

Build and Run

Build your project and see everything work! When your app is up and running you can go to https://app.appspector.com and connect to your application session.

Features

AppSpector provides many monitors that are can be different for both platforms. For mode details, you can visit AppSpector SDK and iOS SDK pages.

Libraries

appspector_plugin

Dart

dart:ui
Built-in types and core primitives for a Flutter application. [...]

Core

dart:async
Support for asynchronous programming, with classes such as Future and Stream. [...]
dart:collection
Classes and utilities that supplement the collection support in dart:core. [...]
dart:convert
Encoders and decoders for converting between different data representations, including JSON and UTF-8. [...]
dart:core
Built-in types, collections, and other core functionality for every Dart program. [...]
dart:developer
Interact with developer tools such as the debugger and inspector. [...]
dart:math
Mathematical constants and functions, plus a random number generator. [...]
dart:typed_data
Lists that efficiently handle fixed sized data (for example, unsigned 8 byte integers) and SIMD numeric types. [...]

VM

dart:io
File, socket, HTTP, and other I/O support for non-web applications. [...]
dart:isolate
Concurrent programming using isolates: independent workers that are similar to threads but don't share memory, communicating only via messages. [...]