butterfly_sdk_flutter_plugin 1.0.1
butterfly_sdk_flutter_plugin: ^1.0.1 copied to clipboard
A plugin for The Butterfly SDK (iOS + Android) that allows you use it in yout Flutter mobile app.
The Butterfly SDK for Flutter #
The Butterfly SDK helps your app to take an active part in the fight against domestic violence.
Installation #
🔌 & ▶️ #
Install via pub.dev #
butterfly_sdk_flutter_plugin: ^1.0.1
Usage #
To recognize your app in TheButterflySDK servers you'll need an application key. You can set it via code, as demonstrated here.
Example in Dart #
// Whenever you wish to open our screen, simply call:
ButterflySdk.openReporter(withKey: "your API key");
Integration test #
How?
You can verify your application key by simply running the plugin in DEBUG mode. This will skip the part where the report is being sent to real support centers, our severs will ignore it and will only verify the API key. Eventually you'll get success / failure result.