0 purchases
prevent screen recording
Prevent Screen Recording iOS
Flutter plugin that allows you to detect mobile recording and execute callback functions on iOS 🚀
Usage •
Issues and Feedback •
Author •
License
Feedback welcome and Pull Requests are most welcome!
Usage #
Import the package #
To use this plugin, follow the plugin installation instructions.
Use the plugin #
Add the following import to your Dart code:
import 'package:prevent_screen_recording/prevent_screen_recording.dart';
copied to clipboard
Initialize PreventScreenRecording with the scopes you want:
PreventScreenRecording preventScreenRecording = PreventScreenRecording();
copied to clipboard
addListner #
Then invoke addListner method of PreventScreenRecording.
Add custom functions that you want to excute after detect recording. e.g:
preventScreenRecording.addListner(() {
//Void funtions are implemented
print('detect recording...');
});
copied to clipboard
dispose #
You need to call dispose method to terminate PreventScreenRecording before you exit the app e.g:
preventScreenRecording.dispose();
copied to clipboard
Issues and Feedback #
Please file issues to send feedback or report a bug. Thank you !
Author #
Birbal Jaat • [email protected]
License #
MIT
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.