Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 813 Bytes

Getting Started.md

File metadata and controls

48 lines (31 loc) · 813 Bytes

RUM Flutter - 0.0.1 Alpha

Getting Started

  • Installation
  • Initialise RUM

Onboarding

Installation

Add the following dependencies to your pubspec.yaml

rum_sdk:
  git:
    url: <git_url>
    path: packages/rum_sdk
    ref: main

Initialise RUM

Add the following snippet to initialize RUM Monitoring with the default configurations

  HttpOverrides.global = RumHttpOverrides(HttpOverrides.current); // enable http tracking

  RumFlutter().runApp(
    optionsConfiguration: RumConfig(
        appName: "<App_Name>",
        appVersion: "1.0.0",
        appEnv: "Test",
        apiKey: "<API_KEY>",
    ),
    appRunner: () => runApp(
     RumUserInteractionWidget(child: MyApp())
    ),
  );


See all configuration options for RUM Flutter