Skip to content

ch-apptitude/flutter_screen_recording

 
 

Repository files navigation

flutter_screen_recording

A new Flutter plugin for record the screen. 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.

  1. For start the recording
bool started = FlutterScreenRecording.startRecordScreen(videoName);

Or

bool started = FlutterScreenRecording.startRecordScreenAndAudio(videoName);
  1. For stop the recording
String path = FlutterScreenRecording.stopRecordScreen;

Android

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" />

In the last Android version is requiered use a foreground service for record the screen, we added the flutter foreground plugin.

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>

WEB

Just use it

About

A new Flutter plugin for record the screen.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 38.0%
  • Kotlin 33.5%
  • Swift 14.7%
  • Java 5.8%
  • Ruby 4.5%
  • HTML 2.5%
  • Objective-C 1.0%