v17.2.3
shake_flutter
Shake 是一個用於自動接收更佳錯誤報告的工具。報告會立即傳送到您,附帶大量有用資料,讓您能快 50 倍地修復問題。
39喜歡 2.5萬近 30 天下載150Pub 分數
AndroidiOS
適用於 Flutter 應用的錯誤報告 SDK。
{"sdk":"flutter"}^1.8.0{"sdk":"flutter"}以下為英文專案原文快照,最新內容請造訪 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.