@capgo/capacitor-screen-recorder v8.1.3
capacitor-screen-recorder
Record device's screen
Install
npm install @capgo/capacitor-screen-recorder
npx cap sync
IOS
add NSPhotoLibraryUsageDescription in your info.plist
Android
increase project's minSdk version to 23, it's required by the dependency scrcast
Variables
This plugin will use the following project variables (defined in your app's variables.gradle
file):
$kotlinVersion
version oforg.jetbrains.kotlin:kotlin-stdlib-jdk7
(default:1.7.21
)
If you have compilation issue Duplicate class androidx.lifecycle.ViewModelLazy
i found in this the solution who worked for me:
https://stackoverflow.com/questions/73406969/duplicate-class-androidx-lifecycle-viewmodellazy-found-in-modules-lifecycle-view
Add this
configurations {
all {
exclude group: 'androidx.lifecycle', module: 'lifecycle-runtime-ktx'
exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx'
}
}
an
line 2 in file android/app/build.gradle
Configuration
No configuration required for this plugin.
API
start()
start() => any
start the recording
Returns: any
stop()
stop() => any
stop the recording
Returns: any
4 days ago
4 days ago
10 days ago
10 days ago
6 months ago
7 months ago
9 months ago
9 months ago
7 months ago
9 months ago
10 months ago
10 months ago
10 months ago
1 year ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
12 months ago
12 months ago
12 months ago
12 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago