https://github.com/utsavll0/flutter_screen_recording
https://github.com/utsavll0/flutter_screen_recording
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/utsavll0/flutter_screen_recording
- Owner: utsavll0
- Created: 2022-11-24T11:38:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-24T11:41:04.000Z (over 3 years ago)
- Last Synced: 2025-01-11T03:19:42.573Z (over 1 year ago)
- Language: Dart
- Size: 674 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```dart
bool started = FlutterScreenRecording.startRecordScreen(videoName);
```
Or
```dart
bool started = FlutterScreenRecording.startRecordScreenAndAudio(videoName);
```
2. For stop the recording
```dart
String path = FlutterScreenRecording.stopRecordScreen;
```
## Android
Flutter_Screen_Recorder do not request permissions necessary. You can use [Permission_handler](https://pub.dev/packages/permission_handler), a permissions plugin for Flutter.
Require and add the following permissions in your manifest:
```java
```
In the last Android version is requiered use a foreground service for record the screen, we added the [flutter foreground plugin](https://pub.dev/packages/flutter_foreground_plugin).
## iOS
You only need add the permission message on the Info.plist
NSPhotoLibraryUsageDescription
Save video in gallery
NSMicrophoneUsageDescription
Save audio in video
## WEB
Just use it