activity_flow 0.0.1 copy "activity_flow: ^0.0.1" to clipboard
activity_flow: ^0.0.1 copied to clipboard

VTEX Activity Flow Flutter SDK

VTEX Activity Flow Mobile RUM for Flutter apps focused in Android and iOS.

Features #

This plugin coupled to an app, aims to:

  • Track user navigation between app pages and send events.

Usage #

Import the package inside the main.dart file:

import 'package:activity_flow/activity_flow.dart';

Create an instance of the main package class, by setting the account name:


void main() {
  runApp(
    ...
    ActivityFLow af = const ActivityFLow(accountName: 'yourAccountName');
    ...
  )
}

Automatically tracks your route navigation using the AF route observer method:

MaterialApp(
  // Add the routeObserver to the navigatorObservers list.
  navigatorObservers: [ af.createPageViewObserver ],
  routes: {
    ... //define your named routes
  },
);
2
likes
0
points
397
downloads

Publisher

verified publishervtex.com

Weekly Downloads

VTEX Activity Flow Flutter SDK

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http, shared_preferences

More

Packages that depend on activity_flow