shake_flutter 14.1.2 shake_flutter: ^14.1.2 copied to clipboard
Shake is a tool for receiving better bug reports automatically. Reports arrive to you instantly with a ton of useful data so you can fix them 50X faster.
import 'package:flutter/material.dart';
import 'package:shake_example/ui/main/home.dart';
import 'package:shake_flutter/shake_flutter.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
const clientId = 'HtTFUmUziF5Qjk1XLraAJXtVB1cL62yHWWqsDnrG';
const clientSecret = 'IPRqEI2iSQhmUP6NGQcPNKCs7JQCJrpFUG0qDmLx4Yx2spd3caXnC3o';
Shake.setInvokeShakeOnScreenshot(true);
Shake.setInvokeShakeOnShakeDeviceEvent(true);
Shake.setShowFloatingReportButton(true);
Shake.setAutoVideoRecording(true);
Shake.setEmailField('test@shakebugs.com');
Shake.setShowIntroMessage(true);
Shake.setSensitiveDataRedactionEnabled(true);
Shake.start(clientId, clientSecret);
Shake.setConsoleLogsEnabled(true);
runApp(Home());
}