Skip to main content

appelium_feedback 1.0.1 copy "appelium_feedback: ^1.0.1" to clipboard
appelium_feedback: ^1.0.1 copied to clipboard

Bug reports, crash and error reports, and network and session monitoring for Flutter apps on iOS and Android, by Appelium.

example/lib/main.dart

import 'dart:io';

import 'package:appelium_feedback/appelium_feedback.dart';
import 'package:material_ui/material_ui.dart';

import 'example_app.dart';
import 'start_appelium.dart';

/// API keys of the Appelium apps that receive the reports, passed with
/// `--dart-define=APPELIUM_IOS_API_KEY=<key>` and
/// `--dart-define=APPELIUM_ANDROID_API_KEY=<key>`.
const apiKeys = AppeliumApiKeys(
  ios: String.fromEnvironment('APPELIUM_IOS_API_KEY'),
  android: String.fromEnvironment('APPELIUM_ANDROID_API_KEY'),
);

/// Whether the API key of the platform the app runs on was passed. Without
/// it, the app does not start the SDK.
bool get hasApiKey =>
    (Platform.isIOS ? apiKeys.ios : apiKeys.android).isNotEmpty;

void main() {
  if (hasApiKey) {
    startAppelium(apiKeys);
  }

  runApp(ExampleApp(isAppeliumStarted: hasApiKey));
}
0
likes
160
points
221
downloads

Documentation

Documentation
API reference

Publisher

verified publisherappelium.com

Weekly Downloads

Bug reports, crash and error reports, and network and session monitoring for Flutter apps on iOS and Android, by Appelium.

Homepage

Topics

#crash-reporting #bug-reporting #monitoring #logging #performance

License

MIT (license)

Dependencies

flutter, logging, meta

More

Packages that depend on appelium_feedback

Packages that implement appelium_feedback