apptex_screen_recording 0.0.1
apptex_screen_recording: ^0.0.1 copied to clipboard
Flutter package from apptexsolution team to record screen and return path of the output file.
This Package will give you a unique system, which is very simple in implementation. This plug-in requires Android SDK 21+ and iOS 10+
Getting started #
This plugin can be used for record the screen on Android and iOS devices.
- For start the recording including microphone audio
bool started = ApptexScreenRecording.startRecording(videoName,recordAudio:true);
- For start the recording without audio
bool started = ApptexScreenRecording.startRecording(videoName,recordAudio:false);
- For stop the recording
String path = FlutterScreenRecording.stopRecording;
Setup #
Android #
ApptexScreenRecording 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" />
iOS #
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>