appspector 0.0.2

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 49

AppSpector #

A plugin that integrate AppSpector to your 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!

AppSpector demonstration

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: '0.0.2

Initialize AppSpector SDK #

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

void runAppSpector() {
  var config = new Config();
  config.iosApiKey = "Your iOS API_KEY";
  config.androidApiKey = "Your Android API_KEY";
  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.

SQLite monitor #

Provides browser for sqlite databases found in your app. Allows to track all queries, shows DB scheme and data in DB. You can issue custom SQL query on any DB and see results in browser immediately.

SQLite monitor

Logs monitor #

Displays all logs generated by your app.

Logs

Location monitor #

Most of the apps are location-aware. Testing it requires changing locations yourself. In this case, location mocking is a real time saver. Just point to the location on the map and your app will change its geodata right away.

Location

Screenshot monitor #

Simply captures screenshot from the device.

Performance monitor #

Displays real-time graphs of the CPU / Memory/ Network / Disk / Battery usage.

Environment monitor #

Gathers all of the environment variables and arguments in one place, info.plist, cli arguments and much more.

Notification Center monitor (only for iOS) #

Tracks all posted notifications and subscriptions. You can examine notification user info, sender/reciever objects, etc. And naturally you can post notifications to your app from the frontend.

For mode details, you can visit Android SDK and iOS SDK pages.

Feedback #

Let us know what do you think or what would you like to be improved: info@appspector.com.

Join our slack to discuss setup process and features

0.0.2 - 22 Jan 2018 #

  • Fix issue with black screen in Screenshot Monitor

0.0.1 - 20 Jan 2018 #

  • Initial release with base initialization of AppSpector

example/README.md

appspector_plugin_example #

Demonstrates how to use the appspector_plugin plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  appspector: ^0.0.2

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:appspector/appspector.dart';
  
Version Uploaded Documentation Archive
0.0.2 Jan 23, 2019 Go to the documentation of appspector 0.0.2 Download appspector 0.0.2 archive
0.0.1 Jan 21, 2019 Go to the documentation of appspector 0.0.1 Download appspector 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
4
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
89
Overall:
Weighted score of the above. [more]
49
Learn more about scoring.

We analyzed this package on Apr 25, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.4.7

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/appspector.dart. (-1 points)

Analysis of lib/appspector.dart reported 2 hints:

line 76 col 10: The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions.

line 86 col 10: The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions.

Maintenance suggestions

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

The package description is too short. (-1 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8