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: ^15.1.0
Install package by running command in terminal.
flutter packages get
Add Shake import.
import 'package:shake_flutter/shake_flutter.dart';
Call Shake.start()
method in the main.dart
file.
void main() {
WidgetsFlutterBinding.ensureInitialized();
Shake.setInvokeShakeOnShakeDeviceEvent(true);
Shake.setShowFloatingReportButton(false);
Shake.setInvokeShakeOnScreenshot(false);
Shake.start('client-id', 'client-secret');
runApp(MyApp());
}
Replace client-id
and client-secret
with the actual values you have in your workspace settings.