0 purchases
device screen recorder
device_screen_recorder #
A Flutter plugin for record the screen based on HBRecorder. This plug-in requires Android SDK 21+
Donnations
Getting Started #
This plugin can be used for record the screen on Android and iOS devices.
Start the recording:
bool started = DeviceScreenRecorder.startRecordScreen(name: 'example');
copied to clipboard
Or
bool started = DeviceScreenRecorder.startRecordScreen();
copied to clipboard
Stop the recording:
String path = DeviceScreenRecorder.stopRecordScreen();
copied to clipboard
Android #
Require 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" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
copied to clipboard
Add the following in your root build.gradle at the end of repositories:
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
copied to clipboard
Implement library in your app level build.gradle:
dependencies {
implementation 'com.github.HBiSoft:HBRecorder:2.0.0'
}
copied to clipboard
iOS #
In progress
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.