shake_flutter 17.0.1 shake_flutter: ^17.0.1 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.
Shake Flutter SDK #
Flutter plugin for bug reporting.
Features #
Feature | Available |
---|---|
Bug reporting | ✅ |
Crash reporting | ❌ |
Users | ✅ |
Requirements #
Platform | Version |
---|---|
Flutter | 1.12 |
Android | 7.0 |
iOS | 12.0 |
How to use #
Install Shake #
Add Shake to your pubspec.yaml
file.
dependencies:
shake_flutter: ^17.0.1
Install package by running command in terminal.
flutter packages get
Start Shake #
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.