Skip to content

ohjs88/flutter_screen_recording

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_screen_recording

A new Flutter plugin for record the screen.

Getting Started

This plugin can be used for record the screen on android and iOS devices.

  1. For start the recording
FlutterScreenRecording.startRecordScreen;
  1. For stop the recording
FlutterScreenRecording.stopRecordScreen;

Android

We use the library HBRecorder for record the screen in android you need to install the lib in your android app. Adding the library to your project:

Add the following in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }	    
    }
}

Implement library in your app level build.gradle:

dependencies {
    implementation 'com.github.HBiSoft:HBRecorder:0.1.4'
}

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

That's it `HBRecorder` is now ready to be used.

iOS

You only need add the permission message on the Info.plist

<key>NSPhotoLibraryUsageDescription</key>
<string>Save video in gallery</string>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 30.4%
  • Kotlin 29.1%
  • Dart 23.2%
  • Ruby 15.1%
  • Objective-C 2.2%