instabug 1.0.0-beta.7

  • Readme
  • Changelog
  • Example
  • Installing
  • 68

⚠️ This package is now deprecated, please use instabug_flutter instead

Version 1.0.0-beta.5 (2019-07-22) #

  • Adds Network logging feature for the dart:io package HttpClient.
  • Fixes a linker issue on iOS when using Swift and CocoaPods.
  • Bumps native iOS and Android dependencies to version 8.5.

Version 1.0.0-beta.4 (2019-06-25) #

  • Fixes crash on Android on launching the sample app.

Version 1.0.0-beta.3 (2019-05-28) #

  • Fixes Locale enum name collision with dart.ui library. Use IBGLocale instead.

  • Updates Native SDK's to version 8.4

Version 1.0.0-beta.2 (2019-05-22) #

⚠️ Check the README.md integration steps to add our new maven repository in android

  • Bump native SDK's to version 8.3
  • Fixes issue of manually invoking BugReporting

Version 1.0.0-beta.1 (2019-04-16) #

  • Adds New Sample App
  • Adds Replies Api mappings
  • Adds Chats Api mappings
  • Adds FeatureRequests Api mappings.

Version 0.0.4 (2019-04-14) #

  • Adds hasRespondedToSurvey API mapping.
  • Adds showSurvey API mapping.
  • Adds showSurveyIfAvailable API mapping.
  • Adds setShouldShowWelcomeScreen API mapping.
  • Adds setOnDismissCallback API mapping.
  • Adds setOnShowCallback API mapping.
  • Adds getAvailableSurveys API mapping.
  • Adds setAutoShowingEnabled API mapping.
  • Adds Surveys.setEnabled API mapping.
  • Adds showWithOptions API mapping.
  • Adds setInvocationOptions API mapping.
  • Adds setExtendedBugReportMode API mapping.
  • Adds setReportTypes API mapping.
  • Adds setEnabledAttachmentTypes API mapping.
  • Adds setInvocationEvents API mapping.
  • Adds setOnDismissCallback API mapping.
  • Adds setOnInvokeCallback API mapping.
  • Adds BugReporting.setEnabled API mapping.
  • Adds setWelcomeMessageMode API mapping.
  • Adds addFileAttachmentWithURL, addFileAttachmentWithData, clearFileAttachments API mapping.
  • Adds setUserData API mapping.
  • Adds setPrimaryColor API mapping.
  • Adds setSessionProfilerEnabled API mapping.

Version 0.0.3 (2019-03-21) #

  • Divides the library into separate modules: (Instabug, BugReporting, InstabugLog).

Version 0.0.2 (2019-03-20) #

  • Adds more API mappings.

Version 0.0.1 (2019-03-07) #

Adds the following APIs:

  • start(String token, List
  • showWelcomeMessageWithMode(WelcomeMessageMode welcomeMessageMode)

example/README.md

instabug_flutter_example #

Demonstrates how to use the instabug_flutter 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:
  instabug: ^1.0.0-beta.7

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:instabug/InstabugNavigatorObserver.dart';
import 'package:instabug/BugReporting.dart';
import 'package:instabug/Chats.dart';
import 'package:instabug/FeatureRequests.dart';
import 'package:instabug/Instabug.dart';
import 'package:instabug/InstabugLog.dart';
import 'package:instabug/NetworkLogger.dart';
import 'package:instabug/Replies.dart';
import 'package:instabug/Surveys.dart';
import 'package:instabug/instabug_custom_http_client.dart';
import 'package:instabug/models/network_data.dart';
import 'package:instabug/utils/http_client_logger.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
44
Health:
Code health derived from static analysis. [more]
90
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
95
Overall:
Weighted score of the above. [more]
68
Learn more about scoring.

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

  • Dart: 2.6.1
  • pana: 0.13.1+4
  • Flutter: 1.12.13+hotfix.2

Health suggestions

Fix lib/instabug_custom_http_client.dart. (-9.54 points)

Analysis of lib/instabug_custom_http_client.dart reported 20 hints, including:

line 62 col 3: Avoid return types on setters.

line 63 col 7: The class 'Future' wasn't exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions.

line 68 col 3: Avoid return types on setters.

line 69 col 7: The class 'Future' wasn't exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions.

line 75 col 3: Avoid return types on setters.

Fix lib/NetworkLogger.dart. (-0.50 points)

Analysis of lib/NetworkLogger.dart reported 1 hint:

line 2 col 8: Unused import: 'dart:io'.

Format lib/InstabugNavigatorObserver.dart.

Run flutter format to format lib/InstabugNavigatorObserver.dart.

Fix additional 3 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/Replies.dart (Run flutter format to format lib/Replies.dart.)
  • lib/models/network_data.dart (Run flutter format to format lib/models/network_data.dart.)
  • lib/utils/http_client_logger.dart (Run flutter format to format lib/utils/http_client_logger.dart.)

Maintenance suggestions

Package is pre-release. (-5 points)

Pre-release versions should be used with caution; their API can change in breaking ways.

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 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test
mockito any