arcode_log 1.0.0 copy "arcode_log: ^1.0.0" to clipboard
arcode_log: ^1.0.0 copied to clipboard

Arcode Digital Log Plugin.

ArcodeLog Flutter #

This plugin allows you to easily log events in your application. It starts logging when the app is launched and logs page navigations. No special configuration is required for both Android and iOS.

Features #

  • Automatically log screen transitions during page navigation.

Setup #

  1. Add the plugin to your pubspec.yaml file:
dependencies:
  arcode_log: ^1.0.0
  1. Update your main.dart file to start using the plugin in your project.

Usage #

Start the logging process when the application is launched. To do this, add the following code to your main.dart file:

import 'package:arcode_log/arcode_log.dart';

void main() async {
  // Start the LogManager
  await ArcodeLogManager.instance.init();

  runApp(MyApp());
}

This process ensures that logging is started when the application is launched.

To log screen transitions during page navigation, use the following code:

onRoute(RouteSettings args) {
  // Add screen log function
  ArcodeLogManager arcodeLog = ArcodeLogManager.instance;    
  arcodeLog.screen(args.name, arguments: (args.arguments as Map<String, dynamic>?) ?? {});
}

Support #

If you have any issues or need help, feel free to reach out to us on GitHub.

License #

This project is licensed under the MIT License.

0
likes
100
points
12
downloads

Publisher

unverified uploader

Weekly Downloads

Arcode Digital Log Plugin.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

device_info_plus, flutter, http, intl, package_info_plus, shared_preferences

More

Packages that depend on arcode_log

Packages that implement arcode_log