v25.7.0
appdynamics_agent
Flutter 插件,用于将 AppDynamics 移动端真实用户监控集成到您的应用中。
20喜欢 6080近 30 天下载120Pub 分数
AndroidiOS
Flutter 插件,用于将 AppDynamics 移动端真实用户监控集成到您的应用中。
以下为英文项目原文快照,最新内容请访问 GitHub。
Extension of the AppDynamics SDK that allows you to instrument Flutter apps and receive analytics.
This plugin wraps the native SDKs and requires a valid AppDynamics mobile license.
The Flutter agent incorporates the following features:
You can install the Flutter plugin via flutter — more info on
the Installation tab.
$ flutter pub add appdynamics_agent
android/build.gradle:dependencies {
classpath "com.appdynamics:appdynamics-gradle-plugin:24.12.0"
// ... other dependencies
}
adeum plugin to the bottom of the android/app/build.gradle file:dependencies {
// ... project dependencies
}
// Bottom of file
apply plugin: 'adeum'
AndroidManifest.xml (usually in android/src/main/):<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.myawesomepackage">
<!-- add these two permissions -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- other permissions -->
<application>
<!-- other settings -->
</application>
</manifest>
NOTE: Replace
<EUM_APP_KEY>with your app key.
import 'package:appdynamics_agent/appdynamics_agent.dart';
import 'package:flutter/material.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
final config = AgentConfiguration(
appKey: "<EUM_APP_KEY>",
loggingLevel: LoggingLevel.verbose, // optional, for better debugging.
collectorURL: "<COLLECTOR_URL>", // optional, mostly on-premises.
screenshotURL: "<SCREENSHOT_URL>" // optional, mostly on-premises.
);
await Instrumentation.start(config);
runApp(const MyApp());
}
You can access pub.dev docs or check the official docs for extra customization of the agent.
依赖清单 6 项
{"sdk":"flutter"}^1.6.0^5.11.0{"sdk":"flutter"}^6.0.0^3.1.3先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗