bmrt_flugin

A new Flutter project.

Pluggin for flutter


Test Flutter Pluggin is now published as a pub.dev package. Refer to https://pub.dev/packages/test_bmrt_flugin to find out more.


Testbmrt Pluggin is a mobile SDK that adds crucial information to your bug and crash reports. Testbmrt reports include video of user actions, network traffic, console logs and many other important traces from your app. Now you know what exactly led to the unexpected behavior.

Installation

Install Testbmrt plugin into your dart project by adding it to dependecies in your pubspec.yaml

dependencies:
  Testbmrt_flutter:
    git:
      url: http://gitlab.appinvent.in/bmrt/flutter.git
      # ref: 1.2.3 # if forcing a specific version by tag or branch

Launching

import 'package:Testbmrt_flutter/test_bmrt.dart';

Future<Null> launchBmrtTest(Function(bool isTestbmrtLaunched) appRunner) async {
  var launchOptions;
  var token = "";

  if (Platform.isAndroid) {
    token = "<android app token>";
    launchOptions = new AndroidLaunchOptions();
  } else if (Platform.isIOS) {
    token = "<ios app token>";
    launchOptions = new IOSLaunchOptions();
  }

  await launchBmrtTest.launch(token,
      appRunCallback: appRunner, launchOptions: launchOptions);
}

Future<Null> main() async {
  await launchBmrtTest((bool isLaunched) async {
    runApp(new MyApp());
  });
}

class MyApp extends StatelessWidget {
  ....