v18.0.0
shake_flutter
Shake 是一个用于自动接收更佳错误报告的工具。报告会立即送达您,附带大量有用数据,让您能够快 50 倍地修复问题。
39喜欢 2.6万近 30 天下载150Pub 分数
AndroidiOS
适用于 Flutter 应用的错误报告 SDK。
以下为英文项目原文快照,最新内容请访问 GitHub。
Flutter plugin for bug reporting.
| Feature | Available |
|---|---|
| Bug reporting | ✅ |
| Crash reporting | ❌ |
| Users | ✅ |
| Platform | Version |
|---|---|
| Flutter | 1.12 |
| Android | 7.0 |
| iOS | 12.0 |
Add Shake to your pubspec.yaml file.
dependencies:
shake_flutter: ^17.2.3
Install package by running command in terminal.
flutter packages get
Call Shake.start() method in the main.dart file.
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:shake_flutter/shake_flutter.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
String apiKey = Platform.isIOS ? 'ios-app-api-key' : 'android-app-api-key';
Shake.start(apiKey);
runApp(MyApp());
}
Replace ios-app-api-key and android-app-api-key with the actual values you have in your app settings.
依赖清单 3 项
{"sdk":"flutter"}^1.8.0{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗