kidd3166 9a877f1dcd 1.4 update | 2 years ago | |
---|---|---|
.. | ||
.gradle | 3 years ago | |
android | 2 years ago | |
example | 3 years ago | |
ios | 3 years ago | |
lib | 3 years ago | |
.gitignore | 3 years ago | |
.metadata | 3 years ago | |
CHANGELOG.md | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
pubspec.yaml | 2 years ago |
A new Flutter plugin for record the screen. This plug-in requires Android SDK 21+ and iOS 10+
This plugin can be used for record the screen on Android and iOS devices.
1) For start the recording
bool started = FlutterScreenRecording.startRecordScreen(videoName);
Or
bool started = FlutterScreenRecording.startRecordScreenAndAudio(videoName);
2) For stop the recording
String path = FlutterScreenRecording.stopRecordScreen;
Flutter_Screen_Recorder do not request permissions necessary. You can use Permission_handler, a permissions plugin for Flutter. Require and add the following permissions in your manifest:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
You only need add the permission message on the Info.plist
<key>NSPhotoLibraryUsageDescription</key>
<string>Save video in gallery</string>
<key>NSMicrophoneUsageDescription</key>
<string>Save audio in video</string>