killswitch 1.0.2 killswitch: ^1.0.2 copied to clipboard
Killswitch that listens to a URL and will kill the app if the URL returns a bad status code. You can also whitelist an app via a different status code.
Flutter package: killswitch
🔐 #
Remotely turn your app on/off even after you no longer have access to its code.
Documentation is found largely in the package itself via doc-comments. This is useful after you get started.
In the meantime, here's a small taste showing how simple the package is to use (wrap high-up in your widget tree in main.dart
):
Killswitch(
killWhitelistAndIgnoreSourceUrl: "https://example.com/killswitch", // <-- your control URL
child: ...
);