Plugin.Maui.ScreenRecording
Plugin.Maui.ScreenRecording copied to clipboard
On Android crashes when screen recording starts
On Android, app crashes when we try to record screen for the second time. This problem occurs specifically when using this package from the NuGet package manager. Surprisingly, if the same package is directly included in the project, screen recording works as expected.
Sample project: ScreenRecordingAndroidCrashSample Steps to Reproduce:
- Click
Start Recording - Wait a few second and then click
Stop Recording - Click again
Start Recording - App crashes, throwing a Java.Lang.IllegalStateException.
@rdurish This is the same case in my project as well..
I am currently using a customized version for my app (with different times to ask for permissions, etc). So as @sileski reported I don't see the crash.
@jfversluis any ideas?
@rdurish I'm currently checking this issue, because I fixed it long ago #14
@jfversluis For some reason if you install the Nuget package you will get the error message but just in that case, if you clone the repository and added as a reference project and try to record a second video, it works properly, you think it was something that missing on the build release?? we can check this together whenever you want...
I think that was never released, whoops. It should be in 1.0.0-preview3 now so please try that!